{"id":291496,"date":"2026-03-27T06:11:59","date_gmt":"2026-03-27T06:11:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/smart-campaign-manager\/"},"modified":"2026-03-27T06:11:23","modified_gmt":"2026-03-27T06:11:23","slug":"codeatoz-campaign-manager","status":"publish","type":"plugin","link":"https:\/\/scn.wordpress.org\/plugins\/codeatoz-campaign-manager\/","author":23453096,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"trunk","tested":"6.9.4","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"CodeAtoz Campaign Manager for WooCommerce","header_author":"CodeAtoz","header_description":"Flash sales & promotions for WooCommerce stores.","assets_banners_color":"1e3d4d","last_updated":"2026-03-27 06:11:23","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/codeatoz.com\/smart-campaign-manager-pro\/","header_author_uri":"https:\/\/codeatoz.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":56,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"codeatoz","date":"2026-03-27 06:41:01"}},"upgrade_notice":{"1.1.0":"<p>This release adds test mode, minimum cart value, exclude on-sale items, and social proof fields. A database migration runs automatically on upgrade to add the new columns.<\/p>","1.0.0":"<p>First public release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3492355,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3492329,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3492355,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3492329,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3492356,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3492356,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3492356,"resolution":"3","location":"assets","locale":""}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[12724,331,50558,2649,286],"plugin_category":[45],"plugin_contributors":[256075],"plugin_business_model":[],"class_list":["post-291496","plugin","type-plugin","status-publish","hentry","plugin_tags-countdown-timer","plugin_tags-discount","plugin_tags-flash-sale","plugin_tags-promotions","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-codeatoz","plugin_committers-codeatoz"],"banners":{"banner":"https:\/\/ps.w.org\/codeatoz-campaign-manager\/assets\/banner-772x250.png?rev=3492329","banner_2x":"https:\/\/ps.w.org\/codeatoz-campaign-manager\/assets\/banner-1544x500.png?rev=3492355","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/codeatoz-campaign-manager\/assets\/icon-128x128.png?rev=3492355","icon_2x":"https:\/\/ps.w.org\/codeatoz-campaign-manager\/assets\/icon-256x256.png?rev=3492329","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/codeatoz-campaign-manager\/assets\/screenshot-1.png?rev=3492356","caption":""},{"src":"https:\/\/ps.w.org\/codeatoz-campaign-manager\/assets\/screenshot-2.png?rev=3492356","caption":""},{"src":"https:\/\/ps.w.org\/codeatoz-campaign-manager\/assets\/screenshot-3.png?rev=3492356","caption":""}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>From a single, clean admin screen you can:<\/p>\n\n<ul>\n<li>Create multiple <strong>campaigns<\/strong> (Flash Sale, Weekend Deal, Clearance)<\/li>\n<li>Apply <strong>percentage or fixed amount discounts<\/strong> across your entire catalog \u2013 or limit discounts to selected product categories \u2013 without touching product data<\/li>\n<li>Schedule campaign <strong>start and end dates<\/strong> \u2013 including weekend promos and short flash drops<\/li>\n<li>Show a sticky <strong>announcement bar with countdown timer<\/strong> on all storefront pages<\/li>\n<li>Add <strong>urgency badges<\/strong> on product cards and an urgency message in the cart<\/li>\n<li>See all campaigns in a simple <strong>dashboard list<\/strong> with status badges and quick actions<\/li>\n<\/ul>\n\n<p>All pricing logic uses standard WooCommerce price filters \u2013 no direct database writes \u2013 so your original prices remain safe. The plugin is fully translatable and follows WordPress.org coding and security best practices.<\/p>\n\n<h3>Key Features<\/h3>\n\n<ul>\n<li><p><strong>Flash Sale Engine<\/strong><\/p>\n\n<ul>\n<li>Percentage or fixed discounts on all products, or only on selected product categories<\/li>\n<li>Works with simple and variable products<\/li>\n<li>Leaves original product prices intact (no direct DB changes)<\/li>\n<\/ul><\/li>\n<li><p><strong>Smart Campaign Scheduling<\/strong><\/p>\n\n<ul>\n<li>Set start and end date\/time for each campaign<\/li>\n<li>Scheduled campaigns auto-activate and auto-expire<\/li>\n<li>Cron health check with admin notice if WP-Cron or Action Scheduler is not running<\/li>\n<\/ul><\/li>\n<li><p><strong>Conversion-Focused Storefront UI<\/strong><\/p>\n\n<ul>\n<li>Sticky announcement bar with live countdown timer<\/li>\n<li>Urgency badges on product cards (Flash Sale, Weekend Deal, Clearance)<\/li>\n<li>Cart urgency message with live countdown<\/li>\n<li>Product page \u201csale ends\u201d message under the add to cart button<\/li>\n<\/ul><\/li>\n<li><p><strong>3 Built-In Templates<\/strong><\/p>\n\n<ul>\n<li>\u26a1 <strong>Flash Sale<\/strong> \u2013 20% off, red bar, 24-hour flash sale style<\/li>\n<li>\ud83d\udd25 <strong>Weekend Deal<\/strong> \u2013 15% off, orange bar, ideal for Friday\u2013Sunday promos<\/li>\n<li>\ud83d\udca5 <strong>Clearance<\/strong> \u2013 30% off, purple bar, 7-day clearance style<\/li>\n<li>One-click template selection pre-fills the campaign form (you can still adjust all fields)<\/li>\n<\/ul><\/li>\n<li><p><strong>Performance &amp; Compatibility<\/strong><\/p>\n\n<ul>\n<li>Uses the WordPress Transients API to cache the active campaign<\/li>\n<li>WooCommerce HPOS compatible<\/li>\n<li>No external API calls and no tracking in the free version<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h3>Who Is It For?<\/h3>\n\n<p>CodeAtoz Campaign Manager for WooCommerce is perfect for:<\/p>\n\n<ul>\n<li>Small WooCommerce stores running <strong>occasional flash sales<\/strong><\/li>\n<li>Brands that want a <strong>simple promotion tool<\/strong> instead of heavy marketing suites<\/li>\n<li>Store owners who care about <strong>performance, safety and clean code<\/strong><\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<h3>Creating a new campaign<\/h3>\n\n<ol>\n<li>Go to <code>WooCommerce \u2192 Smart Campaigns<\/code> and click <strong>Add New Campaign<\/strong>.<\/li>\n<li>(Optional) Choose a <strong>template<\/strong> at the top (Flash Sale, Weekend Deal, Clearance) to prefill common settings.<\/li>\n<li>Fill out the <strong>Campaign Details<\/strong> card:\n\n<ul>\n<li><strong>Campaign Name<\/strong> \u2013 internal name shown in the admin list.<\/li>\n<li><strong>Campaign Type<\/strong> \u2013 Flash Sale, Weekend Deal, or Clearance (used for labels and badges).<\/li>\n<li><strong>Announcement Bar Text<\/strong> \u2013 the message shown in the storefront bar.<\/li>\n<li><strong>Status<\/strong> \u2013 Draft, Scheduled, Active or Expired.<\/li>\n<\/ul><\/li>\n<li>Configure the <strong>Discount Settings<\/strong> card:\n\n<ul>\n<li><strong>Discount Type<\/strong> \u2013 Percentage or Fixed Amount.<\/li>\n<li><strong>Discount Value<\/strong> \u2013 required; for example <code>20<\/code> for 20% or <code>15<\/code> for a 15\u2011unit fixed discount.<\/li>\n<li><strong>Limit to Categories<\/strong> \u2013 leave blank to apply to all products, or select one or more product categories to target only those items.<\/li>\n<\/ul><\/li>\n<li>Configure the <strong>Schedule &amp; Appearance<\/strong> card:\n\n<ul>\n<li><strong>Start Date &amp; Time<\/strong> \u2013 when the campaign should begin (optional; leave empty to start immediately when set to Active).<\/li>\n<li><strong>End Date &amp; Time<\/strong> \u2013 when the campaign should end (optional; leave empty for open\u2011ended campaigns).<\/li>\n<li><strong>Quick fill<\/strong> buttons \u2013 24 hours, This Weekend, or Next 7 Days to speed up date entry.<\/li>\n<li><strong>Bar Background Color<\/strong> &amp; <strong>Countdown Timer Color<\/strong> \u2013 control the storefront bar appearance; the live preview updates as you type.<\/li>\n<\/ul><\/li>\n<\/ol>\n\n<h3>Advanced options<\/h3>\n\n<p>These options appear in the Discount Settings or Schedule &amp; Appearance areas:<\/p>\n\n<ul>\n<li><strong>Test Mode<\/strong> (checkbox) \u2013 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.<\/li>\n<li><strong>Minimum Cart Value<\/strong> \u2013 if set above zero, the discount only applies when the cart subtotal is at least this amount.<\/li>\n<li><strong>Exclude Products Already On Sale<\/strong> \u2013 if enabled, products that already have a WooCommerce sale price keep their own sale and are not further discounted by the campaign.<\/li>\n<li><strong>Social Proof Text<\/strong> \u2013 small line of text shown in the announcement bar (for example \u201cOver 500 orders placed this week!\u201d).<\/li>\n<\/ul>\n\n<h3>How discounts are applied<\/h3>\n\n<ul>\n<li>Discounts are applied <strong>dynamically via WooCommerce price filters<\/strong> \u2013 the plugin never modifies product prices in the database.<\/li>\n<li>Only <strong>one active campaign<\/strong> is used for pricing at a time (the most recently created active campaign).<\/li>\n<li>If <strong>Limit to Categories<\/strong> is empty, discounts and urgency UI apply to <strong>all products<\/strong> (subject to minimum cart value, test mode and exclude\u2011on\u2011sale settings).<\/li>\n<li>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.<\/li>\n<\/ul>\n\n<h3>Scheduled campaigns<\/h3>\n\n<ul>\n<li>Set <strong>Status = Scheduled<\/strong> and fill <strong>Start Date<\/strong> and\/or <strong>End Date<\/strong>.<\/li>\n<li>The plugin uses <strong>Action Scheduler<\/strong> to:\n\n<ul>\n<li>Automatically switch the campaign to <strong>Active<\/strong> at the start time.<\/li>\n<li>Automatically switch it to <strong>Expired<\/strong> at the end time.<\/li>\n<\/ul><\/li>\n<li>If WP\u2011Cron or Action Scheduler are not running correctly, the Smart Campaigns admin screen shows a clear warning with a link to documentation.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li><p><strong>Upload the plugin<\/strong><\/p>\n\n<ul>\n<li>Download the plugin ZIP and upload via <code>Plugins \u2192 Add New \u2192 Upload Plugin<\/code>, or<\/li>\n<li>Upload the <code>codeatoz-campaign-manager<\/code> folder to <code>\/wp-content\/plugins\/<\/code> via FTP.<\/li>\n<\/ul><\/li>\n<li><p><strong>Activate the plugin<\/strong><\/p>\n\n<ul>\n<li>Go to <code>Plugins \u2192 Installed Plugins<\/code> and click <strong>Activate<\/strong> on CodeAtoz Campaign Manager for WooCommerce.<\/li>\n<\/ul><\/li>\n<li><p><strong>Verify WooCommerce<\/strong><\/p>\n\n<ul>\n<li>Make sure WooCommerce is installed and activated. If not, the plugin will show an admin notice.<\/li>\n<\/ul><\/li>\n<li><p><strong>Create your first campaign<\/strong><\/p>\n\n<ul>\n<li>Go to <code>WooCommerce \u2192 Smart Campaigns<\/code>.<\/li>\n<li>Click <strong>Add New Campaign<\/strong>.<\/li>\n<li>Either pick a <strong>template<\/strong> at the top or fill the form manually:\n\n<ul>\n<li>Campaign Name<\/li>\n<li>Type (Flash Sale, Weekend Deal, Clearance)<\/li>\n<li>Discount Type &amp; Value<\/li>\n<li>Announcement Bar Text<\/li>\n<li>Bar Background Color &amp; Timer Color<\/li>\n<li>Start Date &amp; Time, End Date &amp; Time<\/li>\n<li>Status (Draft, Scheduled, Active)<\/li>\n<\/ul><\/li>\n<li>Click <strong>Create Campaign<\/strong>.<\/li>\n<\/ul><\/li>\n<li><p><strong>Test on the storefront<\/strong><\/p>\n\n<ul>\n<li>Visit your shop and product pages.<\/li>\n<li>When a campaign is active you should see:\n\n<ul>\n<li>Storefront announcement bar with countdown<\/li>\n<li>Sale prices and badges on products<\/li>\n<li>Urgency messages in the cart and on product pages<\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20modify%20my%20product%20prices%20in%20the%20database%3F\"><h3>Does this plugin modify my product prices in the database?<\/h3><\/dt>\n<dd><p>No. CodeAtoz Campaign Manager for WooCommerce uses standard WooCommerce price filters to apply discounts at runtime. Your original product prices remain unchanged in the database.<\/p><\/dd>\n<dt id=\"can%20i%20run%20more%20than%20one%20campaign%20at%20the%20same%20time%3F\"><h3>Can I run more than one campaign at the same time?<\/h3><\/dt>\n<dd><p>The plugin supports multiple campaigns but only one active campaign is applied\nto pricing at a time \u2014 the most recently created active campaign takes priority.\nFuture Pro versions may add advanced targeting and multiple concurrent campaigns.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20wp-cron%20or%20action%20scheduler%20is%20not%20working%3F\"><h3>What happens if WP-Cron or Action Scheduler is not working?<\/h3><\/dt>\n<dd><p>The plugin checks WP-Cron and Action Scheduler health on the Smart Campaigns admin screen. If something looks wrong (cron disabled or Action Scheduler not run recently), it shows a clear warning with a link to the official WordPress cron documentation.<\/p><\/dd>\n<dt id=\"will%20this%20slow%20down%20my%20store%3F\"><h3>Will this slow down my store?<\/h3><\/dt>\n<dd><p>CodeAtoz Campaign Manager for WooCommerce caches the active campaign using the Transients API for 60 seconds, so WooCommerce product price lookups don\u2019t hit the database on every request. The frontend assets are small and loaded only on WooCommerce pages.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20woocommerce%20hpos%20%28high-performance%20order%20storage%29%3F\"><h3>Does it work with WooCommerce HPOS (High-Performance Order Storage)?<\/h3><\/dt>\n<dd><p>Yes. The plugin declares compatibility with WooCommerce HPOS using <code>\\WooCommerce\\Utilities\\FeaturesUtil::declare_compatibility()<\/code>.<\/p><\/dd>\n<dt id=\"can%20i%20customize%20the%20templates%20or%20add%20my%20own%3F\"><h3>Can I customize the templates or add my own?<\/h3><\/dt>\n<dd><p>Yes. The three default templates are defined in PHP and exposed through the <code>scm_campaign_templates<\/code> filter. Developers can hook into this filter to add, remove or modify templates in custom code or a Pro add-on.<\/p><\/dd>\n<dt id=\"does%20the%20free%20version%20call%20any%20external%20apis%20or%20track%20my%20store%3F\"><h3>Does the free version call any external APIs or track my store?<\/h3><\/dt>\n<dd><p>No. The free version does not make any outgoing HTTP requests or track usage. All logic runs inside your WordPress and WooCommerce installation.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added test mode for previewing campaigns as admin before going live.<\/li>\n<li>Added minimum cart value condition \u2014 discount only applies when cart reaches threshold.<\/li>\n<li>Added exclude on-sale items option \u2014 protects already-discounted products.<\/li>\n<li>Added social proof text field displayed in the announcement bar.<\/li>\n<li>Improved admin UI with live preview, campaign templates, and modern card layout.<\/li>\n<li>Fixed scheduled campaign auto-activation and expiration.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>Campaign CRUD admin UI with WP_List_Table.<\/li>\n<li>Flash sale discount engine using WooCommerce price filters.<\/li>\n<li>Storefront announcement bar with countdown timer.<\/li>\n<li>Action Scheduler integration for scheduled campaigns.<\/li>\n<li>Urgency badges, cart message and product page urgency text.<\/li>\n<li>3 built-in templates for quick campaign setup.<\/li>\n<\/ul>","raw_excerpt":"Run flash sales &amp; WooCommerce promotions with countdown timers, urgency badges, and a clean campaign dashboard. No recurring fees.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/291496","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=291496"}],"author":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/codeatoz"}],"wp:attachment":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=291496"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=291496"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=291496"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=291496"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=291496"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=291496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}