I'm using WP eStore with NextGen Gallery to sell products and I'm wondering if there is a simple way to throw sized down thumbs next to product titles in the viewable shopping cart?
Adding product thumbs next to item titles in shopping cart list
(6 posts) (3 voices)-
Posted 2 years ago #
-
Do you want to display the thumb sized image of the image thats displayed in the NextGen Gallery or a thumb sized image that you have specified in the "Additional Product Description" section of the product? If you want the later one then it should be pretty easy to do.
Posted 2 years ago # -
Well, whatever the image is already in the Gallery as they actually are purchasing prints of the image, but whatever is easiest for you if you're willing to help, even if I have to do extra work... I'd be very grateful and hopefully this is just adding value and capabilities for other WP eStore users.
Posted 2 years ago # -
using a thumbnail image specified in the "Additional Product Details" field is easier as you have access to this information.
You can add a new column for the image thumbnail or add it in the "Product Name" column. You will have to add the URL of the image in the 'eStore_cart' session variable when the product is added to the cart. Then you will be able to embed the image in the cart next to the item details when displaying the shopping cart.
Posted 2 years ago # -
Please, how could I add the eStore image thumbnail in the cart session?
I found the right line in which insert the IMG tag, but I'm not able (due to my poor programming knowledge) to recall the product "thumbnail_url".I tried <IMG src='".$item['thumbnail_url']."></IMG> but I think that it is wrong because I haven't insert this array voice in the session.
Posted 2 years ago # -
To add it to the cart session look under the piece of code that gets executed when an "Add to Cart" button is clicked. Search for the following bit of code:
if ($_POST['addcart_eStore'])
Posted 2 years ago #
Reply
You must log in to post.