Variation image as Featured Image
-
Hi, really appreciate your help this one…
Is there a way to display an alternate featured image on the woocommerce single product page?
Here’s why I need that:
I’m using OceanWP’s default product archive listing style with a gallery slider so users can cycle through the product’s gallery images. It’s like a preview and is exactly the user experience I want as the product that I’m selling comes in a variety of colors.
When a user selects a product in the shop archive and clicks-through to the single product page though, I need to display the featured image as a mockup of the product. It’s a better user experience because it shows the user the design they already selected on the shop archive page as a product mockup. This helps to visualize and clarify what they’re getting.
So I’ve set the woo product variation images for each colour option to an image of the mockup in the right colour. When the user selects a ‘colour’ option, the woo gallery slider changes accordingly and that’s the right user experience I need. I’ve also disabled the product thumbnail gallery using CSS.
My problem is simply when the user arrives at the single product page, instead of showing the product’s default featured image or any gallery images, show one of the product variation images, which are the mockup images I want to show.
Any ideas on how I can do this?
Thanks a mil for any help ??
The page I need help with: [log in to see the link]
- The topic ‘Variation image as Featured Image’ is closed to new replies.