Variation Thumbnail
-
Thanks for a really useful plugin. I have used the code snippet in the FAQ to display the product thumbnail (get_the_post_thumbnail()). This works well, but only shows the main product thumbnail. Is there a code snippet for displaying the variation thumbnail? I have products with variations and some without variations, so the code should work for both.
I tried $variation->get_image_id(); but it crashes…..
I have WC 6.8.2 WCDN 4.6.5
Any ideas on this?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Variation Thumbnail’ is closed to new replies.