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
- This topic has 5 replies, 3 voices, and was last updated 15 years, 9 months ago by
amin007.
-
AuthorPosts
-
December 23, 2009 at 10:30 pm #596
Anonymous
InactiveI’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?
December 24, 2009 at 9:06 am #16906amin007
ParticipantDo 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.
December 27, 2009 at 12:00 am #16907Anonymous
InactiveWell, 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.
December 27, 2009 at 3:25 am #16908amin007
Participantusing 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.
February 4, 2010 at 2:31 pm #16909altered_sunset
MemberPlease, 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.
February 6, 2010 at 1:33 am #16910amin007
ParticipantTo 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)
-
AuthorPosts
- You must be logged in to reply to this topic.