Sauter la navigation

[Résolu] Product

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:

The issue here is that the user had a variable product on his Shop page and can select variations from his shop page , however the corresponding image to that variation is not displayed, only the featured image.

Solution:

The image is being displayed using the [wpv-woo-product-image] shortcode.

I took a look at our documentation for this shortcode.
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-woo-product-image

Unfortunately it doesn't seem to be possible. The featured image will always be displayed unless another image is set.

This support ticket is created Il y a 6 années et 9 mois. 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Marqué : ,

Ce sujet contient 5 réponses, a 2 voix.

Dernière mise à jour par Shane Il y a 6 années et 9 mois.

Assisté par: Shane.

Auteur
Publications
#631257
2018-04-04 15_20_43-.png
2018-04-04 15_20_52-.png

I am trying to: On the main shop page, I need the product images to change when selecting a variation, like on the single product page.

Link to a page where the issue can be seen: lien caché

I expected to see: when selecting a brick color, the product image should change to that variation's image (like on the single product pages)

Instead, I got: Product images do not change to the variation image when selecting a color.

#631261

Also, not sure how i'm meant to send you a login/URL to take a look. There doesn't appear to be a secure notes feature on here, and your access granting thing wants an SFTP login (not keen on giving out) and duplicator package (unavailable) so I didn't submit it.

#631564

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi David,

Thank you for contacting our support forum.

Would it be possible for you to provide me with access to the site as it seems I need to be logged in to view the site.

The private fields have been enabled.

Thanks,
Shane

#632004

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi David,

Just a quick question.

When you use the default shop page that comes with woocommerce, does this work ?

Please let me know.
Thanks,
Shane

#641042

Hmm... I just set up a quick clean install and the default woocommerce functionality is to have a button to go to the product page to choose variations, not to choose them on the shop page.

However, it seems like if Toolset gives the option to choose variations here via the shortcode [wpv-woo-buy-or-select show_quantity_in_button="yes" show_variation_options="yes"] that the product images should change also?

#643340

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi David,

I took a look at our documentation for this shortcode.
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-woo-product-image

Unfortunately it doesn't seem to be possible. The featured image will always be displayed unless another image is set.

Thanks,
Shane