{"id":91,"date":"2017-02-15T11:18:35","date_gmt":"2017-02-15T11:18:35","guid":{"rendered":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts-new\/?p=91"},"modified":"2023-09-18T13:10:44","modified_gmt":"2023-09-18T13:10:44","slug":"create-rule-cart-discount","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/","title":{"rendered":"Cart discount"},"content":{"rendered":"\n<p>This specific type of discount allows you to create discount rules based on the cart contents.<\/p>\n\n\n\n<p>To create a new rule, go to the tab<strong>&nbsp;Dynamic Rules,<\/strong>&nbsp;click on the +&nbsp;<strong>Add rule&nbsp;<\/strong>button and select the&nbsp;<strong><em>Cart discount<\/em><\/strong>&nbsp;template or click on <strong><em>Set a cart discount<\/em><\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-discount.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"948\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-discount.jpg\" alt=\"Cart discount\" class=\"wp-image-2046\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-discount.jpg 1080w, https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-discount-300x263.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-discount-1024x899.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-discount-768x674.jpg 768w\" sizes=\"auto, (max-width: 1080px) 100vw, 1080px\" \/><\/a><\/figure>\n\n\n\n<p>Now, enter a name for this rule in order to easily identify it among those you will create, and give it a priority. To learn more about rule priorities, please go to&nbsp;<a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/rule-priority\/\" target=\"_blank\" rel=\"noreferrer noopener\">this page.<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-general-options.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1388\" height=\"606\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-general-options.jpg\" alt=\"Cart rule general options\" class=\"wp-image-2047\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-general-options.jpg 1388w, https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-general-options-300x131.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-general-options-1024x447.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-general-options-768x335.jpg 768w\" sizes=\"auto, (max-width: 1388px) 100vw, 1388px\" \/><\/a><\/figure>\n\n\n\n<p>Let\u2019s now analyze the other options available for this rule type:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#trigger-options\">Trigger options<\/a><\/li>\n\n\n\n<li><a href=\"#rule-configuration\">Rule configuration<\/a><\/li>\n\n\n\n<li><a href=\"#rule-application\">Rule application<\/a><\/li>\n\n\n\n<li><a href=\"#customization\">Customization<\/a><\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading has-dark-gray-color has-text-color\" id=\"trigger-options\">Trigger options <\/h4>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-trigger-options.jpg\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1318\" height=\"356\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-trigger-options.jpg\" alt=\"Cart rule trigger options\" class=\"wp-image-2048\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-trigger-options.jpg 1318w, https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-trigger-options-300x81.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-trigger-options-1024x277.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-trigger-options-768x207.jpg 768w\" sizes=\"auto, (max-width: 1318px) 100vw, 1318px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Apply discount: <\/strong>choose whether to <strong>always<\/strong> apply the rule or <strong>only when specific conditions are met. <\/strong>By selecting the latter option, you can add the cart conditions by clicking on the <strong>Add conditions<\/strong> button. To learn how to create conditions, please go to <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/set-discount-rules-cart-discount\/\" target=\"_blank\" rel=\"noreferrer noopener\">this page<\/a>.<\/li>\n<\/ul>\n\n\n\n<p>If the conditions are met in the cart, the rules will apply based on their priority, so for example, you can apply a 50% (rule with priority 1) and an additional 20% (rule with priority 2) on the same products.<\/p>\n\n\n\n<p class=\"has-docs-yellow-background-color has-background\">Note: there are two distinct priority lists for rules&nbsp;<strong>Price Rules<\/strong>&nbsp;and&nbsp;<strong>Cart Discounts<\/strong>. Even though they are listed in a unique list, they have a separate priority, because one applies to the cart, others at the product level.<\/p>\n\n\n\n<h4 class=\"wp-block-heading has-dark-gray-color has-text-color\" id=\"rule-configuration\">Rule configuration <\/h4>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-configuration.jpg\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1430\" height=\"432\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-configuration.jpg\" alt=\"Cart rule configuration\" class=\"wp-image-2049\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-configuration.jpg 1430w, https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-configuration-300x91.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-configuration-1024x309.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-configuration-768x232.jpg 768w\" sizes=\"auto, (max-width: 1430px) 100vw, 1430px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Apply coupon<\/strong>: enable this option if you want to set the discount as a coupon.\n<ul class=\"wp-block-list\">\n<li><strong>Coupon to apply: <\/strong>set up the type of discount and the amount that will apply if all the conditions are met. You can choose three types of discounts:\n<ul class=\"wp-block-list\">\n<li><strong>percentage discount<\/strong><\/li>\n\n\n\n<li><strong>price discount<\/strong><\/li>\n\n\n\n<li><strong>fixed<\/strong>&nbsp;<strong>price<\/strong>: the cart total will be the amount that you set here.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>Please consider that when you choose a&nbsp;<strong>fixed price,<\/strong>&nbsp;the rule cannot be combined with other discount rules since the cart total must be equal to the amount you set up here.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Allow free shipping<\/strong>: enable to offer &#8216;free shipping&#8217; when this rule applies.<\/li>\n<\/ul>\n\n\n\n<p>For more information on setting up free shipping check the <a href=\"https:\/\/docs.woocommerce.com\/document\/free-shipping\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">WooCommerce Documentation<\/a>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading has-dark-gray-color has-text-color\" id=\"rule-application\">Rule application <\/h4>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-application.jpg\" data-rel=\"lightbox-image-4\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1470\" height=\"322\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-application.jpg\" alt=\"Cart rule application\" class=\"wp-image-2056\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-application.jpg 1470w, https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-application-300x66.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-application-1024x224.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-application-768x168.jpg 768w\" sizes=\"auto, (max-width: 1470px) 100vw, 1470px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Schedule rule<\/strong>: choose whether to schedule the rule or activate\/deactivate it manually.<\/li>\n\n\n\n<li><strong>Disable when a coupon has been applied<\/strong>: enable this option if you don&#8217;t want the rule to be applied if the user use a coupon code.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Customization <\/h4>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-customization.jpg\" data-rel=\"lightbox-image-5\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1470\" height=\"736\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-customization.jpg\" alt=\"Cart rule customization\" class=\"wp-image-2060\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-customization.jpg 1470w, https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-customization-300x150.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-customization-1024x513.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-rule-customization-768x385.jpg 768w\" sizes=\"auto, (max-width: 1470px) 100vw, 1470px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Show a notice in the cart: <\/strong>enable this option to show a special notice on the cart page, to inform the customer about the possible discount rules that are\/can be applied.\n<ul class=\"wp-block-list\">\n<li><strong>Cart notice: <\/strong>use the built-in editor to configure the notice.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Cart notice background: <\/strong>set the color for the notice background.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This specific type of discount allows you to create discount rules based on the cart contents. To create a new rule, go to the tab&nbsp;Dynamic Rules,&nbsp;click on the +&nbsp;Add rule&nbsp;button and select the&nbsp;Cart discount&nbsp;template or click on Set a cart discount. Now, enter a name for this rule in order to easily identify it among &hellip; <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Cart discount<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-91","post","type-post","status-publish","format-standard","hentry","category-dynamic-rules"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>YITH Dynamic Pricing and Discounts: Cart discount<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YITH Dynamic Pricing and Discounts: Cart discount\" \/>\n<meta property=\"og:description\" content=\"This specific type of discount allows you to create discount rules based on the cart contents. To create a new rule, go to the tab&nbsp;Dynamic Rules,&nbsp;click on the +&nbsp;Add rule&nbsp;button and select the&nbsp;Cart discount&nbsp;template or click on Set a cart discount. Now, enter a name for this rule in order to easily identify it among &hellip; Continue reading Cart discount\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH WooCommerce Dynamic Pricing &amp; Discounts\" \/>\n<meta property=\"article:published_time\" content=\"2017-02-15T11:18:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-18T13:10:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-discount.jpg\" \/>\n<meta name=\"author\" content=\"Alessio Torrisi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alessio Torrisi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/\",\"name\":\"YITH Dynamic Pricing and Discounts: Cart discount\",\"isPartOf\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-discount.jpg\",\"datePublished\":\"2017-02-15T11:18:35+00:00\",\"dateModified\":\"2023-09-18T13:10:44+00:00\",\"author\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\"},\"breadcrumb\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/#primaryimage\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-discount.jpg\",\"contentUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-discount.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cart discount\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/#website\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/\",\"name\":\"YITH WooCommerce Dynamic Pricing &amp; Discounts\",\"description\":\"Plugin documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\",\"name\":\"Alessio Torrisi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g\",\"caption\":\"Alessio Torrisi\"},\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/author\/alessio\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YITH Dynamic Pricing and Discounts: Cart discount","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:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/","og_locale":"en_US","og_type":"article","og_title":"YITH Dynamic Pricing and Discounts: Cart discount","og_description":"This specific type of discount allows you to create discount rules based on the cart contents. To create a new rule, go to the tab&nbsp;Dynamic Rules,&nbsp;click on the +&nbsp;Add rule&nbsp;button and select the&nbsp;Cart discount&nbsp;template or click on Set a cart discount. Now, enter a name for this rule in order to easily identify it among &hellip; Continue reading Cart discount","og_url":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/","og_site_name":"YITH WooCommerce Dynamic Pricing &amp; Discounts","article_published_time":"2017-02-15T11:18:35+00:00","article_modified_time":"2023-09-18T13:10:44+00:00","og_image":[{"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-discount.jpg","type":"","width":"","height":""}],"author":"Alessio Torrisi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Alessio Torrisi","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/","name":"YITH Dynamic Pricing and Discounts: Cart discount","isPartOf":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/#primaryimage"},"image":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/#primaryimage"},"thumbnailUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-discount.jpg","datePublished":"2017-02-15T11:18:35+00:00","dateModified":"2023-09-18T13:10:44+00:00","author":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5"},"breadcrumb":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/#primaryimage","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-discount.jpg","contentUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-content\/uploads\/sites\/261\/2023\/09\/Cart-discount.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/create-rule-cart-discount\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/"},{"@type":"ListItem","position":2,"name":"Cart discount"}]},{"@type":"WebSite","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/#website","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/","name":"YITH WooCommerce Dynamic Pricing &amp; Discounts","description":"Plugin documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5","name":"Alessio Torrisi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g","caption":"Alessio Torrisi"},"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/author\/alessio\/"}]}},"_links":{"self":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-json\/wp\/v2\/posts\/91","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-json\/wp\/v2\/comments?post=91"}],"version-history":[{"count":23,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-json\/wp\/v2\/posts\/91\/revisions"}],"predecessor-version":[{"id":2266,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-json\/wp\/v2\/posts\/91\/revisions\/2266"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-json\/wp\/v2\/media?parent=91"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-json\/wp\/v2\/categories?post=91"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-dynamic-pricing-and-discounts\/wp-json\/wp\/v2\/tags?post=91"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}