| 开发者 | softminal |
|---|---|
| 更新时间 | 2026年9月1日 11:28 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
{remaining} — Amount still needed to reach the goal.{percent} — Percentage of goal reached (0–100).{reward} — The configured reward label.{goal} — The goal amount with currency symbol.{total} — Current cart subtotal with currency symbol.prefers-color-scheme: dark automatically. You can also configure custom dark mode colors for the bar, track, and text.
RTL Support
Full right-to-left language support with auto-detection or manual override (LTR / RTL).
Currency Formatting
Configure the currency symbol position (before/after), decimal places (0–2), and thousand separator (comma, dot, space, or none) independently from your eCommerce platform.
Smart Cart Rules
Control exactly which cart items count toward the reward goal — so the bar never promises a reward the store doesn't intend to give:
role="progressbar", aria-valuenow, aria-valuemin, aria-valuemax, aria-label) so it is fully usable by screen readers and assistive technologies. Animations respect prefers-reduced-motion.
Shortcode
Place the bar anywhere using the [cbpb_bar] shortcode. Works with the Block Editor (Gutenberg), Elementor, Divi, Bricks, and any other page builder that supports shortcodes.
Developer Friendly
wp_options.cbpb_* options are removed on plugin deletion.!important.CartBoostPB\) with PSR-4 autoloading.softminal-cart-reward-progress-bar/v1 with capability-based permission checks.resources/) and build tooling (package.json, vite.config.js, build.sh) are available in the public development repository: https://github.com/softminal/softminal-cart-boost-progress-barcbpb_subtotal (adjust the subtotal that drives goal progress — e.g. for multi-currency conversion), cbpb_reward_tiers (modify reward tiers at runtime — e.g. convert tier amounts into the visitor's currency), and cbpb_apply_rewards (control whether rewards are applied to the cart, for display-only mode).softminal-cart-reward-progress-bar folder to /wp-content/plugins/ on your server.Yes. Softminal Cart Reward Progress Bar fully supports both the classic cart/checkout shortcodes and the newer block-based cart and checkout pages. The progress bar updates in real time in both setups.
Yes. You can change the bar color, background color, text color, and messages for each state (empty cart, in-progress, goal reached). Messages support dynamic placeholders such as {remaining}, {goal}, {percent}, {reward}, and {total}.
Softminal Cart Reward Progress Bar auto-detects which eCommerce plugin is active (WooCommerce, SureCart, or FluentCart) and uses the appropriate adapter. You can also manually select the platform in the settings.
No. Softminal Cart Reward Progress Bar is lightweight and loads minimal CSS and JS only on pages where the bar is displayed. The bar updates via AJAX or platform-native events without full page reloads. No custom database tables are created.
Yes. Softminal Cart Reward Progress Bar declares full compatibility with WooCommerce HPOS.
Use [cbpb_bar] in any post, page, or widget area. The bar will display the current cart progress toward the configured reward goal wherever the shortcode is placed.
Yes. Enable "Mini-Cart" in the Display Locations settings. The bar renders in a compact layout optimized for mini-cart widgets.
No. Softminal Cart Reward Progress Bar does not collect, store, or transmit any personal data. It reads cart totals from your eCommerce platform to calculate progress and stores plugin settings in the WordPress options table. No cookies are set and no external services are contacted.
Not necessarily. Softminal Cart Reward Progress Bar also works with SureCart and FluentCart. You need at least one of these three eCommerce plugins active.
Yes. Under Advanced → Smart Cart Rules you can exclude sale items, restrict the goal to specific product categories, exclude categories entirely, or blocklist individual product IDs. The bar, messages, and reward unlocks all use the filtered subtotal, so shoppers only see progress for items that actually qualify. Category and product rules apply to WooCommerce stores.
Yes. Go to Advanced → Reward Application and turn off Apply rewards to cart. The bar, milestone markers, and messages continue to display and update, but the plugin will not apply any discount, free shipping, or free gift, and it will not modify the cart or order total. Use this when you only want the visual progress bar, or when your store already applies its own discount (for example, a bank-transfer or payment-method discount) and you want to avoid stacking two discounts on the same order.
The bar always displays your platform's active currency symbol. If you use a multi-currency plugin that converts cart prices, use the cbpb_reward_tiers filter to convert each tier's goal amount into the visitor's currency (or the cbpb_subtotal filter to normalize the subtotal). A small code snippet in your theme or a snippets plugin is all that's needed.
Yes. Enable the scheduling option in the Advanced settings and set a start and end date. The bar will only appear within that date range.
No. Softminal Cart Reward Progress Bar is 100% free with all features included. There is no pro tier, no feature gating, and no upsells.
added_to_cart / removed_from_cart events.cbpb_apply_rewards filter to toggle reward application programmatically.cbpb_subtotal filter — adjust the subtotal that drives goal progress (multi-currency, custom eligibility) on all three platforms.cbpb_reward_tiers filter — modify reward tiers at runtime (e.g. convert tier amounts for multi-currency stores).