plugin-icon

CartMagic – Dynamic Pricing & Discounts for WooCommerce

Von devexra·
Smart discount rules for WooCommerce: percentage, fixed-amount, free shipping, and cart-aware conditions. No coupon spam needed.
Version
0.0.3
Zuletzt aktualisiert
May 7, 2026
CartMagic – Dynamic Pricing & Discounts for WooCommerce

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, .pot file 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 under cartmagic/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/rules
  • GET / POST /wp-json/cartmagic/v1/settings
  • GET /wp-json/cartmagic/v1/products/search and /categories/search
  • GET /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.

Kostenlosmit kostenpflichtigen Tarifen
Mit deiner Installation stimmst du den Geschäftsbedingungen von WordPress.com sowie den Bedingungen für Drittanbieter-Plugins zu.
Getestet bis
WordPress 6.7.5
Dieses Plugin steht für deine -Website zum Download zur Verfügung.