Sauter la navigation

[Résolu] Woocommerce Product Image Meta Data

This support ticket is created Il y a 6 années et 3 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Ce sujet contient 1 réponse, a 2 voix.

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

Assisté par: Minesh.

Auteur
Publications
#1119960

Hi there,

My question relates to the shortcode [wpv-woo-product-image].

I want to use this shortcode. However I also want to be able to display the image meta data such as "Caption". Is there a function I could use which would add this capability to the shortcode above?

Thanks

Paul

#1120441

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - I checked the shortcode [wpv-woo-product-image] and the product meta such as caption is not supported with this shortcode.
=> https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-woo-product-image

To display product image captions it needs custom code. Please check the following link that may help you:
=> https://stackoverflow.com/questions/29778288/get-woocommerce-product-gallery-image-caption
=> https://wordpress.org/support/topic/woocommerce-display-image-captions-in-single-product-thumbnail-display/
=> lien caché