Additional content/html to single product vatiations group
-
Hi,
I need to add additional content to vatiation group.
F.ex. I need to add information popup to variations Texture color in which I add additional information about quality of different textures https://prnt.sc/-pKMJgbieR32. I can add popup by elementor, and then open popup by clicking in this Read more link (by JS) but I need to add this tekst to vatiation group.
I guess my dev can add additional field to attribute, and then add php file to child theme which is responsible for vatiations/swatches in Woodmart.
Could you recommend the proper way to do it? Which file we need to edit / add to child theme?
Thanks
Hello,
You would better consider using WooCommerce layouts builder https://xtemos.com/docs-topic/single-product-page-builder/
This builder allows inserting you a custom template for the single page.
Best Regards
Hi, thanks for answer but it doesnt resolve my needs.
I know lay builder, but i need additional text/html to variants (my products have few variants https://prnt.sc/twYOE_Bahon8) – so I cannot add additional text/html to each variant by lay builder, I have to modify template which is responsible for vatiations / swatches.
Could you recommend the proper way to do it? Which file we need to edit / add to child theme?
Hello,
You can edit this file as per your needs: woocommerce/single-product/add-to-cart/variable.php
If you have any questions please feel free to contact us.
Best Regards