- This topic has 6 replies, 3 voices, and was last updated 10 years, 6 months ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 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 › Get checkout thumbnail from post thumbnail or custom field (using ACF)?
I am trying to simplify client life a little, is it possible to be able to aumatically get the thumbnail in the checkout page maybe from the page image or the page post thumbnail?
Thanks
What is the overall effect you are trying to accomplish? If you look at the eStore demo page, there is a cart format that already displays product thumbnails:
http://www.tipsandtricks-hq.com/ecommerce/wordpress-estore-plugin-demo-175#wp_cart_anchor
Yes I am aware of that.
What I mean is when we use: [wp_eStore_cart_with_thumbnail] with the extra shortcodes.
I understand in the product page editor we can insert the URL of the Thumb, I was wondering if that thumbnail was something we could get from the product page itself where we use that shortcode.
e.g.
Product page:
1: create the product
2: create a page and add images to the page and a post-thumbnail
3: insert [wp_eStore_add_to_cart id=1]
4: Pubblish
Custom checkout page
1: create a page
2: insert [wp_eStore_cart_with_thumbnail]
3: Publish
Result I would like to have:
Custom checkout page displays the product in the cart wityh a thumbnail. The thumbnail is taken from the post_thumbnail of the product page (or a custom field in the product page) instead of having to copy and paste the thumb url and place it in the product admin of your plugin.
Literally to be able to auto generate the checkout product thumbnail dynamically from the product page.
Hi, any help on this?
Thank you
What you are trying to do is bypass the information that could already be contained, or placed, in the product database?
I would like not to rely on copying a link into the thumbnail URL input field in the admin product of your plugin. I would like to get that thumbnail from the actual product page post_thumbnail
We don’t have an option to do what you suggested. If you are a PHP developer then you can customize the code yourself to achieve that. Are you a PHP developer?