{"id":61526,"date":"2016-02-03T05:47:48","date_gmt":"2016-02-03T10:47:48","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=61526"},"modified":"2016-04-04T03:42:52","modified_gmt":"2016-04-04T07:42:52","slug":"magento-how-to-delete-discount-field-from-the-cart-page","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/magento-how-to-delete-discount-field-from-the-cart-page.html","title":{"rendered":"Magento. How to remove discount field from the cart page"},"content":{"rendered":"<p>\r\n<p>This tutorial provides an explanation of how to remove <strong>discount field<\/strong> from the cart page in Magento.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=R-yZJPyxCuY?width=1280&amp;height=720\" rel=\"prettyPhoto\">Magento. How to remove discount field from the cart page<\/a><\/p>\r\n<p>\r\n\tThere are several ways to remove <strong>discount field<\/strong> from the cart page. Let&#8217;s review some of them:\r\n<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_1.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_1-300x170.jpg\" alt=\"magento_how_to_delete_discount_field_from_the_cart_page_1\" width=\"300\" height=\"170\" class=\"aligncenter size-medium wp-image-61527\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_1-300x170.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_1-150x85.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_1-1024x579.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_1.jpg 1282w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<h3 class=\"custom\">\r\n\tThe first way is to edit <strong>checkout.xml<\/strong> file.<br \/>\r\n<\/h3>\r\n<ol>\r\n<li>\r\n<p>\r\n\t\t\tLog into your <strong>Control Hosting Panel (cPanel)<\/strong> on your server.\r\n\t\t<\/p>\r\n<\/li>\r\n<li>\r\n<p>\r\n\t\t\tLocate your <strong>File Manager<\/strong> and go to your website folder (you can perform the next steps via your FTP as well).\r\n\t\t<\/p>\r\n<\/li>\r\n<li>\r\n<p>\r\n\t\t\tNavigate to <strong>app\/design\/frontend\/your_theme\/layout<\/strong> and open <strong>checkout.xml<\/strong> file. If there is no such file, copy it from <strong>app\/design\/frontend\/base\/default\/layout<\/strong> directory to your theme folder:\r\n\t\t<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_2.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_2-300x162.jpg\" alt=\"magento_how_to_delete_discount_field_from_the_cart_page_2\" width=\"300\" height=\"162\" class=\"aligncenter size-medium wp-image-61528\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_2-300x162.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_2-150x81.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_2-1024x553.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_2.jpg 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>\r\n\t\t\tOnce you open <strong>checkout.xml<\/strong> file, you will need to locate the following line of code (approximately line 88):\r\n\t\t<\/p>\r\n<pre class=\"brush:xml\">\r\n\t\t\t&lt;block type=\"checkout\/cart_coupon\" name=\"checkout.cart.coupon\" as=\"coupon\" template=\"checkout\/cart\/coupon.phtml\"\/&gt;\r\n\t\t<\/pre>\r\n<\/li>\r\n<li>\r\n<p>\r\n\t\t\tRemove or comment this line of code and save your changes:\r\n\t\t<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_3.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_3-300x168.jpg\" alt=\"magento_how_to_delete_discount_field_from_the_cart_page_3\" width=\"300\" height=\"168\" class=\"aligncenter size-medium wp-image-61529\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_3-300x168.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_3-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_3-1024x573.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_3.jpg 1284w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>\r\n\t\t\tClear the cache and refresh your website to see the changes.<br \/>\r\n\t\t\tYou can refer to this tutorial to know how to clear the cache in Magento: <a href=\"\/help\/how-to-clear-magento-cache.html\">How to clear Magento cache<\/a>.\r\n\t\t<\/p>\r\n<\/li>\r\n<\/ol>\r\n<h3 class=\"custom\">\r\n\tThe second way is to edit <strong>cart.phtml<\/strong> file.<br \/>\r\n<\/h3>\r\n<ol>\r\n<li>\r\n<p>\r\n\t\t\tNavigate to <strong>app\/design\/frontend\/your_theme\/template\/checkout<\/strong> and open <strong>cart.phtml<\/strong> file:\r\n\t\t<\/p>\r\n<p>\t\t<a href=\"\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_4.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_4-300x162.jpg\" alt=\"magento_how_to_delete_discount_field_from_the_cart_page_4\" width=\"300\" height=\"162\" class=\"aligncenter size-medium wp-image-61530\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_4-300x162.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_4-150x81.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_4-1024x552.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_4.jpg 1281w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>\r\n\t\t\tLocate the following line of code in this file (approximately line 163):\r\n\t\t<\/p>\r\n<pre class=\"brush:php\">\r\n\t\t\t&lt;?php echo $this->getChildHtml('coupon') ?&gt;\r\n\t\t<\/pre>\r\n<\/li>\r\n<li>\r\n<p>\r\n\t\t\tRemove or comment this line of code and save your changes:\r\n\t\t<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_5.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_5-300x168.jpg\" alt=\"magento_how_to_delete_discount_field_from_the_cart_page_5\" width=\"300\" height=\"168\" class=\"aligncenter size-medium wp-image-61531\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_5-300x168.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_5-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_5-1024x574.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_5.jpg 1282w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>\r\n\t\t\tClear the cache and refresh your website to see the changes.\r\n\t\t<\/p>\r\n<\/li>\r\n<\/ol>\r\n<h3 class=\"custom\">\r\n\tThe third way is to edit <strong>local.xml<\/strong> file.<br \/>\r\n<\/h3>\r\n<ol>\r\n<li>\r\n<p>\r\n\t\t\tNavigate to <strong>app\/design\/frontend\/your_theme\/layout<\/strong> and open <strong>local.xml<\/strong> file:\r\n\t\t<\/p>\r\n<p>\t<a href=\"\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_6.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_6-300x162.jpg\" alt=\"magento_how_to_delete_discount_field_from_the_cart_page_6\" width=\"300\" height=\"162\" class=\"aligncenter size-medium wp-image-61532\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_6-300x162.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_6-150x81.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_6-1024x554.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_6.jpg 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>\r\n\t\t\tAdd the following piece of code to the bottom of this file right before the <strong>&lt;\/layout&gt;<\/strong> tag:\r\n\t\t<\/p>\r\n<pre class=\"brush:xml\">\r\n\t\t\t&lt;checkout_cart_index&gt;\r\n\t\t\t&lt;reference name=\"checkout.cart\"&gt;\r\n\t\t\t&lt;remove name=\"checkout.cart.coupon\"\/&gt;\r\n\t\t\t&lt;\/reference&gt;\r\n\t\t\t&lt;\/checkout_cart_index&gt;\r\n\t\t<\/pre>\r\n<\/li>\r\n<li>\r\n<p>\r\n\t\t\tSave your changes:\r\n\t\t<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_7.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_7-300x168.jpg\" alt=\"magento_how_to_delete_discount_field_from_the_cart_page_7\" width=\"300\" height=\"168\" class=\"aligncenter size-medium wp-image-61533\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_7-300x168.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_7-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_7-1024x574.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_7.jpg 1282w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>\r\n\t\t\tClear the cache and refresh your website to see the changes:\r\n\t\t<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_8.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_8-300x169.jpg\" alt=\"magento_how_to_delete_discount_field_from_the_cart_page_8\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-61534\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_8-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_8-150x85.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_8-1024x578.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/magento_how_to_delete_discount_field_from_the_cart_page_8.jpg 1283w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<\/ol>\r\n<p>Now you know how to remove <strong>discount field<\/strong> from the cart page in Magento.<\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=R-yZJPyxCuY?width=1280&amp;height=720\" rel=\"prettyPhoto\">Magento. How to remove discount field from the cart page<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial provides an explanation of how to remove <strong>discount field<\/strong> from the cart page in Magento.<\/p>\n","protected":false},"author":95,"featured_media":61535,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[729],"tags":[614,556,907,2407,572,642],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/61526"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/95"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=61526"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/61526\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/61535"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=61526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=61526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=61526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}