Linux 软件免费装
Banner图

Phoenix Gift for WooCommerce

开发者 phoenixwp
更新时间 2026年6月22日 20:09
捐献地址: 去捐款
PHP版本: 8.2 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce cart promotion gift free gift

下载

1.0.1 1.0.2 1.0.3

详情介绍:

PhoenixWP Gift adds one free gift line to the cart when your rule is met. The gift price is zero, quantity is locked to 1, and the gift line is sorted to the end of the cart. Free version Gift Pro (annual license at phoenixwp.com): multiple rules, customer gift choice, live progress hint, import/export, and statistics. Activate your license under PhoenixWP Gift → License.

安装:

  1. Upload the plugin folder to /wp-content/plugins/phoenix-gift-for-woocommerce/ or install from the WordPress plugin directory.
  2. Activate the plugin through the Plugins menu.
  3. Ensure WooCommerce is active.
  4. Go to PhoenixWP Gift, enable the rule, choose a gift product, and set your threshold.

屏幕截图:

  • Gift label and threshold options (gross subtotal or minimum item quantity)
  • WooCommerce cart with the free gift line at zero price
  • Mini cart showing the optional gift badge label
  • Cart or Checkout block with the gift line (CSS class hook for theme styling)

升级注意事项:

1.0.3 Freemius upgrade screen shows the annual license price upfront. 1.0.2 Cleaner admin UI and wordpress.org description (no Core references). 1.0.1 wp.org compliance: Pro code removed from free package; dual-build WpOrg/Freemius. 1.0.0 Initial release on WordPress.org.

常见问题:

Where is the gift label shown?

The configurable Gift label badge appears in the mini cart and classic (shortcode) checkout only. It is not shown on the cart page or in the Cart/Checkout blocks, to avoid theme and HTML conflicts.

How do I highlight the gift on the cart page or with Checkout blocks?

The plugin adds the CSS class phoenix-gift-for-woocommerce-cart-item to the gift line (classic cart and blocks). Add custom CSS under Appearance → Customize → Additional CSS. Example for Cart and Checkout blocks: .phoenix-gift-for-woocommerce-cart-item .wc-block-components-product-name::after { content: "Free gift"; display: inline-block; margin-inline-start: 0.35em; padding: 0.1em 0.45em; font-size: 0.75em; font-weight: 600; border-radius: 3px; background: #e8f5e9; color: #2e7d32; } Replace Free gift with your shop wording. This text is fixed in CSS and does not sync with the admin Gift label field. Documentation and support: https://phoenixwp.com/support/ — shorter reference in docs/FAQ.md inside the plugin.

Why is the gift not added to the cart?

Check that the rule is enabled, the gift product is purchasable, and the threshold is met (gross subtotal excluding the gift line, or item quantity excluding the gift).

Does this work with WPML or WooCommerce Multilingual?

The free gift is added by product ID. With WPML (or WooCommerce Multilingual), translate the gift product into every active shop language and keep each translation published and purchasable. If the gift exists only in the default language, customers who switch language on the storefront will usually not see the gift in the cart. Select the gift in Gift settings using the product from your default language; WPML links the translations automatically when they exist.

更新日志:

1.0.3 1.0.2 1.0.1 1.0.0