Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Linking Product Image To External/Affiliate URL On Single Product Page

Home / Forums / Virtue Theme / Linking Product Image To External/Affiliate URL On Single Product Page

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
July 15, 2016 at 4:34 pm

WooCommerce Installed: On the single product page, I’d like to link the product image to the External/Affiliate URL instead of opening up the image in a lightbox.

I have tried this in a child theme and when I attempt to reference the $product_url variable in my child theme, it doesn’t pull the value of the External URL.

How do I link the product image to the External/Affiliate URL for the single product page so that click the image takes the user to the target product URL? Thanks!

  • The forum ‘Virtue Theme’ is closed to new topics and replies.