CartMagic – Dynamic Pricing & Discounts for WooCommerce
Smart discount rules for WooCommerce: percentage, fixed-amount, free shipping, and cart-aware conditions. No coupon spam needed.
Use with caution
CartMagic works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 7 months ago, and scores 45/100 on our health check.
- Small user base (10+ active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where CartMagic stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| discount | >100 |
| dynamic pricing | >100 |
| pricing rules | >100 |
| sale | >100 |
| woocommerce | >100 |
About CartMagic
From the official readme · v0.0.4Description
CartMagic turns your WooCommerce store’s promotions into a managed, rule-based system. Instead of stacking up dozens of single-use coupons, you define discount rules — what triggers a discount, how big it is, when it applies — and CartMagic evaluates them at the cart and checkout for every customer automatically.
The free version covers the everyday discount types most stores need:
- Percentage discount — take 10%, 15%, 20% off the cart, with optional cap (e.g. “10% off, up to $50”).
- Fixed-amount discount — flat dollar / euro / rupee amount off the cart.
- Free shipping rule — give free shipping when the cart hits a threshold or matches a condition, without touching WooCommerce shipping zones.
- Cart conditions — combine cart total, item count, and other cart-aware filters with AND / OR logic to decide when a rule fires.
- Modern admin — a clean, fast React-based admin app inside WordPress. No 2010-era settings pages.
- REST API — every rule is reachable through a versioned REST API at
/wp-json/cartmagic/v1/, so you can manage rules from anywhere. - HPOS compatible — declares compatibility with WooCommerce High-Performance Order Storage, so it’s safe on modern WooCommerce installs.
- Translation-ready — text domain
cartmagic,.potfile shipped in/languages/. - Privacy-respecting — rules and usage data live in your own database. No phone-home, no third-party tracking by default.
Why CartMagic?
WooCommerce coupons are great for one-off codes. They are not great when you want to:
- Run a “10% off everything” sale store-wide for a weekend, without sending every customer a code.
- Offer free shipping above a threshold, without hand-editing shipping zones.
- Apply different discount logic to different cart conditions in a single, reviewable place.
CartMagic gives you a rules engine with a clear admin, so promotions become configurable instead of hard-coded.
Free vs Pro
The free plugin (this listing) ships everything you need for standard cart-level discounting:
- Percentage discount
- Fixed-amount discount
- Free shipping rule
- Cart total / item count conditions
The optional CartMagic Pro add-on layers on advanced promotion types and reporting:
- BOGO — buy X get Y configurations
- Bulk / tiered pricing — quantity-based price tiers
- Scheduled campaigns — start / end dates and time windows
- Customer segments — role-based, first-order, and other segment conditions
- Priority & stacking control — fine-grained rule ordering and combination rules
- Usage analytics — per-rule reporting and engagement metrics
- White-label admin — rebrand the admin panel for client work
The free plugin is fully usable without Pro. Pro is opt-in.
Built for developers
CartMagic exposes filters and actions so you can extend it without forking:
cartmagic_evaluate_condition— short-circuit or override condition evaluation.cartmagic_matching_rules— filter the list of rules that match the current cart before discounts apply.cartmagic_register_rest_routes— hook in your own REST endpoints undercartmagic/v1.cartmagic_pro_features— used by the Pro add-on to register feature unlocks.
REST endpoints (admin-authenticated) include:
GET / POST / PUT / DELETE /wp-json/cartmagic/v1/rulesGET / POST /wp-json/cartmagic/v1/settingsGET /wp-json/cartmagic/v1/products/searchand/categories/searchGET /wp-json/cartmagic/v1/analytics/...(reads only; full reporting requires Pro)
Privacy
This plugin stores discount rule definitions and aggregate usage data in your WordPress database. It does not transmit customer, order, or cart data to external services by default. Review your hosting and WooCommerce privacy documentation for site-wide compliance, and disclose the cookies and data handling practices of any payment / shipping / analytics integrations you have enabled separately.
Installation
Standard install
- In your WordPress admin, go to Plugins → Add New.
- Search for CartMagic and click Install Now, then Activate.
- Make sure WooCommerce is also installed and active. CartMagic refuses to load its storefront logic without WooCommerce.
- In the admin sidebar, open CartMagic → Discount Rules.
- Click Add Rule, choose a discount type, set conditions, and save.
Manual install
- Download the plugin ZIP from this page.
- In your WordPress admin, go to Plugins → Add New → Upload Plugin and upload the ZIP.
- Activate the plugin and continue from step 3 of the standard install above.
After install
- Go to CartMagic → Dashboard to see active rules at a glance.
- Visit CartMagic → Settings to configure global engine behavior.
- Test a rule by adding products to the cart on the storefront and confirming the discount line shows on the cart and checkout.
Changelog
New free features (exclude sale items, custom savings label, duplicate rule), WooCommerce 8.0+ compatibility fix, and WordPress 7.0 compatibility. No database changes; safe to upgrade.
0.0.4
- New: “Exclude sale items from discount” setting — when enabled, products already on sale are excluded from percentage and fixed cart discounts.
- New: Customisable savings label — the “You are saving:” text shown in the cart and checkout is now configurable from the admin settings.
- New: Duplicate rule — any existing rule can be duplicated via the admin UI; the copy is created as inactive with a “Copy of” prefix.
- Improvement: REST API input validation — percentage discount values are now capped at 100, date fields are validated for correct format, and start-date/end-date coherence is enforced on both create and update.
- Compatibility: updated
Tested up toto WordPress 7.0. - Compatibility: replaced deprecated
wc_get_customer_order_count()(removed in WooCommerce 8.0) withwc_get_orders(). - CI: fixed GitHub Actions release workflow — added
contents: writepermission required bysoftprops/action-gh-release@v2. - CI: code-analysis PR-title check now skips Dependabot PRs to prevent false failures.
- No database schema changes; safe to upgrade.
0.0.3
- Readme: trimmed the short description to satisfy WordPress.org’s 150-character limit (was being truncated on the listing page).
- Readme: streamlined documentation and section structure.
- Code quality: resolved all PHPCS / WordPress Coding Standards violations (associative array layout in the feature catalog, statement alignment).
- CI: Code Analysis workflow now saves the full PHPCS report and a checkstyle XML as a downloadable workflow artifact, even when checks fail — so PR reviewers can see violations without re-running locally.
- CI: the asset/readme update workflow is now gated by file paths (
readme.txt,.wordpress-org/**), so PHP-only pushes no longer trigger spurious “other files modified” failures. - No database schema changes; safe to upgrade.
0.0.2
- Readme: significantly expanded description, accurate free vs Pro feature breakdown, 14 FAQ entries, developer section with hooks / filters / REST endpoints.
- Banner: corrected feature pills to reflect the actual free-tier feature set (no longer advertises Pro-only BOGO / Bulk pricing as free).
- Admin: added Documentation / Support / Reviews quick links to the Plugins screen row meta.
- CI: bumped Node.js to 20 to satisfy the Tailwind v4 native-binding engine requirement; regenerated package-lock.json with cross-platform optional-dep variants so deploys work from any host platform.
- No breaking changes. Database schema unchanged.
0.0.1
- Initial submission to WordPress.org.
Screenshots
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best CartMagic alternatives
All discount plugins →FAQ
CartMagic: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is CartMagic free?
Yes. CartMagic is free to download and use from the official WordPress.org plugin directory.
Is CartMagic safe to use in 2026?
CartMagic works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 7 months ago, and scores 45/100 on our health check.
How many websites use CartMagic?
CartMagic is active on 10+ WordPress websites and has been downloaded 580 times since it launched in May 2026. It was downloaded 93 times in the last 30 days.
Does CartMagic work with WordPress 7.1?
CartMagic is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does CartMagic need?
CartMagic requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was CartMagic last updated?
The latest version, 0.0.4, was released on May 21, 2026 (7 months ago).
Who makes CartMagic?
CartMagic is developed and maintained by devexra.
What are the best alternatives to CartMagic?
The most popular alternatives to CartMagic are Payment Gateway Based Fees… (30K+ installs), Extended Coupon Features fo… (10K+ installs) and YITH WooCommerce Gift Cards (10K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
