Zum Inhalt springen

FAQ

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

Yes. Add-Ons extends WooCommerce products and does nothing without it active. WooCommerce is declared as a required plugin.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

Add-Ons Pro ships conditional logic, showing or hiding fields based on earlier answers, and file uploads. See Add-Ons Pro.