{"id":25904,"date":"2012-11-21T11:28:53","date_gmt":"2012-11-21T16:28:53","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=25904"},"modified":"2016-04-13T06:11:40","modified_gmt":"2016-04-13T10:11:40","slug":"jigoshop-how-to-remove-the-in-stock-text-from-the-product-details-page","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/jigoshop-how-to-remove-the-in-stock-text-from-the-product-details-page.html","title":{"rendered":"Jigoshop. How to remove the &quot;in stock&quot; text from the product details page"},"content":{"rendered":"<p><\/p>\r\n<p>This  tutorial is going to show you how to remove the &quot;<strong>in stock<\/strong>&quot; text from the product details page of your Jigoshop  template.<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/11\/in_stock_text_in_jigoshop_removing_1.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/11\/in_stock_text_in_jigoshop_removing_1-300x132.jpg\" alt=\"\" title=\"in_stock_text_in_jigoshop_removing_1\" width=\"300\" height=\"132\" class=\"alignnone size-medium wp-image-25905\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/11\/in_stock_text_in_jigoshop_removing_1-300x132.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/11\/in_stock_text_in_jigoshop_removing_1-150x66.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/11\/in_stock_text_in_jigoshop_removing_1.jpg 656w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<ol>\r\n<li>Connect to your FTP server and open  the folder where your WordPress site files are stored.<\/li>\r\n<li>Go to the <strong>\\wp-content\\themes\\theme1824\\jigoshop\\ <\/strong>directory.<\/li>\r\n<li>Open <strong>single-product.php<\/strong> in this directory to edit.<\/li>\r\n<li>Delete or comment out\u00a0\u00a0 the part of code between \u00a0<strong>lines  24-31<\/strong>:<\/li>\r\n<pre class=\"brush:html\">\r\n\t\t\t\t\t\t<div class=\"product-avlb\"><?php if($_product->is_in_stock() == 1 ) {\r\n\t\t\t\t\t\t\t$stk = 'in stock';\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t$stk = 'out of stock';\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\techo $stk;\r\n\t\t\t\t\t\t?><\/div>\r\n<\/pre>\r\n<li>Save your changes.<\/li>\r\n<li>Check the products pages on your  site.<\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"\/help\/files\/Jigoshop\/jigoshop_in_stock_text_removing.htm\" target=\"blank\">how to change Google Map location in WordPress<\/a><\/p>\r\n<p><\/p>\r\n<p><\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This  tutorial is going to show you how to remove the &quot;<strong>in stock<\/strong>&quot; text from the product details page of your Jigoshop  template.<\/p>\n","protected":false},"author":30,"featured_media":25907,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1381],"tags":[1410,2417,642,518],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/25904"}],"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\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=25904"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/25904\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/25907"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=25904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=25904"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=25904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}