This topic has 3 replies, 2 voices, and was last updated 1 years, 5 months ago ago by Rose Tyler
Right now there is no way within Xstore to hook into the theme to add content after the product image gallery. The default woocommerce hook of woocommerce_product_thumbnails does not work. It would be great if we could have a new action to be able to add content right after the thumbnails.
I realize we can edit the file wp-content/themes/xstore/woocommerce/single-product/product-image.php and register our own action, but that if flawed since it would be overwritten with every Xstore update. Alternatively we could copy the file to our child theme, but again, we would be faced with having to monitor the core file for updates and update our child theme – also not ideal. If you could simply add a new action to this file for the next release, that would be amazing!
Hello, BHI,
Thank you for contacting us and for using XStore!
Please post your request here – https://www.8theme.com/taskboard/ , then our dev team will read it.
If you have any additional questions or concerns, please do not hesitate to reach out to us. Our support team is always available to assist you.
Kind Regards,
8theme team
Hello, BHI,
As a workaround, you can use the next hook
add_action( 'woocommerce_before_single_product_summary', 'my_custom_function_name', 21 );
because WooCommerce uses next action to add product images gallery
add_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20 );
Otherwise, you can contact our partners that provide high-quality customization services → https://codeable.io/?ref=qGTdX
Kind Regards,
8theme team
You must be logged in to reply to this topic.Log in/Sign up