- This topic has 5 replies, 3 voices, and was last updated 14 years, 9 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Adding product thumbs next to item titles in shopping cart list
Tagged: NextGen Gallery, shopping cart, WP eStore
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?
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.
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.
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.
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.”></IMG> but I think that it is wrong because I haven’t insert this array voice in the session.
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)