Skip Navigation

[Resolved] woocommerce shop images link to product page rather than lightbox

This support ticket is created 5 years 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.

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)

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by hyukP 5 years ago.

Assisted by: Shane.

Author
Posts
#1381161
GB-Woocommerce-image shortcode.jpg
GB-Woocommerce-image selection.jpg

Tell us what you are trying to do?
Link woocommerce shop images to product page rather than lightbox image

Is there any documentation that you are following?
Haven't found any.

Is there a similar example that we can see?
None available

What is the link to your site?
hidden link

I've set up a view using the Layout plugin. The only selection I can see is Product Image.
Is there a work-around to show the image but link to the product's page?

#1381381

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for getting in touch.

You can do it like this


<a href="[wpv-post-url]">[wpv-woo-product-image size='shop_single' output='img_tag' enable_third_party_filters='no' gallery_on_listings='no']</a>



Please try this and let me know if it helps.
Thanks,
Shane

#1382679

Nope. It didn't work.

I also tried:
[wpv-woo-product-image]

Still it linked to the image.

I have your code in there now if you want to try it.
hidden link

#1382695

My issue is resolved now. Thank you!