Post by andrewuk » Fri May 12, 2017 7:23 am

Is there a way to edit the wishlist.tpl file and any assosiated files to enable adding product options to your wishlist the same way as when you add products to cart?

Newbie

Posts

Joined
Fri May 12, 2017 7:06 am

Post by IP_CAM » Fri May 12, 2017 7:49 am

No, Sir, an Option Value is always 'tied' to a Product, and can therefore
not be 'handled' like an 'individual' THING, such as a product.
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by andrewuk » Sat May 13, 2017 2:13 am

Perhaps I didn't explain,very well, what I wanted to achieve. I'll try again.
When you add a product to your cart, if there any selectable options, for instance a size, when you add this product to your cart and then view your cart the selected size would show up under the product name. I want to have the same thing happen when adding a product to the wishlist i.e. if I have selected a size for the product and then add the product to my wishlist then view the wishlist the size would show up under the product name.
Hopefully this better explains what I am trying to achieve.

Newbie

Posts

Joined
Fri May 12, 2017 7:06 am

Post by IP_CAM » Sun May 14, 2017 2:15 am

ok, I understand.
If you check your theme/template/product/product.tpl file,
you will find 2 Sections, totally containing about 60 Code lines, related to
display the Product options. And in your catalog/controller/product/product.php file,
there are another about 50 Code-Lines, related to displaying Product options. And also
the corresponding Product Language file contains some lines, belonging to this.
---
This means, that all this code needs to be 'matched' and implemented into the corresponding
wishlist.tpl and wishlist.php files, to make the Option Content visible there as well.
Or at least, I assume, that it could be made to work this way !
So, either you can do it on yourselfs, or then, you'll require Pro Assistance.
Good Luck ;)
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 144 guests