FAQ
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Does it require WooCommerce?
Section titled “Does it require WooCommerce?”Yes. Add-Ons extends WooCommerce products and does nothing without it active. WooCommerce is declared as a required plugin.
What field types are available?
Section titled “What field types are available?”Three: a plain text input, a checkbox, and a select drop-down. You define them per product in the Add-Ons tab of the product editor. Any other type is rejected on save.
Where do customers see the options?
Section titled “Where do customers see the options?”On the single product page, just above the Add to cart button (rendered on woocommerce_before_add_to_cart_button). The selections then show in the cart, at checkout, and on the order the store receives.
Can an option be free?
Section titled “Can an option be free?”Yes. Leave the price blank for a free option such as an engraving message or a gift note. The choice is still recorded and carried through to the order.
How is the extra price applied?
Section titled “How is the extra price applied?”Each paid option’s price is added to the product’s cart line total automatically, recalculated on woocommerce_before_calculate_totals. For a select field, each choice can carry its own price, and the chosen choice’s price overrides the row price.
Can a price be negative, to give a discount?
Section titled “Can a price be negative, to give a discount?”No. A price is always a surcharge. A negative value entered on a row or select choice is clamped to zero on save, so an add-on can never push a line below its base price.
Are required fields enforced?
Section titled “Are required fields enforced?”Yes. A field marked required must be filled before the product is added to the cart, checked through WooCommerce’s woocommerce_add_to_cart_validation. If it is empty, the product is not added and the shopper sees a notice naming the field.
Does it work on variable products?
Section titled “Does it work on variable products?”The Add-Ons tab appears on simple and variable products, and the fields render on the product form. The free edition does not store a per-variation selection, the add-ons belong to the product as a whole.
Does it create custom database tables?
Section titled “Does it create custom database tables?”No. Add-on definitions are stored as the _addons_definitions product meta, and the display settings as the addons_settings option.
What happens to my fields if I remove the plugin?
Section titled “What happens to my fields if I remove the plugin?”Uninstalling removes the plugin’s own options (addons_settings and addons_db_version). Your per-product field definitions are kept as product meta on purpose, so re-installing Add-Ons restores the configured products.
Can I show or hide the option prices and the required asterisk?
Section titled “Can I show or hide the option prices and the required asterisk?”Yes, on the WooCommerce → Add-Ons settings page. You can also set the group heading, wrap the fields in a bordered card, and switch the whole feature off with Enable add-ons without deleting any product’s options.
Are the fields accessible?
Section titled “Are the fields accessible?”Each field has a real <label>, required fields carry the required attribute and an abbr asterisk, and inputs have visible focus-visible rings. The admin ”?” help buttons use the native HTML Popover API, focus handling, light-dismiss and Escape-to-close come from the browser, no JavaScript. Dark-mode colours and prefers-reduced-motion are handled in CSS.
Can I change how the fields look?
Section titled “Can I change how the fields look?”Yes, from your theme stylesheet. The storefront styles expose --addons-* CSS custom properties (gap, radius, border, surface, accent), so you can re-theme without overriding markup. The accent inherits your theme’s primary colour where one is exposed.
Is there a shortcode?
Section titled “Is there a shortcode?”Add-Ons has no shortcode of its own, the fields appear automatically on the product form. They are also styled correctly when a product form is placed with WooCommerce’s [product_page] shortcode on an arbitrary page.
What does the Pro edition add?
Section titled “What does the Pro edition add?”Add-Ons Pro ships conditional logic, showing or hiding fields based on earlier answers, and file uploads. See Add-Ons Pro.