{"id":8325,"date":"2018-01-29T15:32:33","date_gmt":"2018-01-29T15:32:33","guid":{"rendered":"https:\/\/blog.mageworx.com\/?p=8325"},"modified":"2022-11-09T10:25:25","modified_gmt":"2022-11-09T10:25:25","slug":"how-to-create-catalog-price-rule-in-magento-2","status":"publish","type":"post","link":"https:\/\/www.mageworx.com\/blog\/how-to-create-catalog-price-rule-in-magento-2","title":{"rendered":"How to Create Catalog Price Rule in Magento 2"},"content":{"rendered":"\n<!-- SEO Ultimate (http:\/\/www.seodesignsolutions.com\/wordpress-seo\/) - Code Inserter module -->\n<!-- Google Tag Manager (noscript) -->\r\n<noscript><iframe src=\"https:\/\/www.googletagmanager.com\/ns.html?id=GTM-5DTCW7B8\"\r\nheight=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"><\/iframe><\/noscript>\r\n<!-- End Google Tag Manager (noscript) -->\n<!-- \/SEO Ultimate -->\n\n<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span><p>Discounts are a popular way of ensuring that site visitors convert into paying customers. In fact, many visitors make their purchase decision based on the volume of discounts offered by an online store.<\/p>\n<p>Offering discounts on Magento 2 stores is a matter of creating catalog price rules. This tutorial covers this topic and offers step-by-step coverage of the process.<\/p>\n<p><em>For the purpose of this tutorial, my test scenario is a 10% discount on all Samsung phones sold on the store.<\/em><\/p>\n<p>Let\u2019s start!<!--more--><\/p>\n<p>Go to <strong>Marketing \u2192 Catalog Price Rule<\/strong> from the Admin Panel of the store:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8322\" src=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image1.png\" alt=\"\" width=\"523\" height=\"446\"><\/p>\n<p>Click <strong>Add New Rule<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-8326\" src=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image2-1200x178.png\" alt=\"\" width=\"1200\" height=\"178\" srcset=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image2-1200x178.png 1200w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image2-600x89.png 600w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image2-768x114.png 768w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image2.png 1221w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>You will be redirected to <strong>New Catalog Price Rule<\/strong> page. First, go to the <strong>Rule Information<\/strong> section:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8327\" src=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image3.png\" alt=\"\" width=\"921\" height=\"529\" srcset=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image3.png 921w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image3-600x345.png 600w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image3-768x441.png 768w\" sizes=\"auto, (max-width: 921px) 100vw, 921px\" \/><\/p>\n<p><strong>Rule Name:<\/strong> &nbsp;Enter the name of your rule. Note that the name should be descriptive enough so that you could remember the specifics of the offer. In my example, I have named the rule: <em>10% OFF on all Samsung Mobiles<\/em>.<\/p>\n<p><strong>Description:<\/strong> Enter the description of the rule. I have entered the name as the description.<\/p>\n<p><strong>Status:<\/strong> Select <em>Active<\/em> to activate the rule.<\/p>\n<p><strong>Websites:<\/strong> Select websites to apply the rule to.<\/p>\n<p><strong>Customer Groups:<\/strong> Select the customer groups (from the available options) that can avail the price rule (and the discount).<\/p>\n<p><strong>From:<\/strong> Select the date from when the rule is applicable.<\/p>\n<p><strong>To:<\/strong> Select the date until the rule remains applicable.<\/p>\n<p><strong>Priority:<\/strong> If you have multiple offers in the store, you can prioritize the rules. In this case, the lowest number means the highest priority.<\/p>\n<h3>Set the Conditions<\/h3>\n<p>Now, move to the <strong>Conditions<\/strong> section. To set a new condition for our offer with the Samsung phones, select the category \u201cSamsung\u201d to apply the rule to.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8328\" src=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image5.png\" alt=\"\" width=\"909\" height=\"264\" srcset=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image5.png 909w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image5-600x174.png 600w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image5-768x223.png 768w\" sizes=\"auto, (max-width: 909px) 100vw, 909px\" \/>Now, move to the <strong>Actions<\/strong> section:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8329 aligncenter\" src=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image6.png\" alt=\"\" width=\"935\" height=\"251\" srcset=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image6.png 935w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image6-600x161.png 600w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image6-768x206.png 768w\" sizes=\"auto, (max-width: 935px) 100vw, 935px\" \/><\/p>\n<p><strong>Apply<\/strong>: This drop-down has the following menu options:<\/p>\n<p><strong>Apply as the percentage of original<\/strong>: This option will apply the discount as a percentage of the product price.<\/p>\n<p><strong>Apply as fixed amount<\/strong>: This option will apply the discount as a flat amount.<\/p>\n<p><strong>Adjust final price to this percentage:<\/strong> This option will adjust the final price to a percentage that you entered in the Discount Amount field.<\/p>\n<p><strong>Adjust final price to discount value:<\/strong> This option offers a flat price that you entered in the Discount Amount field.<\/p>\n<p>&nbsp;<\/p>\n<p>Next, set us the following.<\/p>\n<p><strong>Discount Amount:<\/strong> Enter the discount amount in this field. I have entered 10 as per our selected scenario.<\/p>\n<p><strong>Discard subsequent rules:<\/strong> Select <em>Yes<\/em> from the drop-down menu.<\/p>\n<p>To finalize the changes, click <em>Save<\/em> at the top of the page:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8330 aligncenter\" src=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image7.png\" alt=\"\" width=\"92\" height=\"56\"><\/p>\n<p>Now, you will be redirected to the <strong>Catalog Price Rule Page<\/strong>. Click the <strong>Apply Rules<\/strong> button:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-8331\" src=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image8-1200x528.png\" alt=\"\" width=\"1200\" height=\"528\" srcset=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image8-1200x528.png 1200w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image8-600x264.png 600w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image8-768x338.png 768w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image8.png 1225w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>Let\u2019s check the result. Go to any Samsung category and you will see that the rule is applied successfully to all Samsung products:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8332\" src=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image9.png\" alt=\"\" width=\"1002\" height=\"538\" srcset=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image9.png 1002w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image9-600x322.png 600w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2018\/01\/image9-768x412.png 768w\" sizes=\"auto, (max-width: 1002px) 100vw, 1002px\" \/><\/p>\n<h3>Final Words<\/h3>\n<p>Give discounts to your customers and increase the chances of landing a sale. I believe that you can now easily create catalog price rules in Magento 2 and offer custom discounts to the visitors.<\/p>\n<p>If you still have any issues, leave your comment below!<\/p>\n<p>* * * * *<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: left;\"><em><strong>This is a guest blog post by Syed Muneeb Ul Hasan.<\/strong><\/em><\/p>\n<p>Syed is a Magento Developer and Blogger at Magenticians &#8211; a platform to <a href=\"https:\/\/magenticians.com\/\">learn Magento<\/a>. He is an expert in PHP and Magento and prefers to educate users in the implementation of Magento. When not working, he loves to play games and watch cricket. You can follow him on <a href=\"https:\/\/twitter.com\/syed_muneebb\">Twitter<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>Discounts are a popular way of ensuring that site visitors convert into paying customers. In fact, many visitors make their purchase decision based on the volume of discounts offered by an online store. Offering discounts on Magento 2 stores is a matter of creating catalog price rules. This tutorial covers this topic and offers step-by-step [&hellip;]<\/p>\n","protected":false},"author":24,"featured_media":8333,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[255,425],"tags":[436],"class_list":{"0":"post-8325","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-magento-2","8":"category-magento-how-tos","9":"tag-developer-diaries"},"_links":{"self":[{"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/posts\/8325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/comments?post=8325"}],"version-history":[{"count":6,"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/posts\/8325\/revisions"}],"predecessor-version":[{"id":10470,"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/posts\/8325\/revisions\/10470"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/media\/8333"}],"wp:attachment":[{"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/media?parent=8325"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/categories?post=8325"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/tags?post=8325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}