{"id":48040,"date":"2015-05-04T02:51:01","date_gmt":"2015-05-04T06:51:01","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=48040"},"modified":"2016-02-17T06:31:07","modified_gmt":"2016-02-17T11:31:07","slug":"opencart-2-x-how-to-remove-add-to-whish-list-button-from-the-product-page","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/opencart-2-x-how-to-remove-add-to-whish-list-button-from-the-product-page.html","title":{"rendered":"OpenCart 2.x. How to remove &#8220;Add To Wish List&#8221; button from the product page"},"content":{"rendered":"<p>\r\n<p>This tutorial will show you how to remove<strong> &#8220;Add to wishlist&#8221;<\/strong> button from the product page in <strong>OpenCart<\/strong>.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=u93gKHukK74?width=1280&amp;height=720\" rel=\"prettyPhoto\">OpenCart 2.x. How to remove &#8220;Add To Wish List&#8221; button from the product page<\/a><\/p>\r\n<ol>\r\n<li>\r\n<p>You should edit <strong>product.tpl <\/strong>file in <strong>catalog\/view\/theme\/themeXXX\/template\/product <\/strong> folder. You can use <strong>FTP client<\/strong> or <strong>File manager <\/strong>in your hosting cPanel to edit this file.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Navigate to <strong>File manager<\/strong> in your cPanel and open your root installation folder:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/05\/Opencart_how_to_remove_add_to_wishlist.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/05\/Opencart_how_to_remove_add_to_wishlist-300x169.png\" alt=\"Opencart_how_to_remove_add_to_wishlist\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-48041\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/05\/Opencart_how_to_remove_add_to_wishlist-300x169.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/05\/Opencart_how_to_remove_add_to_wishlist-150x84.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/05\/Opencart_how_to_remove_add_to_wishlist.png 917w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Open <strong>catalog\/view\/theme\/themeXXX\/template\/product<\/strong> directory.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Locate <strong>product.tpl<\/strong> and open it in the editor:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/05\/Opencart_how_to_remove_add_to_wishlist_1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/05\/Opencart_how_to_remove_add_to_wishlist_1-300x172.png\" alt=\"Opencart_how_to_remove_add_to_wishlist_1\" width=\"300\" height=\"172\" class=\"aligncenter size-medium wp-image-48042\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/05\/Opencart_how_to_remove_add_to_wishlist_1-300x172.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/05\/Opencart_how_to_remove_add_to_wishlist_1-150x86.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/05\/Opencart_how_to_remove_add_to_wishlist_1.png 699w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Locate the following code:<\/p>\r\n<pre class=\"brush:php\">&lt;li&gt;&lt;button class=&quot;btn btn-icon&quot; onclick=&quot;wishlist.add('&lt;?php echo $product_id; ?&gt;');&quot;&gt;\r\n&lt;i class=&quot;fa fa-heart&quot;&gt;&lt;\/i&gt; &lt;span class=&quot;hidden-xs hidden-sm&quot;&gt;&lt;?php echo $button_wishlist; ?&gt;&lt;\/span&gt;&lt;\/button&gt;\r\n&lt;\/li&gt;\r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/05\/Opencart_how_to_remove_add_to_wishlist_2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/05\/Opencart_how_to_remove_add_to_wishlist_2-300x92.png\" alt=\"Opencart_how_to_remove_add_to_wishlist_2\" width=\"300\" height=\"92\" class=\"aligncenter size-medium wp-image-48043\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/05\/Opencart_how_to_remove_add_to_wishlist_2-300x92.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/05\/Opencart_how_to_remove_add_to_wishlist_2-150x46.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/05\/Opencart_how_to_remove_add_to_wishlist_2.png 1009w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Comment out this line or remove it. Feel free to check this link for more details on using comments <a href=\"\/help\/how-to-adduse-comments-in-html-css-php-js.html\" target=\"_blank\">How to add\/use comments in HTML, CSS, PHP, JS<\/a>.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Save changes to the file on your server.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Refresh a product page on your website, <strong>&quot;Add to wishlist&quot;<\/strong> button is successfully removed.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=u93gKHukK74?width=1280&amp;height=720\" rel=\"prettyPhoto\">OpenCart 2.x. How to remove &#8220;Add To Whish List&#8221; button from the product page<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to remove  &#8220;Add to wishlist&#8221;  button from the product page in OpenCart.<\/p>\n","protected":false},"author":54,"featured_media":48046,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1156],"tags":[896,1157,542,1960],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/48040"}],"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\/54"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=48040"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/48040\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/48046"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=48040"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=48040"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=48040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}