Linux 软件免费装
Banner图

Flexa Extra – Product Options, Variation Swatches & Pricing for WooCommerce

开发者 flexatech
更新时间 2026年9月16日 23:16
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce dynamic pricing product options variation swatches product badges

下载

1.4.0 1.4.1 1.4.3 1.5.0 1.6.0 1.9.0 1.0.1 1.1.0 1.1.1 1.3.0

详情介绍:

Flexa Extra lets you attach extra option fields to WooCommerce products so shoppers can personalize what they buy and you can charge for it. Build an Option Set once, assign it to products (all, a hand-picked list, or by category/tag/price/stock conditions), and the fields appear on the product page with live price updates. Every price is recomputed on the server from your saved field definitions when the product is added to the cart (a client-submitted price is never trusted), so the amount a shopper pays always matches what you configured. 📌 DEMO Field types (free) Pricing Inventory Templates Assignment & logic Store insights Variation swatches Product badges Headless & integrations Cart Display & accessibility

安装:

  1. Upload the plugin to /wp-content/plugins/flexa-extra or install it through the Plugins screen.
  2. Activate it. WooCommerce must be active.
  3. On activation a short quick-start guide points you at the template gallery so you can build your first Option Set in a couple of minutes. It is skippable, and you can replay it later from Advanced settings.
  4. Open Flexa Extra in the admin menu to configure settings and build Option Sets.

屏幕截图:

  • Add-ons that charge automatically: per-option fees, a colour dropdown, and a date picker on the product page.
  • One option set reused across products: the same gift options assigned wherever you need them.
  • Build option sets by drag and drop: pick a field from the palette, drop it in, and configure it in the inspector.
  • Conditional fees and discounts: apply a fixed or percentage amount when the shopper's selections match your rules.
  • Decide where each set applies: all products, a hand-picked list, or by category, tag, price and stock conditions.
  • Control what shoppers see: toggle the extra subtotal, total price, itemized breakdown, and mini-cart values.
  • Start from a ready-made template: six starters you can edit before turning the set on.
  • Variation swatches on the product page: colour, image and button swatches replace the attribute dropdowns.
  • Set up variation swatches in the admin: give each attribute term a colour, image or button style, with tabs for Swatches, Settings and Analytics.
  • Pricing dashboard: net impact, applications and average per order, tracked day by day.
  • Pricing simulator: test any product against every rule and see exactly why each one fired.
  • Start from a ready-made pricing rule: pick a template, adjust it, and activate.
  • Every pricing rule in one place: drag to set priority, filter by type, and import or export.
  • Activity log: a full audit trail of who changed which rule, and when.
  • Pricing settings: control how rules stack, the discount base, and how prices are displayed.

升级注意事项:

1.5.0 Adds an optional deactivation feedback survey on the Plugins screen (anonymous, non-blocking, and disableable with a filter). See the External services section. No breaking changes. 1.4.3 Adds a Swatch Analytics tab showing which variation attribute values sell, read from your existing orders. No breaking changes. 1.4.2 Cosmetic update: the Variation Swatches settings screen now uses the same tabbed layout as Product Options. No functional changes. 1.4.1 Packaging-only update: the download no longer bundles the admin build source (now on GitHub), making the zip smaller. No functional changes. 1.4.0 Adds variation swatches for variable products (colour/image/button) with a new admin screen to assign colours and images to attribute terms. No breaking changes. 1.3.0 Adds three more import sources: WooCommerce Product Add-Ons, Acowebs "Custom Product Addons", and YITH WooCommerce Product Add-Ons (free). No breaking changes. 1.2.1 The Import screen now lists only the plugins that actually have option sets to import, instead of every supported plugin. No breaking changes. 1.2.0 Adds formula prices (safe arithmetic over base, quantity and other fields), custom-styled checkbox/radio/colour controls, a localized calendar for the date field (with earliest/latest and blocked dates), and per-field CSS class hooks. No breaking changes; stored values are unchanged. 1.1.1 Fixes the YayExtra importer, which previously brought nothing over and ignored product assignment. Recommended if you import from YayExtra. 1.1.0 Big feature release: import from YayExtra/ThemeHigh, analytics, headless read API, a Gutenberg block, live builder preview, conditional fees/discounts, per-option stock, and more. No breaking changes. 1.0.1 Hardens swatch image output against CSS injection. Recommended update. 1.0.0 Initial release.

常见问题:

Does it require WooCommerce?

Yes. Flexa Extra stays inactive (with an admin notice) until WooCommerce is active.

Can a customer tamper with the surcharge?

No. The extra price is recomputed server-side from your stored option definitions on add-to-cart and on every cart totals pass; the posted values are sanitized against the field schema.

Is it compatible with High-Performance Order Storage (HPOS)?

Yes. The plugin declares HPOS compatibility.

Can developers extend it?

Yes, see docs/HOOKS.md for the available actions and filters.

Can I style individual fields with my own CSS?

Yes. Each field is wrapped in a <div> with class hooks: flexa-extra-field on every wrapper, flexa-extra-field--<type> for all fields of a type, and flexa-extra-field--id-<field_id> for one specific field (plus data-field-id and data-field-type attributes). You can also add your own class per field in the builder: select the field and fill the "CSS class" box in the Inspector. See docs/HOOKS.md for examples.

Can I import from another options plugin?

Yes. The Import screen reads option sets from YayExtra, ThemeHigh "Extra Product Options" (free), WooCommerce Product Add-Ons, Acowebs "Custom Product Addons for WooCommerce", and YITH WooCommerce Product Add-Ons (free), and re-creates them in Flexa Extra, switched off. They appear in the Option Sets list for review; the storefront ignores them until you turn each one on. Field types, per-option prices, swatches and product assignment are mapped where an equivalent exists; anything that cannot be mapped 1:1 is listed per set so you can re-create it. Keep the source plugin active during the import so its data is readable.

Can I use it with a headless or decoupled front end?

Yes. Two open, read-only REST routes (/wp-json/flexa-extra/v1/public/config and /public/product/{id}) return the option sets, prices, and logic a front end needs to render the configurator and compute the live subtotal. They expose only what the on-page configurator already ships, and you can close the API with the flexa_extra/public_api/enabled filter. Add-to-cart and the final price are always recomputed server-side.

How do the variation swatches work, and what are the limits?

On a variable product, Flexa Extra can replace each attribute dropdown with colour, image or button swatches. It hides the native <select> but keeps it as the source of truth, so clicking a swatch uses WooCommerce's own variation logic for price, stock and the product gallery. Assign colours/images per attribute term under Flexa Extra → Variation Swatches. It works only with global attributes (pa_*) that have terms; custom product-level attributes have no term to attach to. If a dedicated swatches plugin (for example Woo Variation Swatches) is active, Flexa Extra defers to it automatically to avoid rendering swatches twice.

更新日志:

1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.3 1.4.2 1.4.1 1.4.0 1.3.0 1.2.1 1.2.0 1.1.1 1.1.0 1.0.1 1.0.0