Let me answer your questions one by one.
>> I have added a text field but it is displaying twice on the page?
In the latest version of WooCommerce the hooks (woocommerce_before_add_to_cart_button, woocommerce_after_add_to_cart_button) are moved from the file woocommerce/single-product/add-to-cart/variable.php to woocommerce/templates/single-product/add-to-cart/variation-add-to-cart-button.php.
The version before 3.4.0 these hooks were present in the file woocommerce/single-product/add-to-cart/variable.php. So your theme or child theme might have overridden the file variable.php and these hooks still may present there which has to be removed if the WooCommerce version that you are using is 3.4.0 or later.
>> Also with the pro version can you display the field on product variation?
As per the WordPress forum policy, we can’t answer premium related questions on this forum. Could you please raise a ticket through our website so that our technical team will be able to help you.
Thank you!
We hope your issue is resolved now.
We are going to mark this thread as resolved.
Thank you!
Hi,
I am having the same issue.
I use Divi theme and there are no WooCommerce templates in Divi theme folders.
Is there another option for the fields to display twice?
Thanks