=== You Save for WooCommerce === Contributors: pluginbrew Donate link: https://pluginbrew.com Tags: woocommerce, sale badge, product badges, announcement bar, free shipping bar Requires at least: 6.5 Tested up to: 7.1 Requires PHP: 7.4 Stable tag: 2.0.0 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html Show savings clearly, highlight promotions, add product badges, announcement bars, and progress bars to your WooCommerce store. == Description == **Turn your WooCommerce promotions into storefront experiences customers can actually see.** You Save for WooCommerce is a promotion presentation and merchandising toolkit for WooCommerce. Instead of keeping discounts and promotions hidden behind prices, coupons, or checkout calculations, You Save helps you communicate offers throughout the shopping experience using savings messages, product badges, promotional badges, announcement bars, and progress bars. Create and manage your promotional presentations from one place, control where they appear, and give customers a clearer view of the offers and value available in your store. == More Than a "You Save" Message == You Save started as a simple way to show customers how much they save. Version 2.0 expands that idea into a broader set of promotion presentation tools for WooCommerce. Use You Save to: * Show customers how much they save. * Highlight product savings with visual Savings Badges. * Add promotional Quick Badges to products. * Display storewide promotional Announcement Bars. * Encourage customers toward Free Shipping or Cart Discount goals. * Control where promotional presentations appear. * Manage your presentations from one central interface. You Save focuses on **presenting and communicating promotions**. Your existing WooCommerce pricing, sale prices, coupons, and compatible discount tools can continue handling the underlying discount while You Save helps customers discover and understand the offer. == Savings Messages == Make the value of a discount easy to understand. Savings Messages can communicate savings using the actual amount, percentage, or a combination of both. For example: **20% OFF | You save $12.00** Display savings across supported WooCommerce shopping surfaces, including: * Product pages * Shop and product archives * Cart items * Cart totals * Checkout Customize the message and control where it appears from You Save. == Savings Badge == Turn product savings into a more visible storefront presentation. The Savings Badge provides a visual way to highlight savings around your products instead of relying only on text near the price. The Free version includes the **Horizontal Strip** Savings Badge presentation with standard targeting and configuration. You Save Pro expands Savings Badges with additional premium presentation designs and advanced appearance controls. == Quick Badges == Highlight products using promotional labels that communicate more than price savings. The Free version includes: * **Clearance** * **New Arrival** * **Staff Pick** Use targeting and position controls to determine which products receive each badge and where the badge appears. Quick Badges can help customers quickly recognize products you want to highlight while browsing your store. You Save Pro adds additional Quick Badge types and advanced Rotation capabilities. == Announcement Bars == Promote important offers and campaigns across your WooCommerce store with Announcement Bars. Use them for: * Storewide promotions * Seasonal campaigns * Limited-time offers * Sale announcements * Important shopping messages The Free version includes **General Announcement** and **BFCM Basic** presentations with configurable messaging, call-to-action, colors, countdown, and scheduling capabilities. You Save Pro adds additional premium Announcement Bar designs and advanced presentation controls. == Progress Bars == Give customers a clear goal while they shop. The Free version lets you create a Progress Bar for: * **Free Shipping** * **Cart Discount** Show customers their progress toward the reward and customize the messages displayed as their cart changes. Free Progress Bars support Checkout placement and can reveal the applicable coupon where configured. You Save Pro expands Progress Bars with multiple milestones, additional layouts, advanced appearance controls, additional placement options, conditional visibility, and enhanced coupon application options. == Presentation Targeting == Promotions should appear where they make sense. You Save provides targeting controls so you can determine which products or store contexts should display a presentation. Depending on the presentation, targeting can include: * Specific products * Product types * Product categories * Store-wide targeting You Save also handles presentation eligibility and conflicts to help keep storefront promotions predictable. == My Presentations == Manage your promotional experiences from one central interface. **My Presentations** gives you a clear view of the presentations you've created and makes it easier to manage Savings Badges, Quick Badges, Announcement Bars, Progress Bars, and other promotional experiences. Instead of managing disconnected settings across the plugin, You Save brings promotion presentation management together. == Built for WooCommerce == You Save is built for WooCommerce and designed around modern WooCommerce storefront and checkout experiences. The plugin supports traditional WooCommerce experiences and modern WooCommerce Blocks where supported by the relevant presentation. It is also designed to work alongside WooCommerce sale pricing, coupons, and compatible discount or pricing tools. == Performance-Conscious == Promotional presentation shouldn't come at the cost of storefront performance. You Save is designed to load presentation functionality where required and keep frontend behavior focused on the presentations configured by the merchant. == Free and Pro == The Free version gives you a practical toolkit for presenting promotions across your WooCommerce store. **You Save Pro** expands the same presentation system with premium designs, additional promotion types, advanced controls, and more sophisticated merchandising capabilities. You Save Pro includes enhancements such as: * Additional Savings Badge designs * Custom Text, Limited Stock, Trending Now, and Countdown Quick Badges * Quick Badge Rotation with Display Order, Time-of-Day, and Interval modes * Premium Announcement Bar designs * Multiple Progress Bar milestones * Five Progress Bar layouts * Advanced Progress Bar appearance controls * Additional Cart and Checkout placement options * Conditional Progress Bar visibility * Advanced coupon application options Learn more about You Save Pro at PluginBrew. == Installation == 1. Install **You Save for WooCommerce** from `Plugins > Add New` in your WordPress dashboard, or upload the plugin files to `/wp-content/plugins/`. 2. Activate the plugin. 3. Make sure WooCommerce is installed and active. 4. Go to `WooCommerce > You Save`. 5. Complete the introductory setup and open **My Presentations**. 6. Configure your Savings Messages or create the promotional presentations you want to use. == Frequently Asked Questions == = What does You Save for WooCommerce do? = You Save helps WooCommerce stores communicate and present promotions to customers. It can display Savings Messages, visual Savings Badges, promotional Quick Badges, Announcement Bars, and Progress Bars. The plugin focuses on how promotions are presented to shoppers rather than replacing WooCommerce's pricing and coupon systems. = Does You Save create the discounts? = You Save primarily focuses on presenting and communicating promotions. WooCommerce sale prices, coupons, and compatible pricing or discount tools can continue calculating the underlying discount while You Save communicates the value to customers. Some presentation features, such as Progress Bars, can work with existing WooCommerce coupons. = Where can Savings Messages appear? = Savings Messages can be displayed across supported WooCommerce surfaces including product pages, Shop/product archives, cart items, cart totals, and checkout. You can control the enabled surfaces from the plugin. = Which Quick Badges are available for free? = The Free version includes: * Clearance * New Arrival * Staff Pick You Save Pro adds Custom Text, Limited Stock, Trending Now, and Countdown Quick Badges. = What is the difference between a Savings Badge and a Quick Badge? = A Savings Badge communicates the savings associated with a product. Quick Badges communicate promotional or merchandising messages such as **Clearance**, **New Arrival**, or **Staff Pick**. They serve different purposes and can be configured independently. = Can I create an Announcement Bar? = Yes. The Free version includes General Announcement and BFCM Basic Announcement Bar presentations. You can configure the message, call-to-action, colors, countdown, and scheduling options supported by the presentation. = Does the Free version include Progress Bars? = Yes. The Free version supports a Free Shipping or Cart Discount Progress Bar, with one active goal type, Checkout placement, customizable messages, and coupon reveal where applicable. You Save Pro adds multiple milestones, five layouts, advanced appearance controls, additional placement and visibility options, and advanced coupon application behavior. = Can I choose which products receive a badge? = Yes. You Save includes presentation targeting controls. Depending on the presentation, you can target specific products, product types, categories, or your store more broadly. = Can multiple Quick Badges appear on a product? = When eligible Quick Badges resolve to different supported positions, multiple badges can coexist. You Save also handles conflicts when eligible presentations compete for the same position. You Save Pro adds Quick Badge Rotation for merchants who want multiple eligible badges to share a presentation position. = Does You Save work with WooCommerce Cart and Checkout Blocks? = You Save includes support for modern WooCommerce Blocks for relevant supported features, alongside traditional WooCommerce experiences. Presentation availability depends on the feature and storefront surface being used. = Does You Save work with dynamic pricing or discount plugins? = You Save is designed primarily as a promotion presentation layer. Compatible pricing or discount tools can calculate the underlying promotion while You Save communicates the resulting value to shoppers. Compatibility can vary depending on how another plugin modifies WooCommerce pricing or checkout behavior. = Is You Save translation ready? = Yes. You Save includes translatable strings for localization through standard WordPress translation workflows. = What is included in You Save Pro? = You Save Pro extends the Free presentation system with additional designs, promotion types, advanced appearance and placement controls, richer Progress Bars, and Quick Badge Rotation. Visit PluginBrew for current Pro feature and pricing information. = I found a problem. Where can I get help? = Free users can open a support topic through the You Save for WooCommerce support forum on WordPress.org. You Save Pro customers have access to premium support. == Screenshots == 1. My Presentations — manage your WooCommerce promotional presentations from one place. 2. Savings Messages — communicate the amount and percentage customers save across supported WooCommerce surfaces. 3. Savings Badge — highlight product savings with a visual storefront presentation. 4. Quick Badges — highlight Clearance, New Arrival, and Staff Pick products. 5. Announcement Bars — promote storewide campaigns and important offers. 6. Progress Bars — show customers their progress toward Free Shipping or a Cart Discount. 7. Presentation Targeting — control which products and store contexts receive your promotional presentations. 8. Storefront Promotions — combine You Save presentations to create a clearer promotional shopping experience. == Changelog == = 2.0.0 = * [Major Update] Completely redesigned You Save for WooCommerce as a promotion presentation and merchandising toolkit. * [Added] New My Presentations interface for managing promotional presentations. * [Added] Revamped Savings Messages across Product Page, Shop/Archive, Cart Item, Cart Total, and Checkout surfaces. * [Added] Savings Badge presentation with storefront targeting and configuration. * [Added] Quick Badges with Clearance, New Arrival, and Staff Pick types in the Free version. * [Added] Product and storefront targeting controls for promotional presentations. * [Added] Announcement Bars with General Announcement and BFCM Basic presentations. * [Added] Announcement Bar message, CTA, color, countdown, and scheduling controls. * [Added] Progress Bars for Free Shipping and Cart Discount goals. * [Added] Progress Bar messages and Checkout placement. * [Added] Coupon reveal support for applicable Progress Bar configurations. * [Added] Presentation conflict handling for overlapping promotional badges. * [Added] WooCommerce Blocks support for relevant presentation and checkout experiences. * [Added] Server-calculated order savings persistence. * [Improved] Product savings handling across supported WooCommerce storefront and checkout experiences. * [Improved] Variable product and storefront presentation behavior. * [Improved] Compatibility with modern WooCommerce versions and High-Performance Order Storage (HPOS). * [Improved] Admin experience, presentation previews, accessibility, validation, and configuration workflows. * [Improved] Performance and frontend asset handling across presentation types. * [Security] Improved capability checks, nonce verification, validation, sanitization, and escaping throughout the plugin. * [Compatibility] Tested with WordPress 7.1.5. * [Compatibility] Tested with WooCommerce 11.3.1. * [Quality] Validated with WordPress Plugin Check; release-blocking issues resolved. = 1.1.1 = * Added compatibility with WooCommerce High-Performance Order Storage (HPOS). * Replaced legacy order meta APIs with WooCommerce CRUD methods. * Resolved WooCommerce HPOS compatibility warning. = 1.1.0 = * [Security] - Added nonce verification to variable-product savings and uninstall-feedback AJAX handlers. * [Security] - Improved validation, sanitization, and escaping across settings and frontend output. * [Added] - Declared WooCommerce as a required plugin and added an administrator notice when it is unavailable. * [Fixed] - Improved compatibility with WooCommerce variable products to ensure the "You Save" badge updates correctly when switching variations. * [Fixed] - Improved compatibility with the Astra theme by displaying the "You Save" badge immediately below the product price on single product pages. * [Fixed] - Replaced deprecated PHP sanitization and WooCommerce order-property access. * [Fixed] - Improved WooCommerce Cart and Checkout block compatibility. * [Fixed] - Resolved Plugin Check compatibility, escaping, sanitization, and security findings. * [Compatibility] - Tested up to WordPress 7.1.2. * [Compatibility] - Tested up to WooCommerce 11.1.2. = 1.0.5 = * [Compatibility] - Tested OK with WooCommerce 9.8.4 * [Compatibility] - Tested OK with WordPress 6.8.1 = 1.0.4 = * Performance optimisation = 1.0.3 = * [Compatibility] - Tested OK with WooCommerce 9.7.1 * [Compatibility] - Tested OK with WordPress 6.7.2 = 1.0.2 = * Changed links and ownership of the plugin. = 1.0.1 = * Fixed save amount and percentage not showing for affiliate/external product. = 1.0.0 = * Revamped UI/UX of plugin's main settings page. * Changed how pro settings are accessed from settings page. * Replaced thpys-options.php file with main-options.php with new include structure. * Updated language file. = 0.5.9 = * Added block compatibility for WooCommerce checkout block. * Removed admin warning about block compatibility. * Tweaked settings page. = 0.5.5 = * Added admin notice about compatibility with WooCommerce cart and checkout block. * Minor change of settings page, terms and wording change. Added link to WooCommerce cart and checkout block compatibility. * Updated screenshots. = 0.5.4 = * Settings page minor revamp. * Finetuned compatibility to pro. * Making free version leaner, removed shadow styling options. = 0.5.3 = * Added additional check to catch fatal error for amount saved calculation functions. * Tweaked option pages. = 0.5.2 = * Integrated compatibility to pro. * Added colon symbol to badge's custom text on checkout and view order page. = 0.4.2 = * Fixed border shadow style not appearing on the front end. * Added an option to enable/disable 'you save' badge on homepage/frontpage. * Added 'you save' text to checkout page, order detail page after order is received, view order page. * Tweaked js for slightly faster ajax call on the frontend. = 0.4.1 = * Improved sanitation, validation, and escaping. = 0.4.0 = * Added styling options for users to easily style the You Save text badge. * Integrated PRO features for more usability. = 0.3.0 = * Added new options to easily translate and edit texts. * Restructured and improved user interface for plugin main settings. * Enabled all options by default for first time plugin activation. * Finetuned PRO compatibility. = 0.2.2 = * Added translation file .pot. * Added PRO compatibility. = 0.2.1 = * Added settings to enable/disable 'you save' on certain Woocommerce pages. * Added PRO compatibility. = 0.1.0 = * Initial release. == Upgrade Notice == = 2.0.0 = You Save 2.0 is a major update that transforms the plugin into a WooCommerce promotion presentation and merchandising toolkit, with a redesigned admin experience, Quick Badges, Announcement Bars, Progress Bars, targeting, and a revamped savings experience. = 1.1.0 = Recommended update with security, compatibility, and code quality improvements. Includes enhanced WooCommerce Blocks support, Plugin Check compliance, and compatibility with WordPress 7.1.2 and WooCommerce 11.1.2.