| 开发者 | motylanogha |
|---|---|
| 更新时间 | 2026年12月3日 14:59 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.2 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[woocommerce_cart] and [woocommerce_checkout] shortcodes or the Cart and
Checkout blocks. On the blocks the bar sits above the block and updates after
a quantity change, coupon or removal without a page reload.[shiplume] shortcode.role="progressbar" with aria-valuenow/min/max and a
readable text message for screen readers; honours prefers-reduced-motion.--nudge-* CSS custom properties and adapts to dark colour
schemes, so themes can recolour it without editing markup.{amount} token in
either one for the remaining total./wp-content/plugins/shiplume, or install via Plugins > Add New.Yes. Shiplume does nothing until WooCommerce is active.
In Automatic mode, Shiplume reads the minimum order amount from your enabled
WooCommerce free-shipping methods and uses the smallest one across your shipping
zones. In Manual mode you set a fixed amount yourself. If Automatic mode finds no
method with a minimum order amount, it uses the manual amount instead.
A shipping method from another plugin with its own "free from" amount (for
example a carrier method) is not read on its own. That plugin, or a snippet, can
pass its amount to Shiplume through the nudge/method_free_amount filter, which
receives 0.0 and the enabled WC_Shipping_Method and returns the amount. Shiplume
compares it with the cart subtotal after coupons and keeps the smallest amount, as
for WooCommerce free shipping.
Nothing. Rather than render an empty or always-complete bar, Shiplume skips output entirely until there's a real threshold to count down to.
Yes. On a page built with the Cart or Checkout block the bar shows above the block. It reads the same goal and messages as the classic pages and updates when the shopper changes a quantity, applies a coupon or removes an item, without a page reload. The Cart page and Checkout page checkboxes control both kinds of page.
Yes. Tick "Mini-cart widget" to show it in the classic mini-cart widget, above
its buttons; it refreshes with the widget. The [shiplume] shortcode prints the
same bar anywhere a shortcode works. It shows the cart as it is when the page
loads and updates after an add to cart. The Mini-cart block used by block themes
is not covered.
Yes. The progress and success messages are editable on the settings screen, and
the bar's colours and sizing are --nudge-* CSS custom properties your theme can
override.
Yes, with no setting. Below a Sojlo minimum order total, the bar says how much is missing for the minimum and is never shown as complete. While a local pickup method is chosen, including Prenejo's pickup, the bar is hidden on every placement.
Yes. This plugin is compatible with WordPress Multisite. Network activate it or activate it on individual sites; each site keeps its own settings and data.
nudge/method_free_amount filter. Automatic mode can count the "free from" amount of a shipping method that is not WooCommerce Free shipping, such as a carrier method from another plugin.[shiplume] shortcode prints the bar anywhere a shortcode works and updates after an add to cart.{amount} token now works in the success message too, so it no longer reaches shoppers as literal text.nudge/bar_rendered action and data-nudge-placement attribute for PRO analytics beacons.nudge/bar_context filter so PRO can adjust progress, messages and tier markers.nudge/threshold filter and ThresholdResolver::zoneThreshold() for PRO per-zone goals.