π Full documentation: https://codeatoz.com/docs/campaign-manager-pro/
CodeAtoz Campaign Manager for WooCommerce is a lightweight WooCommerce plugin built for small and growing stores that want to run effective flash sales without complex marketing tools or recurring fees.
From a single, clean admin screen you can:
- Create multiple campaigns (Flash Sale, Weekend Deal, Clearance)
- Apply percentage or fixed amount discounts across your entire catalog β or limit discounts to selected product categories β without touching product data
- Schedule campaign start and end dates β including weekend promos and short flash drops
- Show a sticky announcement bar with countdown timer on all storefront pages (top or bottom position)
- Add urgency badges on product cards and an urgency message in the cart
- Show “Only X left in stock!” low-stock urgency badges on product cards and product pages during a campaign
- Embed a countdown anywhere with the
[scm_countdown] shortcode or the SCM Campaign Countdown Gutenberg block
- Use the
[scm_banner] shortcode to drop the announcement bar inline on landing pages
- Get a last-hour urgency mode β the bar automatically intensifies when less than 60 minutes remain
- Receive email notifications when a scheduled campaign auto-starts or auto-expires
- Get Schema.org JSON-LD sale markup with
priceValidUntil so Google can show your sale snippet
- Translate campaign strings with WPML and Polylang (string translation support built in)
- See all campaigns in a simple dashboard list with status badges, quick activate/deactivate, and one-click Duplicate
All pricing logic uses standard WooCommerce price filters β no direct database writes β so your original prices remain safe. The plugin is fully translatable and follows WordPress.org coding and security best practices.
Key Features
-
Flash Sale Engine
- Percentage or fixed discounts on all products, or only on selected product categories
- Works with simple and variable products
- Leaves original product prices intact (no direct DB changes)
-
Smart Campaign Scheduling
- Set start and end date/time for each campaign
- Scheduled campaigns auto-activate and auto-expire
- Cron health check with admin notice if WP-Cron or Action Scheduler is not running
-
Conversion-Focused Storefront UI
- Sticky announcement bar with live countdown timer
- Urgency badges on product cards (Flash Sale, Weekend Deal, Clearance)
- Cart urgency message with live countdown
- Product page βsale endsβ message under the add to cart button
-
3 Built-In Templates
- β‘ Flash Sale β 20% off, red bar, 24-hour flash sale style
- π₯ Weekend Deal β 15% off, orange bar, ideal for FridayβSunday promos
- π₯ Clearance β 30% off, purple bar, 7-day clearance style
- One-click template selection pre-fills the campaign form (you can still adjust all fields)
-
Performance & Compatibility
- Uses the WordPress Transients API to cache the active campaign
- WooCommerce HPOS compatible
- No external API calls and no tracking in the free version
Who Is It For?
CodeAtoz Campaign Manager for WooCommerce is perfect for:
- Small WooCommerce stores running occasional flash sales
- Brands that want a simple promotion tool instead of heavy marketing suites
- Store owners who care about performance, safety and clean code
Documentation
The complete user guide, setup walkthroughs, screenshots, and troubleshooting tips are available at:
https://codeatoz.com/docs/campaign-manager-pro/
The docs cover:
- Step-by-step campaign setup (Flash Sale, Weekend Deal, Clearance)
- How discounts are applied via WooCommerce price filters
- Scheduling, time zones, and Action Scheduler troubleshooting
- Customising the announcement bar, badges, and cart urgency message
- Compatibility notes (HPOS, themes, page builders)
- Developer hooks and the
scm_campaign_templates filter
You can also find the Documentation link directly in the WordPress admin β on the Plugins screen and inside the Smart Campaigns dashboard.
Usage
Creating a new campaign
- Go to
WooCommerce β Smart Campaigns and click Add New Campaign.
- (Optional) Choose a template at the top (Flash Sale, Weekend Deal, Clearance) to prefill common settings.
- Fill out the Campaign Details card:
- Campaign Name β internal name shown in the admin list.
- Campaign Type β Flash Sale, Weekend Deal, or Clearance (used for labels and badges).
- Announcement Bar Text β the message shown in the storefront bar.
- Status β Draft, Scheduled, Active or Expired.
- Configure the Discount Settings card:
- Discount Type β Percentage or Fixed Amount.
- Discount Value β required; for example
20 for 20% or 15 for a 15βunit fixed discount.
- Limit to Categories β leave blank to apply to all products, or select one or more product categories to target only those items.
- Configure the Schedule & Appearance card:
- Start Date & Time β when the campaign should begin (optional; leave empty to start immediately when set to Active).
- End Date & Time β when the campaign should end (optional; leave empty for openβended campaigns).
- Quick fill buttons β 24 hours, This Weekend, or Next 7 Days to speed up date entry.
- Bar Background Color & Countdown Timer Color β control the storefront bar appearance; the live preview updates as you type.
Advanced options
These options appear in the Discount Settings or Schedule & Appearance areas:
- Test Mode (checkbox) β when enabled, the campaign is only visible and applied to users who can manage WooCommerce (store admins). Use this to preview the bar, badges and discounts before going live.
- Minimum Cart Value β if set above zero, the discount only applies when the cart subtotal is at least this amount.
- Exclude Products Already On Sale β if enabled, products that already have a WooCommerce sale price keep their own sale and are not further discounted by the campaign.
- Social Proof Text β small line of text shown in the announcement bar (for example βOver 500 orders placed this week!β).
How discounts are applied
- Discounts are applied dynamically via WooCommerce price filters β the plugin never modifies product prices in the database.
- Only one active campaign is used for pricing at a time (the most recently created active campaign).
- If Limit to Categories is empty, discounts and urgency UI apply to all products (subject to minimum cart value, test mode and excludeβonβsale settings).
- If one or more categories are selected, discounts and urgency elements (badge, price HTML, product urgency text) only appear on products belonging to those categories.
Scheduled campaigns
- Set Status = Scheduled and fill Start Date and/or End Date.
- The plugin uses Action Scheduler to:
- Automatically switch the campaign to Active at the start time.
- Automatically switch it to Expired at the end time.
- If WPβCron or Action Scheduler are not running correctly, the Smart Campaigns admin screen shows a clear warning with a link to documentation.
Embedding a countdown with shortcodes or a block
You can drop a campaign countdown into any post, page, page-builder layout, or sidebar widget.
Shortcodes:
[scm_countdown] β uses the currently active campaign.
[scm_countdown id="5"] β countdown for campaign #5.
[scm_countdown id="active" label="Sale ends in" show_label="1"] β customise the label.
[scm_banner] β render the full announcement bar inline (not fixed) for a specific section of a landing page.
Gutenberg block: Search for “SCM Campaign Countdown” in the block inserter. Set the campaign ID (or active) and label in the sidebar.
Low-stock urgency
When a campaign is active, products with WooCommerce stock management enabled will show a small “Only X left in stock!” badge once their stock_quantity is at or below the configured threshold (default: 10). Configure under Smart Campaigns β Settings.
Email notifications
Enable Smart Campaigns β Settings β Email me on campaign start / end to receive a plain-text email at your site admin address whenever a scheduled campaign auto-starts or auto-expires.
Bar position
Choose top or bottom of page under Smart Campaigns β Settings β Announcement bar position.