| 开发者 | alvaroalon96 |
|---|---|
| 更新时间 | 2026年11月15日 02:00 |
| PHP版本: | 8.2 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
docs/hooks.md).Yes, that is its main purpose. Extras are shown by a native inner block of the Checkout block and totals are recalculated through the Store API, without reloading the page.
Yes. The same extras, prices and rules work in the classic checkout with no extra configuration.
Go to WooCommerce > Extrova, click Add extra, choose the Checkbox type, name it "Gift wrapping" and set a price. You can add a Text extra for the gift message too.
Create an extra of type Tip, choose your percentage presets and, if you want, allow a custom amount with a maximum.
No. The browser only sends which extra and which option was chosen. Prices are always calculated on your server from your settings, and custom tips are limited to the minimum and maximum you set.
Each extra can be taxable with any tax class. If your store enters prices including tax, the extra is treated the same way: a €1.99 gift wrap costs exactly €1.99 to the customer, tax included. Tips are not taxable by default.
On the cart subtotal before coupons, excluding tax by default (so a 10 % tip on a €12.10 product with 21 % VAT included is €1.00). You can switch the base to the subtotal including tax in the Settings tab.
Yes. A required extra blocks the order until the customer answers, with an accessible error message. The check is also done on the server when the order is placed, so an order cannot be created without it. How express payment buttons (Apple Pay, Google Pay) react depends on each payment gateway.
On the order screen (with or without HPOS), in the order emails, in My account and on the order confirmation page.
No. Paid extras are never checked by default, as required by EU consumer law. The customer always chooses them.
Yes. It is included in WordPress personal data exports and erased when WooCommerce removes personal data from orders.
Nothing is deleted unless you enable "Delete the plugin settings when it is uninstalled" in the Settings tab. Order fees and order data are never deleted because they are part of your accounting records.
No. There is no tracking and no external request.
Yes. There are PHP and JavaScript hooks to register new extra types, pricing methods, rule conditions, goals and admin settings. See docs/hooks.md in the plugin folder.