
If your products have multiple images and use the product gallery, you may have encountered issues when trying to add content below the gallery using the usual hook method.
If you’re familiar with WooCommerce customization and Single Product Page hooks, you’ve likely noticed that adding content under the images is no longer possible with the woocommerce_product_thumbnails hook.
This is because WooCommerce now includes a JavaScript-powered product gallery slider and lightbox on the single product page. Previously, the gallery was entirely managed by PHP.
As a result, the script fully replaces the default content, including that hook, making it more challenging to insert additional content.
Here’s a workaround. Be sure to test how it behaves on mobile, as this has only been tested on desktop—you may even want to hide it on smaller screens.
Continue reading WooCommerce: Add Content Below Single Product Gallery