Hidden fields added to product page
-
Hi there,
We use this plugin to provide ApplePay payments at the checkout stage only. We don’t use it for credit card, PayPal or anything else – these options have all been disabled. I notice however that the plugin still adds a lot of hidden input fields to the add-to-cart button on all product pages. Is there any way to completely remove these fields? They are not added on the shop archive pages and the add-to-cart button works fine there so I don’t think these are necessary on product pages.
The hidden input fields generated all start with ‘wc_braintree_xx’ – for instance – ‘wc_braintree_cart_currency’. Because we have a floating add-to-cart button on our product pages as well these fields are generated twice with the same IDs, causing Google Chrome to generate warning about every field having a non-unique ID.
We are unable to use the ApplePay Buy Now button on our product pages as our page cache prevents the button from working correctly.
Many thanks,
Gordon
- The topic ‘Hidden fields added to product page’ is closed to new replies.