Remove Featured Image (only) from Storefront Single Product Page
-
I currently have products with x10 images, 1 featured and 9 ‘attached’ in the gallery. This works great, I get the out-of-the-box storefront zoom-able gallery. Snazzy.
What I would like to do is remove / hide the Featured Product image. And show the ‘attached’ / gallery images only. Essentially replace the Featured Image (on load) with the second image in the array.
I found references online, but they don’t seem to work. Perhaps storefront uses new hooks-
remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20 ); add_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_thumbnails', 20 );
Any help most welcome. Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Remove Featured Image (only) from Storefront Single Product Page’ is closed to new replies.