{"id":22984,"date":"2024-11-21T10:35:43","date_gmt":"2024-11-21T10:35:43","guid":{"rendered":"https:\/\/www.oflox.com\/blog\/?p=22984"},"modified":"2025-05-14T13:39:40","modified_gmt":"2025-05-14T13:39:40","slug":"how-to-create-woocommerce-cart-discounts","status":"publish","type":"post","link":"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/","title":{"rendered":"How to Create WooCommerce Cart Discounts: A Complete Guide!"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This article is your ultimate resource for understanding the process of <strong>How to Create WooCommerce Cart Discounts<\/strong>. Gain expert knowledge and actionable tips to seamlessly implement cart discounts in your online store.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">WooCommerce is a powerful eCommerce solution for WordPress users. Among its many features, the ability to create discounts stands out as a crucial tool for improving sales, increasing customer retention, and standing out in a competitive market. Specifically, cart discounts\u2014discounts applied based on conditions related to the contents of a user&#8217;s shopping cart\u2014offer flexibility and a direct incentive for customers to make a purchase.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"2240\" height=\"1260\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Cart-Discounts.jpg\" alt=\"WooCommerce Cart Discounts\" class=\"wp-image-23023\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Cart-Discounts.jpg 2240w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Cart-Discounts-768x432.jpg 768w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Cart-Discounts-1536x864.jpg 1536w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Cart-Discounts-2048x1152.jpg 2048w\" sizes=\"auto, (max-width: 2240px) 100vw, 2240px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In this guide, we\u2019ll explore how to create WooCommerce cart discounts, step by step, ensuring that you can leverage this feature effectively to boost your store&#8217;s performance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s begin our journey!<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a20575e44350\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a20575e44350\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/#What_are_WooCommerce_Cart_Discounts\" >What are WooCommerce Cart Discounts?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/#How_to_Generate_WooCommerce_Cart_Discounts\" >How to Generate WooCommerce Cart Discounts?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/#How_to_Create_WooCommerce_Cart_Discounts_Using_a_Plugin\" >How to Create WooCommerce Cart Discounts Using a Plugin<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/#Sitewide_Cart_Discount_%E2%80%9C20_off_on_all_products_during_this_festival%E2%80%9D\" >Sitewide Cart Discount: \u201c20% off on all products during this festival.\u201d<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/#Category-Specific_Cart_Discount_%E2%80%9C15_off_on_t-shirts%E2%80%9D\" >Category-Specific Cart Discount: \u201c15% off on t-shirts.\u201d<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/#Product-Specific_Cart_Discount_%E2%80%9C20_off_on_a_specific_jacket%E2%80%9D\" >Product-Specific Cart Discount: \u201c$20 off on a specific jacket.\u201d<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/#WooCommerce_Cart_Conditional_Discount_%E2%80%9C15_off_on_100_or_more_shopping%E2%80%9D\" >WooCommerce Cart Conditional Discount: \u201c15% off on $100 or more shopping\u201d<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/#Cart_Bulk_Discount_%E2%80%9C10_discount_on_5_items%E2%80%9D\" >Cart Bulk Discount: \u201c10% discount on 5 items\u201d<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/#How_to_Create_WooCommerce_Cart_Discounts_Using_the_Coupon_Tool\" >How to Create WooCommerce Cart Discounts Using the Coupon Tool<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/#How_to_Create_WooCommerce_Cart_Discounts_using_Custom_Codes\" >How to Create WooCommerce Cart Discounts using Custom Codes<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/#Best_Practices_for_Creating_WooCommerce_Cart_Discounts\" >Best Practices for Creating WooCommerce Cart Discounts<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-what-are-woocommerce-cart-discounts\"><span class=\"ez-toc-section\" id=\"What_are_WooCommerce_Cart_Discounts\"><\/span>What are WooCommerce Cart Discounts?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">WooCommerce cart discounts are offers that lower the price of items in a customer&#8217;s cart. These discounts can apply based on conditions like the total amount spent, the number of items in the cart, specific product categories, or customer loyalty.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Simply put, you offer a discount when certain conditions are met. Here are some common types of WooCommerce cart discounts.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here are some common types of WooCommerce cart discounts:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Percentage-based discounts<\/li>\n\n\n\n<li>Fixed amount discounts<\/li>\n\n\n\n<li>Category-specific discounts<\/li>\n\n\n\n<li>Product-specific discounts<\/li>\n\n\n\n<li>Bulk purchase discounts<\/li>\n\n\n\n<li>Free shipping discounts<\/li>\n\n\n\n<li>Buy one, get one (BOGO) discounts<\/li>\n\n\n\n<li>Cart total discounts<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">So, let\u2019s move on to how you can create such cart discounts for your store to skyrocket your sales.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-generate-woocommerce-cart-discounts\"><span class=\"ez-toc-section\" id=\"How_to_Generate_WooCommerce_Cart_Discounts\"><\/span>How to Generate WooCommerce Cart Discounts?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">There are several ways to create a WooCommerce cart discount, and you can choose the method that best fits your needs. You can use the built-in WooCommerce features, install a cart discount plugin, or even apply custom codes for more advanced discounts.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here are the methods we&#8217;ll explore to create WooCommerce cart discounts:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Using a Cart Discount Rules Plugin (Free &amp; requires no technical expertise)<\/strong><\/li>\n\n\n\n<li><strong>Using the WooCommerce Coupon Tool (Free, but requires a minimum WordPress function)<\/strong><\/li>\n\n\n\n<li><strong>Using Custom Codes in WooCommerce (Free and requires enough coding skills)<\/strong><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s begin with the plugin option first.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-create-woocommerce-cart-discounts-using-a-plugin\"><span class=\"ez-toc-section\" id=\"How_to_Create_WooCommerce_Cart_Discounts_Using_a_Plugin\"><\/span>How to Create WooCommerce Cart Discounts Using a Plugin<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Plugins are the ideal tools for setting up any type of discount that applies automatically to the cart. With plugins, you have flexibility and customization options to create advanced discount rules tailored to your customers\u2019 needs and expectations.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.chargeflow.io\/blog\/block-blacklist-fraudulent-customers-woocommerce\" target=\"_blank\" rel=\"noreferrer noopener\">WooCommerce store<\/a> have a wide range of discount plugins to choose from. We\u2019ve reviewed several of these options; our top reviewed WooCommerce cart discount plugin is <a href=\"https:\/\/wordpress.org\/plugins\/disco\/\" target=\"_blank\" rel=\"noreferrer noopener\">Disco<\/a>.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This plugin is packed with many advanced features and is <strong>entirely free<\/strong>!<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1175\" height=\"523\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/Disco-wordpress.png\" alt=\"WooCommerce Cart Discounts\" class=\"wp-image-22988\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/Disco-wordpress.png 1175w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/Disco-wordpress-768x342.png 768w\" sizes=\"auto, (max-width: 1175px) 100vw, 1175px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Whether you\u2019re aiming to set up volume discounts, BOGO deals, bundle discounts, or more complex options like conditional, customer-specific, or tiered discounts, Disco makes the process simple.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s begin with installing the plugin from the repository before exploring different WooCommerce cart discounts.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1168\" height=\"524\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/disco-WooCommerce-Discounts.png\" alt=\"disco WooCommerce Discounts\" class=\"wp-image-22989\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/disco-WooCommerce-Discounts.png 1168w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/disco-WooCommerce-Discounts-768x345.png 768w\" sizes=\"auto, (max-width: 1168px) 100vw, 1168px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After installation, Disco adds its menu to the left panel. Simply go to your dashboard and click on Disco to create a discount.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1349\" height=\"449\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/disco-plugin-wordpress.png\" alt=\"disco plugin wordpress\" class=\"wp-image-22990\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/disco-plugin-wordpress.png 1349w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/disco-plugin-wordpress-768x256.png 768w\" sizes=\"auto, (max-width: 1349px) 100vw, 1349px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The discount window includes all the sections needed to customize a discount rule. These options adjust based on the discount type you select.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1182\" height=\"1116\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin.png\" alt=\"WooCommerce Discount plugin\" class=\"wp-image-22991\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin.png 1182w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-768x725.png 768w\" sizes=\"auto, (max-width: 1182px) 100vw, 1182px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You can create different variable discounts in this. But, for now, I am showing you how to create cart discounts for your Woocommerce store.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, you can create 4 different types of cart discounts for your Woocommerce store:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Sitewide Cart Discount<\/strong><\/li>\n\n\n\n<li><strong>Category-Specific Cart Discount<\/strong><\/li>\n\n\n\n<li><strong>Product-Specific Cart Discount<\/strong><\/li>\n\n\n\n<li><strong>WooCommerce Cart Conditional Discount<\/strong><\/li>\n\n\n\n<li><strong>Cart Bulk Discount<\/strong><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-sitewide-cart-discount-20-off-on-all-products-during-this-festival\"><span class=\"ez-toc-section\" id=\"Sitewide_Cart_Discount_%E2%80%9C20_off_on_all_products_during_this_festival%E2%80%9D\"><\/span><strong>Sitewide Cart Discount: \u201c20% off on all products during this festival.\u201d<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">First, in the Discount Intent section, simply select the <strong>Cart <\/strong>option.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1096\" height=\"490\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-1.png\" alt=\"WooCommerce Discount plugin 1\" class=\"wp-image-22992\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-1.png 1096w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-1-768x343.png 768w\" sizes=\"auto, (max-width: 1096px) 100vw, 1096px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Here I\u2019ll apply this discount to all products. So, choose the &#8220;<strong>all products<\/strong>&#8221; option. Then, set the specific dates and the usage limit.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"984\" height=\"471\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-2.png\" alt=\"WooCommerce Discount plugin 2\" class=\"wp-image-22993\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-2.png 984w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-2-768x368.png 768w\" sizes=\"auto, (max-width: 984px) 100vw, 984px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Choose the &#8220;<strong>Percentage<\/strong>&#8221; option under <strong>Discount Type<\/strong> and enter your desired value (for example, 20).&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Simply hit <strong>Save &amp; Exit<\/strong> and this 20% discount will apply to all products during your specified weekend.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1139\" height=\"342\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-3.png\" alt=\"WooCommerce Discount plugin 3\" class=\"wp-image-22994\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-3.png 1139w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-3-768x231.png 768w\" sizes=\"auto, (max-width: 1139px) 100vw, 1139px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now, let\u2019s move on to the next cart discount type.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-category-specific-cart-discount-15-off-on-t-shirts\"><span class=\"ez-toc-section\" id=\"Category-Specific_Cart_Discount_%E2%80%9C15_off_on_t-shirts%E2%80%9D\"><\/span><strong>Category-Specific Cart Discount: \u201c15% off on t-shirts.\u201d<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Again, choose &#8220;<strong>Cart<\/strong>&#8221; again under <strong>Discount Intent<\/strong>. Similarly, select &#8220;<strong>All Products<\/strong>&#8221; and set the percentage value to (say, 15).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1131\" height=\"439\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-4.png\" alt=\"WooCommerce Discount plugin 4\" class=\"wp-image-22995\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-4.png 1131w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-4-768x298.png 768w\" sizes=\"auto, (max-width: 1131px) 100vw, 1131px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Here, you need to add a condition of this type.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With Disco, you can set different conditions to create discount strategies that fit your exact needs.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1118\" height=\"316\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-5.gif\" alt=\"WooCommerce Discount plugin 5\" class=\"wp-image-22996\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">For this example, we\u2019ll use the &#8220;<strong>Categories<\/strong>&#8221; condition.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"809\" height=\"429\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-6.png\" alt=\"WooCommerce Discount plugin 6\" class=\"wp-image-22997\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-6.png 809w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-6-768x407.png 768w\" sizes=\"auto, (max-width: 809px) 100vw, 809px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now, select the category you want to apply the cart discount to.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Just save your settings and add some products suppose from the T-shirt category, and you should see a 20% discount applied.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"756\" height=\"521\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-7.png\" alt=\"WooCommerce Discount plugin 7\" class=\"wp-image-22998\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In addition to showing discounts in the WooCommerce cart, Disco also displays WooCommerce cart discounts on your Shop and category pages.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-product-specific-cart-discount-20-off-on-a-specific-jacket\"><span class=\"ez-toc-section\" id=\"Product-Specific_Cart_Discount_%E2%80%9C20_off_on_a_specific_jacket%E2%80%9D\"><\/span><strong>Product-Specific Cart Discount: \u201c$20 off on a specific jacket.\u201d<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This time, to offer a fixed, flat $20 discount on a specific product, continue using the Cart intent. Again, go with the Few products option and select your specific ones.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Next, choose the &#8220;Fixed&#8221; option and set your discount value.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"906\" height=\"280\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-8.png\" alt=\"WooCommerce Discount plugin 8\" class=\"wp-image-22999\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-8.png 906w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-8-768x237.png 768w\" sizes=\"auto, (max-width: 906px) 100vw, 906px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">And, this is how it will show your discount.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"794\" height=\"440\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-9.png\" alt=\"WooCommerce Discount plugin 9\" class=\"wp-image-23000\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-9.png 794w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-9-768x426.png 768w\" sizes=\"auto, (max-width: 794px) 100vw, 794px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-woocommerce-cart-conditional-discount-15-off-on-100-or-more-shopping\"><span class=\"ez-toc-section\" id=\"WooCommerce_Cart_Conditional_Discount_%E2%80%9C15_off_on_100_or_more_shopping%E2%80%9D\"><\/span><strong>WooCommerce Cart Conditional Discount: \u201c15% off on $100 or more shopping\u201d<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">First, in the Cart section, select <strong>percentage<\/strong> in the Product Rules section. Next, add a condition by selecting &#8220;<strong>Cart Subtotal<\/strong>.&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1143\" height=\"442\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-10.png\" alt=\"WooCommerce Discount plugin 10\" class=\"wp-image-23001\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-10.png 1143w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-10-768x297.png 768w\" sizes=\"auto, (max-width: 1143px) 100vw, 1143px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Important Note:<\/strong> Some condition filters only appear when a specific discount intent is selected in the Discount Intent box. For cart-related conditions, make sure &#8220;<strong>Cart<\/strong>&#8221; is selected at the top.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Since we&#8217;re offering a discount for cart subtotals of $100 or more, select the &#8220;<strong>Greater than or Equal<\/strong>&#8221; option.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1128\" height=\"358\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-11.png\" alt=\"WooCommerce Discount plugin 11\" class=\"wp-image-23002\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-11.png 1128w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-11-768x244.png 768w\" sizes=\"auto, (max-width: 1128px) 100vw, 1128px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This discount is right there in the cart section of your customer.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1193\" height=\"496\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-12.png\" alt=\"WooCommerce Discount plugin 12\" class=\"wp-image-23003\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-12.png 1193w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-12-768x319.png 768w\" sizes=\"auto, (max-width: 1193px) 100vw, 1193px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-cart-bulk-discount-10-discount-on-5-items\"><span class=\"ez-toc-section\" id=\"Cart_Bulk_Discount_%E2%80%9C10_discount_on_5_items%E2%80%9D\"><\/span><strong>Cart Bulk Discount: \u201c10% discount on 5 items\u201d<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In this example, we\u2019re applying a discount to items in the cart. Here\u2019s the discount strategy:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>3-5 items: 10% discount<\/li>\n\n\n\n<li>6-10 items: 15% discount<\/li>\n\n\n\n<li>11+ items: 20% discount<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">For this, select the &#8220;<strong>Bulk Discount<\/strong>&#8221; option. This discount applies to all products.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1093\" height=\"483\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-13.png\" alt=\"WooCommerce Discount plugin 13\" class=\"wp-image-23004\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-13.png 1093w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-13-768x339.png 768w\" sizes=\"auto, (max-width: 1093px) 100vw, 1093px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Next, enter your values in the Bulk Rules box.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For the first rule, set the minimum quantity to 3, the maximum to 5, and the percentage to 10.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1137\" height=\"241\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-14.png\" alt=\"WooCommerce Discount plugin 14\" class=\"wp-image-23005\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-14.png 1137w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-14-768x163.png 768w\" sizes=\"auto, (max-width: 1137px) 100vw, 1137px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Click the &#8220;<strong>Add More<\/strong>&#8221; button and enter your second rule. Finally, add the third rule in the same way.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1127\" height=\"383\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-15.png\" alt=\"WooCommerce Discount plugin 15\" class=\"wp-image-23006\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-15.png 1127w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-15-768x261.png 768w\" sizes=\"auto, (max-width: 1127px) 100vw, 1127px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s check out how one 3-5 items on cart discount looks like:<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1183\" height=\"332\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-16.png\" alt=\"WooCommerce Discount plugin 16\" class=\"wp-image-23007\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-16.png 1183w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-16-768x216.png 768w\" sizes=\"auto, (max-width: 1183px) 100vw, 1183px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-create-woocommerce-cart-discounts-using-the-coupon-tool\"><span class=\"ez-toc-section\" id=\"How_to_Create_WooCommerce_Cart_Discounts_Using_the_Coupon_Tool\"><\/span>How to Create WooCommerce Cart Discounts Using the Coupon Tool<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The core WooCommerce platform includes a coupon tool for discounts. This tool allows you to create different types of coupon codes and set some basic conditions for your discounts.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Customers will need to manually enter the codes on the cart page to receive the discounts. Let\u2019s create some WooCommerce cart promotion coupons.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We\u2019ll start with a simple example: use code \u2018SUMMER20\u2019 for 15% off.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For this, go to <strong>Market &gt;&gt; Coupons <\/strong>and click the Add coupon button to start creating a coupon.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"915\" height=\"543\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-17.png\" alt=\"WooCommerce Discount plugin 17\" class=\"wp-image-23008\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-17.png 915w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-17-768x456.png 768w\" sizes=\"auto, (max-width: 915px) 100vw, 915px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Enter your coupon code, then choose &#8220;Percentage&#8221; from the Discount Type field.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"874\" height=\"531\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-18.png\" alt=\"WooCommerce Discount plugin 18\" class=\"wp-image-23009\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-18.png 874w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-18-768x467.png 768w\" sizes=\"auto, (max-width: 874px) 100vw, 874px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In the Coupon Amount box, enter the discount percentage.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"872\" height=\"311\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-19.png\" alt=\"WooCommerce Discount plugin 19\" class=\"wp-image-23010\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-19.png 872w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-19-768x274.png 768w\" sizes=\"auto, (max-width: 872px) 100vw, 872px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s it! To use the coupon, manually enter the code by clicking &#8220;<strong>Add a Coupon<\/strong>,&#8221; then apply it to get 15% off the cart subtotal.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1170\" height=\"497\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-20.png\" alt=\"WooCommerce Discount plugin 20\" class=\"wp-image-23011\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-20.png 1170w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-20-768x326.png 768w\" sizes=\"auto, (max-width: 1170px) 100vw, 1170px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">And, your customer will get the discount just under the subtotal purchase amount.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1161\" height=\"497\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-21.png\" alt=\"WooCommerce Discount plugin 21\" class=\"wp-image-23012\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-21.png 1161w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-21-768x329.png 768w\" sizes=\"auto, (max-width: 1161px) 100vw, 1161px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now, let\u2019s create a discount based on the cart subtotal. For example, a 15% discount when the subtotal reaches $100 or more.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The previous settings will stay the same. This time, add the condition in the <strong>Usage Restrictions tab<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"847\" height=\"544\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-22.png\" alt=\"WooCommerce Discount plugin 22\" class=\"wp-image-23013\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-22.png 847w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-22-768x493.png 768w\" sizes=\"auto, (max-width: 847px) 100vw, 847px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In this example, use the Minimum Spend field and enter 100.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"872\" height=\"365\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-23.png\" alt=\"WooCommerce Discount plugin 23\" class=\"wp-image-23014\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-23.png 872w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-23-768x321.png 768w\" sizes=\"auto, (max-width: 872px) 100vw, 872px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Save your coupon, then go to the front end. If you refresh your cart, the discount won\u2019t apply yet because you\u2019ve added a condition.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1183\" height=\"563\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-24.png\" alt=\"WooCommerce Discount plugin 24\" class=\"wp-image-23015\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-24.png 1183w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-24-768x365.png 768w\" sizes=\"auto, (max-width: 1183px) 100vw, 1183px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Add products or increase quantities to reach $100 or more, then apply the code again.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Besides setting minimum amounts, you can add other conditions to your WooCommerce cart discounts, like applying discounts to specific categories or products. You can select these from the available settings.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"732\" height=\"348\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-25.png\" alt=\"WooCommerce Discount plugin 25\" class=\"wp-image-23016\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Coupons are great for promoting products and boosting conversions.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, since customers must apply them manually and WooCommerce\u2019s built-in tool has limited features, consider using free coupon plugins like&nbsp; Disco to create more advanced discount strategies.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-create-woocommerce-cart-discounts-using-custom-codes\"><span class=\"ez-toc-section\" id=\"How_to_Create_WooCommerce_Cart_Discounts_using_Custom_Codes\"><\/span>How to Create WooCommerce Cart Discounts using Custom Codes<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you\u2019re comfortable adding custom code to your theme file, you can set up nearly any type of WooCommerce cart discount this way. However, we don\u2019t recommend this method for beginners, as it can risk breaking your entire WooCommerce store.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, let\u2019s create a combination bundle cart discount.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, let\u2019s offer a 10% discount when a customer buys a T-shirt, a cap, and sunglasses together.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For this, go to your WordPress Dashboard. Then navigate to <strong>Appearance &gt;&gt; Theme Editor or Tools &gt;&gt; Theme Editor<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"717\" height=\"341\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-26.png\" alt=\"WooCommerce Discount plugin 26\" class=\"wp-image-23017\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now, open the <strong>functions.php<\/strong> file of your active theme. Scroll to the bottom and press Enter to create some space for the new code.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1176\" height=\"593\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-27.png\" alt=\"WooCommerce Discount plugin 27\" class=\"wp-image-23018\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-27.png 1176w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-27-768x387.png 768w\" sizes=\"auto, (max-width: 1176px) 100vw, 1176px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Then, add this custom code in the section.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>add_action(&#8216;woocommerce_cart_calculate_fees&#8217;, &#8216;custom_discount_for_bundle&#8217;, 10, 1);<br>function custom_discount_for_bundle($cart) {<br>&nbsp;&nbsp;&nbsp;if (is_admin() &amp;&amp; !defined(&#8216;DOING_AJAX&#8217;)) return;<br>&nbsp;&nbsp;&nbsp;$tshirt_id = 123; \/\/ Replace with actual product ID<br>&nbsp;&nbsp;&nbsp;$cap_id = 456; \/\/ Replace with actual product ID<br>&nbsp;&nbsp;&nbsp;$sunglass_id = 789; \/\/ Replace with actual product ID<br>&nbsp;&nbsp;&nbsp;$has_tshirt = $has_cap = $has_sunglass = false;<br>&nbsp;&nbsp;&nbsp;foreach ($cart-&gt;get_cart() as $cart_item) {<br>&nbsp;&nbsp;&nbsp;if ($cart_item[&#8216;product_id&#8217;] == $tshirt_id || $cart_item[&#8216;variation_id&#8217;] == $tshirt_id) $has_tshirt = true;<br>&nbsp;&nbsp;&nbsp;if ($cart_item[&#8216;product_id&#8217;] == $cap_id || $cart_item[&#8216;variation_id&#8217;] == $cap_id) $has_cap = true;<br>&nbsp;&nbsp;&nbsp;if ($cart_item[&#8216;product_id&#8217;] == $sunglass_id || $cart_item[&#8216;variation_id&#8217;] == $sunglass_id) $has_sunglass = true;<br>&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;if ($has_tshirt &amp;&amp; $has_cap &amp;&amp; $has_sunglass) {<br>&nbsp;&nbsp;&nbsp;$discount = $cart-&gt;subtotal * 0.10; \/\/ 10% discount based on original subtotal<br>&nbsp;&nbsp;&nbsp;$cart-&gt;add_fee(__(&#8216;Bundle Discount&#8217;, &#8216;woocommerce&#8217;), -$discount);<br>&nbsp;&nbsp;&nbsp;}<br>}<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Next, go to <strong>Products &gt;&gt; All Products<\/strong>. Search for the product, then hover your mouse over it to view the product ID.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1330\" height=\"474\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-28.png\" alt=\"WooCommerce Discount plugin 28\" class=\"wp-image-23019\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-28.png 1330w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-28-768x274.png 768w\" sizes=\"auto, (max-width: 1330px) 100vw, 1330px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Similarly, collect the other <strong>product ID<\/strong>s and replace them in your code.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once you&#8217;ve done that, click &#8220;<strong>Update File<\/strong>&#8221; to save the changes to <strong>functions.php<\/strong>. This code will apply a 10% discount when all the specified products are in the cart.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"606\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-29.png\" alt=\"WooCommerce Discount plugin 29\" class=\"wp-image-23020\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-29.png 1200w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Discount-plugin-29-768x388.png 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-best-practices-for-creating-woocommerce-cart-discounts\"><span class=\"ez-toc-section\" id=\"Best_Practices_for_Creating_WooCommerce_Cart_Discounts\"><\/span>Best Practices for Creating WooCommerce Cart Discounts<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Define Your Goals<\/strong>: First, think about what you want to achieve with your discounts. Are you trying to boost sales, get rid of old stock, or attract new customers? Whatever it is, make sure your discount strategy supports your overall business goals.<\/li>\n\n\n\n<li><strong>Understand Your Target Audience<\/strong>: Get to know your customers and what they like. Do they care about saving money, or do they prefer fast shipping? Once you understand what motivates them, you can create discounts that match their needs. For example, a percentage off might appeal to bargain hunters, while free shipping could attract those who value convenience.<\/li>\n\n\n\n<li><strong>Choose the Right Discount Type<\/strong>: Pick a discount that fits your goals and speaks to your audience. Try different types, like percentage discounts or fixed amounts, and see which ones work best for your store. Again, make sure the terms of your discount are easy to understand.&nbsp;<\/li>\n\n\n\n<li><strong>Create a Sense of Urgency<\/strong>: To get customers to act fast, and offer time-limited discounts or flash sales. A countdown timer can add to the urgency to make your customers feel like they need to grab the deal before it\u2019s gone.<\/li>\n\n\n\n<li><strong>Promote Your Discounts Effectively<\/strong>: Don\u2019t let your discounts go unnoticed. Share them on your website, through email, and on social media. Use bright, eye-catching images to make your offer stand out and get people excited.<\/li>\n\n\n\n<li><strong>Consider Customer Segmentation<\/strong>: Remember, not all customers are the same. Offer discounts based on their past shopping habits or preferences. Personalizing the discount experience will make your customers feel special and more likely to buy.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:23px\"><strong>Conclusion:)<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Cart discounts in WooCommerce are a great way to boost sales and engage your customers. Whether you use built-in coupons, plugins like Disco, or custom code, there are plenty of options to fit your needs.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Again, always make sure to set clear conditions and test your discounts to see what works best. Keep an eye on performance to ensure you&#8217;re driving sales without hurting your profits. With the right strategy, cart discounts can help grow your store and build customer loyalty.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Read also:)<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.oflox.com\/blog\/how-to-migrate-a-wordpress-website\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Migrate a WordPress Website: A Step-by-Step Guide!<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.oflox.com\/blog\/how-to-create-a-cms-like-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Create a CMS Like WordPress: A Step-by-Step Guide!<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.oflox.com\/blog\/how-to-host-a-wordpress-website-for-free\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Host a WordPress Website for Free: A Step-by-Step Guide!<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Have questions or additional tips to share? We\u2019d love to hear from you! Leave a comment below with your thoughts or experiences, and let\u2019s keep the conversation going.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article is your ultimate resource for understanding the process of How to Create WooCommerce Cart Discounts. Gain expert knowledge &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Create WooCommerce Cart Discounts: A Complete Guide!\" class=\"read-more button\" href=\"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/#more-22984\" aria-label=\"More on How to Create WooCommerce Cart Discounts: A Complete Guide!\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":23023,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2345],"tags":[37268,37281,37269,37266,37267,37260,37277,37263,37261,37272,37274,37262,37271,37279,37256,37258,37273,37275,37276,37270,37265,37257,37264,37280,37278,37259],"class_list":["post-22984","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-internet","tag-affiliate-coupon-plugin-wordpress","tag-best-discount-plugin-for-woocommerce","tag-best-wordpress-coupon-plugin","tag-disco-plugin","tag-disco-woocommerce-plugin","tag-disco-wordpress","tag-discount-rules-for-woocommerce-free","tag-free-wordpress-coupon-plugin","tag-how-to-create-woocommerce-cart-discounts","tag-how-to-use-wordpress-discount-plugin","tag-woocommerce-bulk-discount-plugin","tag-woocommerce-cart-discounts","tag-woocommerce-discount-percentage","tag-woocommerce-discount-plugin","tag-woocommerce-discounts","tag-woocommerce-discounts-plugin","tag-wordpress-coupon-code","tag-wordpress-coupon-code-2025","tag-wordpress-coupon-code-free","tag-wordpress-coupon-code-india","tag-wordpress-coupon-plugin","tag-wordpress-coupon-plugin-free-download","tag-wordpress-discount-plugin","tag-wordpress-discount-plugin-free","tag-wordpress-discount-plugin-free-download","tag-wordpress-discounts","resize-featured-image"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Create WooCommerce Cart Discounts: A Complete Guide!<\/title>\n<meta name=\"description\" content=\"This article is your ultimate resource for understanding the process of How to Create WooCommerce Cart Discounts. Gain expert knowledge\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create WooCommerce Cart Discounts: A Complete Guide!\" \/>\n<meta property=\"og:description\" content=\"This article is your ultimate resource for understanding the process of How to Create WooCommerce Cart Discounts. Gain expert knowledge\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/\" \/>\n<meta property=\"og:site_name\" content=\"Oflox\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ofloxindia\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/ofloxindia\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-21T10:35:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-14T13:39:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Cart-Discounts.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2240\" \/>\n\t<meta property=\"og:image:height\" content=\"1260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Editorial Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@oflox3\" \/>\n<meta name=\"twitter:site\" content=\"@oflox3\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Editorial Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"16 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-create-woocommerce-cart-discounts\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-create-woocommerce-cart-discounts\\\/\"},\"author\":{\"name\":\"Editorial Team\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#\\\/schema\\\/person\\\/967235da2149ca663a607d1c0acd4f81\"},\"headline\":\"How to Create WooCommerce Cart Discounts: A Complete Guide!\",\"datePublished\":\"2024-11-21T10:35:43+00:00\",\"dateModified\":\"2025-05-14T13:39:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-create-woocommerce-cart-discounts\\\/\"},\"wordCount\":2146,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-create-woocommerce-cart-discounts\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/WooCommerce-Cart-Discounts.jpg\",\"keywords\":[\"Affiliate coupon plugin WordPress\",\"Best discount plugin for WooCommerce\",\"Best wordpress coupon plugin\",\"Disco plugin\",\"Disco WooCommerce plugin\",\"Disco Wordpress\",\"Discount rules for WooCommerce free\",\"Free wordpress coupon plugin\",\"How to Create WooCommerce Cart Discounts\",\"How to use wordpress discount plugin\",\"WooCommerce bulk discount plugin\",\"WooCommerce Cart Discounts\",\"WooCommerce discount percentage\",\"WooCommerce discount plugin\",\"WooCommerce Discounts\",\"WooCommerce Discounts Plugin\",\"WordPress coupon code\",\"WordPress coupon code 2025\",\"WordPress coupon code free\",\"WordPress coupon code India\",\"wordpress coupon plugin\",\"Wordpress coupon plugin free download\",\"Wordpress discount plugin\",\"Wordpress discount plugin free\",\"Wordpress discount plugin free download\",\"WordPress Discounts\"],\"articleSection\":[\"Internet\"],\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-create-woocommerce-cart-discounts\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-create-woocommerce-cart-discounts\\\/\",\"url\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-create-woocommerce-cart-discounts\\\/\",\"name\":\"How to Create WooCommerce Cart Discounts: A Complete Guide!\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-create-woocommerce-cart-discounts\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-create-woocommerce-cart-discounts\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/WooCommerce-Cart-Discounts.jpg\",\"datePublished\":\"2024-11-21T10:35:43+00:00\",\"dateModified\":\"2025-05-14T13:39:40+00:00\",\"description\":\"This article is your ultimate resource for understanding the process of How to Create WooCommerce Cart Discounts. Gain expert knowledge\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-create-woocommerce-cart-discounts\\\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-create-woocommerce-cart-discounts\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-create-woocommerce-cart-discounts\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/WooCommerce-Cart-Discounts.jpg\",\"contentUrl\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/WooCommerce-Cart-Discounts.jpg\",\"width\":2240,\"height\":1260,\"caption\":\"WooCommerce Cart Discounts\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/how-to-create-woocommerce-cart-discounts\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create WooCommerce Cart Discounts: A Complete Guide!\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/\",\"name\":\"Oflox\",\"description\":\"India&rsquo;s #1 Trusted Digital Marketing Company\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#organization\",\"name\":\"Oflox\",\"url\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/Ab2vH5fv3tj5gKpW_G3bKT_Ozlxpt4IkokKOWQoC7X_fvRHLGT_gR-qhQzXVxHhnl9u3yGY1rfxR7jvSz6DA6gw355-h355.jpg\",\"contentUrl\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/Ab2vH5fv3tj5gKpW_G3bKT_Ozlxpt4IkokKOWQoC7X_fvRHLGT_gR-qhQzXVxHhnl9u3yGY1rfxR7jvSz6DA6gw355-h355.jpg\",\"width\":355,\"height\":355,\"caption\":\"Oflox\"},\"image\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/ofloxindia\",\"https:\\\/\\\/x.com\\\/oflox3\",\"https:\\\/\\\/www.instagram.com\\\/ofloxindia\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#\\\/schema\\\/person\\\/967235da2149ca663a607d1c0acd4f81\",\"name\":\"Editorial Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ff86524713a69d2c211ad6cbec38fb15eb59030ba5e59ddad406dfb7eb4e5b0c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ff86524713a69d2c211ad6cbec38fb15eb59030ba5e59ddad406dfb7eb4e5b0c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ff86524713a69d2c211ad6cbec38fb15eb59030ba5e59ddad406dfb7eb4e5b0c?s=96&d=mm&r=g\",\"caption\":\"Editorial Team\"},\"sameAs\":[\"https:\\\/\\\/www.oflox.com\\\/\",\"https:\\\/\\\/www.facebook.com\\\/ofloxindia\\\/\",\"https:\\\/\\\/www.instagram.com\\\/ofloxindia\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/ofloxindia\\\/\",\"https:\\\/\\\/x.com\\\/oflox3\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create WooCommerce Cart Discounts: A Complete Guide!","description":"This article is your ultimate resource for understanding the process of How to Create WooCommerce Cart Discounts. Gain expert knowledge","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/","og_locale":"en_US","og_type":"article","og_title":"How to Create WooCommerce Cart Discounts: A Complete Guide!","og_description":"This article is your ultimate resource for understanding the process of How to Create WooCommerce Cart Discounts. Gain expert knowledge","og_url":"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/","og_site_name":"Oflox","article_publisher":"https:\/\/www.facebook.com\/ofloxindia","article_author":"https:\/\/www.facebook.com\/ofloxindia\/","article_published_time":"2024-11-21T10:35:43+00:00","article_modified_time":"2025-05-14T13:39:40+00:00","og_image":[{"width":2240,"height":1260,"url":"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Cart-Discounts.jpg","type":"image\/jpeg"}],"author":"Editorial Team","twitter_card":"summary_large_image","twitter_creator":"@oflox3","twitter_site":"@oflox3","twitter_misc":{"Written by":"Editorial Team","Est. reading time":"16 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/#article","isPartOf":{"@id":"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/"},"author":{"name":"Editorial Team","@id":"https:\/\/www.oflox.com\/blog\/#\/schema\/person\/967235da2149ca663a607d1c0acd4f81"},"headline":"How to Create WooCommerce Cart Discounts: A Complete Guide!","datePublished":"2024-11-21T10:35:43+00:00","dateModified":"2025-05-14T13:39:40+00:00","mainEntityOfPage":{"@id":"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/"},"wordCount":2146,"commentCount":0,"publisher":{"@id":"https:\/\/www.oflox.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/#primaryimage"},"thumbnailUrl":"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Cart-Discounts.jpg","keywords":["Affiliate coupon plugin WordPress","Best discount plugin for WooCommerce","Best wordpress coupon plugin","Disco plugin","Disco WooCommerce plugin","Disco Wordpress","Discount rules for WooCommerce free","Free wordpress coupon plugin","How to Create WooCommerce Cart Discounts","How to use wordpress discount plugin","WooCommerce bulk discount plugin","WooCommerce Cart Discounts","WooCommerce discount percentage","WooCommerce discount plugin","WooCommerce Discounts","WooCommerce Discounts Plugin","WordPress coupon code","WordPress coupon code 2025","WordPress coupon code free","WordPress coupon code India","wordpress coupon plugin","Wordpress coupon plugin free download","Wordpress discount plugin","Wordpress discount plugin free","Wordpress discount plugin free download","WordPress Discounts"],"articleSection":["Internet"],"inLanguage":"en","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/","url":"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/","name":"How to Create WooCommerce Cart Discounts: A Complete Guide!","isPartOf":{"@id":"https:\/\/www.oflox.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/#primaryimage"},"image":{"@id":"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/#primaryimage"},"thumbnailUrl":"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Cart-Discounts.jpg","datePublished":"2024-11-21T10:35:43+00:00","dateModified":"2025-05-14T13:39:40+00:00","description":"This article is your ultimate resource for understanding the process of How to Create WooCommerce Cart Discounts. Gain expert knowledge","breadcrumb":{"@id":"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/"]}]},{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/#primaryimage","url":"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Cart-Discounts.jpg","contentUrl":"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2024\/11\/WooCommerce-Cart-Discounts.jpg","width":2240,"height":1260,"caption":"WooCommerce Cart Discounts"},{"@type":"BreadcrumbList","@id":"https:\/\/www.oflox.com\/blog\/how-to-create-woocommerce-cart-discounts\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.oflox.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Create WooCommerce Cart Discounts: A Complete Guide!"}]},{"@type":"WebSite","@id":"https:\/\/www.oflox.com\/blog\/#website","url":"https:\/\/www.oflox.com\/blog\/","name":"Oflox","description":"India&rsquo;s #1 Trusted Digital Marketing Company","publisher":{"@id":"https:\/\/www.oflox.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.oflox.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/www.oflox.com\/blog\/#organization","name":"Oflox","url":"https:\/\/www.oflox.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/www.oflox.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2020\/05\/Ab2vH5fv3tj5gKpW_G3bKT_Ozlxpt4IkokKOWQoC7X_fvRHLGT_gR-qhQzXVxHhnl9u3yGY1rfxR7jvSz6DA6gw355-h355.jpg","contentUrl":"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2020\/05\/Ab2vH5fv3tj5gKpW_G3bKT_Ozlxpt4IkokKOWQoC7X_fvRHLGT_gR-qhQzXVxHhnl9u3yGY1rfxR7jvSz6DA6gw355-h355.jpg","width":355,"height":355,"caption":"Oflox"},"image":{"@id":"https:\/\/www.oflox.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ofloxindia","https:\/\/x.com\/oflox3","https:\/\/www.instagram.com\/ofloxindia"]},{"@type":"Person","@id":"https:\/\/www.oflox.com\/blog\/#\/schema\/person\/967235da2149ca663a607d1c0acd4f81","name":"Editorial Team","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/secure.gravatar.com\/avatar\/ff86524713a69d2c211ad6cbec38fb15eb59030ba5e59ddad406dfb7eb4e5b0c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ff86524713a69d2c211ad6cbec38fb15eb59030ba5e59ddad406dfb7eb4e5b0c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ff86524713a69d2c211ad6cbec38fb15eb59030ba5e59ddad406dfb7eb4e5b0c?s=96&d=mm&r=g","caption":"Editorial Team"},"sameAs":["https:\/\/www.oflox.com\/","https:\/\/www.facebook.com\/ofloxindia\/","https:\/\/www.instagram.com\/ofloxindia\/","https:\/\/www.linkedin.com\/company\/ofloxindia\/","https:\/\/x.com\/oflox3"]}]}},"_links":{"self":[{"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/posts\/22984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/comments?post=22984"}],"version-history":[{"count":2,"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/posts\/22984\/revisions"}],"predecessor-version":[{"id":27539,"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/posts\/22984\/revisions\/27539"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/media\/23023"}],"wp:attachment":[{"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/media?parent=22984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/categories?post=22984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/tags?post=22984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}