Skip Navigation

[Resolved] woo grid with second image of product (not featured)

This support ticket is created 6 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 1.66 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 4 replies, has 2 voices.

Last updated by Ido Angel 6 years, 8 months ago.

Assisted by: Christian Cox.

Author
Posts
#624049

hey,

take a look:

hidden link

the grid is toolset, but based on the html of the theme, because i want the images to swap from featured image to secondary image. but i can't find the secondary image shortcode in toolset.

ideas?

thanks!
ido

#624086

I'm not sure, "secondary image" isn't a standard feature provided by WooCommerce. Looks like it is a feature of the VG iFoody theme. If the theme offers a shortcode to access the secondary image, you may be able to insert it into a View or Content Template, but I didn't see any information about it in their docs here:
hidden link
You could try to look through their product gallery template files to see how they access the secondary image, but I think their support team would be the best source of information about it. Let me know what you find.

#624103

hey,
it is woocommerce, it’s all the images from the product gallery.
the only way to call the gallery in toolset is in attachment to the featured image. i was wondering if there’s a short code for these images separately.
thx!
ido

#624318

No, unfortunately we don't offer a shortcode that gives you the ability to display a specific image from the product image gallery. I'm not sure if that's offered by WooCommerce either, it might require a custom shortcode. I know that WooCommerce stores the IDs of all the product gallery images as a custom hidden field "_product_image_gallery" in the postmeta table. You could use that list to get the 2nd ID, then use that ID to get the image URL.

#624344

didn't work, but what i did was just add a custom field "second image" and place the image i want there, and now i can call it. works 🙂
cheers!