Astolfo Posted December 16, 2020 Share Posted December 16, 2020 I'm creating the wishlist module, and need to add id of product which was been selected by user.How I can do this?(I'm using Prestashop 1.7 and hook displayProductPriceBlock) Link to comment Share on other sites More sharing options...
Guest Posted December 16, 2020 Share Posted December 16, 2020 (edited) ????? $id_wishlist = $this->context->cookie->id_wishlist; ... $id_wishlist = (int)$wishlists[0]['id_wishlist']; Edited December 16, 2020 by Guest (see edit history) Link to comment Share on other sites More sharing options...
Astolfo Posted December 16, 2020 Author Share Posted December 16, 2020 I do not understand what caused such a surprise, but can you please explain what is written here and describe in more detail? Thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now