• Hello, I need to display the main product feature image, on the single product pages, 2 times. My product is in pairs, but my product images are singular. So I want to just duplicate the feature image so people see it as a pair, without having to update 300 product images 🙂

    I’m hoping to find a way in functions.php to just make output another copy of the feature image, then I’d use css to alight it where I want.

    I appreciate any help with this

Viewing 1 replies (of 1 total)
  • Use a hook:

    add_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 30 ); 
    

    Code goes in functions.php for your child theme or you can use the “My Custom Functions” plugin.

    Code works for me, your theme nay differ.

Viewing 1 replies (of 1 total)
  • The topic ‘How do I duplicate the feature image on the product page?’ is closed to new replies.