| 开发者 |
Amr267
freemius |
|---|---|
| 更新时间 | 2026年5月10日 20:21 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
Go to Global Add-Ons > Add-Ons and click Add New Add-On (or Products > Add New and set the product type to Global Add-On). Add variations with prices, then click Manage Rules on the add-on to choose where it appears.
A single add-on is one option at one price. Think of it as a simple yes/no extra, like Gift Wrapping $3. The customer either adds it or skips it. A multi add-on gives the customer a choice between several options, each with its own price. For example, Gift Wrap with Standard $3, Premium $7, or Luxury $10. Both use the same Global Add-On product type. To create a single add-on, set one price and leave the Variations tab empty. To create a multi add-on, add one or more variations with prices in the Variations tab. Use single when you only need a yes/no extra. Use multi when customers benefit from choosing between tiers, styles, or levels. Images: For single add-ons, upload the image using WooCommerce's standard Featured Image box (top-right of the product editor). For multi add-ons, set an image on each variation inside the Variations tab. The image shows automatically on templates that display images (Choice Pills, Simple List, Option Cards, Modern List).
Yes. Free users can assign to all products, specific product categories, or guest users. Pro adds assignments to specific products, product tags, user roles, and individual users.
Conditions inside a single group must all match (AND). If you add more groups, the add-on shows whenever any one group fully matches (OR). For example: Group 1 = guest + Electronics category plus Group 2 = administrator role means the add-on shows to guests browsing Electronics, or to admins on any product. Free supports a single group (AND). Multiple groups (OR logic) require Pro.
Exclusions stop an add-on from appearing on specific products or categories, even when the assignment rules match. This is a Pro feature.
Yes. Each add-on can use either single selection (radio buttons) or multi-select (checkboxes). The Color Swatches and Modern List templates use a fixed selection mode.
Yes. The selected add-on price is added to the line total when the product is added to the cart, and shown clearly in the cart and checkout.
Yes. Global add-ons work with all WooCommerce product types that display a price: simple, variable, grouped, virtual, and downloadable.
Add-ons are optional by default. If you need to enforce a selection, you can do so with custom code in your theme or a small snippet. Let us know and we can point you in the right direction.
You can show add-ons before or after the Add to Cart button, after the product meta, after the short description, or after the full product content. Pick the position per add-on in the display settings when managing rules.
Use the Sort Priority field on each add-on product. Lower numbers appear first. You can also change priority in bulk from the add-ons list.
Color Swatches is a Pro template. Choose it as the display template, then set a Swatch Color on each variation (Variations tab). Variations without a color are hidden on the frontend on purpose. Color variants show even if they have no price.
Tooltips are short notes that appear when a shopper hovers over an add-on option (or taps it on mobile). They help explain what an option is for without cluttering the page. To add a tooltip:
Yes. Go to Global Add-Ons > Settings to set the primary color, price color, border style (sharp, rounded, or pill-shaped), and the label shown next to free add-ons.
No. Both the free and Pro versions let you create unlimited add-on products.
Yes. Global Add-Ons > Settings has an Import/Export section. Export your settings, add-ons, and rules as a JSON file for backup or to move to another site, then import it on the new site.
Nothing. Add-ons are optional. The product can be added to the cart as usual, without any add-on selected.
Visit the Pro checkout page: https://checkout.freemius.com/plugin/22559/plan/37780/ After purchase, you'll receive a license key by email. Activate it from Global Add-Ons > Settings to unlock all Pro features instantly.
Yes. All user-facing strings use WordPress's translation functions. You can translate the plugin with Loco Translate, Poedit, or any other tool that works with .po / .mo files.
Yes. Add-on assignments apply correctly on translated product pages. The plugin normalizes product IDs to the default language before checking rules.
Yes. Add-on prices are applied to the initial subscription and are not double-counted on renewals, resubscribes, or plan switches.
Yes. The add-on interface uses delegated event handlers, so it keeps working when a page builder re-renders the product form over AJAX.
No meaningful impact on your shoppers. Plugin styles and scripts only load on pages that actually show add-ons, and cart-related assets are skipped on the cart and checkout pages when no add-on items are present.
Deactivating the plugin stops add-ons from appearing on the frontend but keeps all your add-ons, rules, and settings in the database, so reactivating restores everything exactly as it was. Uninstalling the plugin removes the plugin files; to fully clean up your stored add-ons and rules, delete them from the admin before uninstalling.
No. Customer information, orders, and add-on content are never sent anywhere. The plugin does connect to a licensing service for activation and updates. See the External Services section below for the full picture.
console.log statements from frontend JS that were firing on every product page load in production--wgpao-tooltip-z-index CSS variable) so tooltips appear above sticky headers. Theme developers can override the variable if neededwgpao_cleanup daily cron event that was scheduled but had no handler, silently appeared as a dead event in cron-monitoring tools on any site that activated the pluginwc_format_decimal() at storage time, respecting your store's decimal settingscurrent_time('timestamp') with time()group_id column to the assignments table; each legacy rule is assigned its own group to auto-restore OR behavior