Frequently Asked Questions
The extra fields are showing twice on the product page
The WooCommerce 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 in the latest version of the WooCoomerce.
Till version 3.4.0 these hooks were present in the file woocommerce/single-product/add-to-cart/variable.php. So probably the theme or child theme might have overridden the file variable.php and the above-mentioned hooks still may present there, which has to removed if the WooCommerce version is 3.4.0 or later.
Can sections be displayed based on conditions?
Yes. Sections can be displayed based on display rules using ‘WooCommerce Extra Product Options’ plugin. The display rules can be set according to aspects like product, category, product variation and various other field values.
Is it possible to set validations for fields based on a regular expression?
Using the feature ‘custom validators’ in ‘WooCommerce Extra Product Options’ plugin, the field input values can be validated based on a regular expression. The ‘custom validators’ feature also enables you to validate a field input value based on another field value.
Why does it show chinese symbols in a date picker (calendar) field?
You can solve this by adding the below hook to your theme’s functions.php file.
Why is it that I can’t edit some fields in a section in the plugin?
A field cannot be edited anymore once you add double quotes (“) in any attributes of the field while adding or editing it. All you can do is delete the field or create a new field in the same name to override it. Make sure that no double quotes is added in any attributes.