{"id":7930,"date":"2024-12-24T10:50:28","date_gmt":"2024-12-24T10:50:28","guid":{"rendered":"https:\/\/addify.store\/documentation\/?page_id=7930"},"modified":"2024-12-24T10:50:29","modified_gmt":"2024-12-24T10:50:29","slug":"how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock","status":"publish","type":"page","link":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock\/","title":{"rendered":"How Do I Hide the Add-to-Cart Button in Prestashop Based on Stock?"},"content":{"rendered":"\n<p>To hide the add-to-cart button in PrestaShop, you can follow these 3 simple steps:&nbsp;<\/p>\n\n\n\n<p><strong>Step 1: Install and Activate the Module<\/strong><\/p>\n\n\n\n<p>Install and activate the <em>Hide Price &amp; Add to Cart Pro<\/em> module. Once that&#8217;s done, click <em>Configure<\/em> to customize the add-to-cart visibility settings.&nbsp;<\/p>\n\n\n\n<p><strong>Step 2: Hide the Add-to-Cart Button<\/strong><\/p>\n\n\n\n<p>Go to Addify Hide Price Pro &gt; General Settings. From here, activate the module and go to Rules. Now click <em>Add New<\/em> using the plus sign in the top right corner. Now, you can create multiple scenarios in which prices will be shown or hidden as you like. To get started, adjust the following settings:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Enable Hide Add-to-Cart Button: Choose to show or hide the add-to-cart button\u00a0<\/li>\n\n\n\n<li>Custom button: Replace add-to-cart with custom button and customize the following:\n<ul class=\"wp-block-list\">\n<li>Custom Button Title: Add a title for the custom button<\/li>\n\n\n\n<li>Custom Button Link Field: Add a URL for the custom button for redirection<\/li>\n\n\n\n<li>Custom Button Text Color: Choose a color for the custom button<\/li>\n\n\n\n<li>Custom Button Background Color: Choose a background color for the custom button<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdoQHnS8Ywtd58ml1wqm5Ff9Dz3HSODY1Q6YbX-GcQcLTY8BazRrAfuJAO03-9Z_3KTYmthdC4MSZX_teUoFEPijDFO4PVvP6hmcMmd0TPjS1R_VBM8PrdkLf4lQR4Yg0uWpc18bw?key=WqoNV_Y2qC4sCnWEKaZqB8uY\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Step 3: Set Restrictions by Stock&nbsp;<\/strong><\/p>\n\n\n\n<p>Now<strong> <\/strong>enable the option to apply stock-based restrictions and adjust the following:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Product with zero stock: Enable the option to apply the rule on out-of-stock products<\/li>\n\n\n\n<li>Custom stock value: Enable option and add custom value for stock value on which rule shall apply\u00a0<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdu2MVLkGDoGJ7UneM0xm-deJdMRkeKfWXb-7CBIJljU6GSxWmB0dxHAwtshMUjgR_ZEHYKHRgPv_7TNkFcJ9Miivl9yMGDyST13363wCwv3j71vaLosGKqT4NkxvwBG6ODl6bc?key=WqoNV_Y2qC4sCnWEKaZqB8uY\" alt=\"\"\/><\/figure>\n\n\n\n<p>Within the rules, you can further apply restrictions based on customer groups, prices, products, etc. Once you have done so, save your changes, and the rule will automatically apply under the desired conditions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To hide the add-to-cart button in PrestaShop, you can follow these 3 simple steps:&nbsp; Step 1: Install and Activate the Module Install and activate the Hide Price &amp; Add to Cart Pro module. Once that&#8217;s done, click Configure to customize the add-to-cart visibility settings.&nbsp; Step 2: Hide the Add-to-Cart Button Go to Addify Hide Price [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":7913,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-parts\/multiple-page-template.php","meta":{"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"class_list":["post-7930","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How Do I Hide the Add-to-Cart Button in Prestashop Based on Stock? - Documentation<\/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:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How Do I Hide the Add-to-Cart Button in Prestashop Based on Stock? - Documentation\" \/>\n<meta property=\"og:description\" content=\"To hide the add-to-cart button in PrestaShop, you can follow these 3 simple steps:&nbsp; Step 1: Install and Activate the Module Install and activate the Hide Price &amp; Add to Cart Pro module. Once that&#8217;s done, click Configure to customize the add-to-cart visibility settings.&nbsp; Step 2: Hide the Add-to-Cart Button Go to Addify Hide Price [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock\/\" \/>\n<meta property=\"og:site_name\" content=\"Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-24T10:50:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdoQHnS8Ywtd58ml1wqm5Ff9Dz3HSODY1Q6YbX-GcQcLTY8BazRrAfuJAO03-9Z_3KTYmthdC4MSZX_teUoFEPijDFO4PVvP6hmcMmd0TPjS1R_VBM8PrdkLf4lQR4Yg0uWpc18bw?key=WqoNV_Y2qC4sCnWEKaZqB8uY\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock\/\",\"url\":\"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock\/\",\"name\":\"How Do I Hide the Add-to-Cart Button in Prestashop Based on Stock? - Documentation\",\"isPartOf\":{\"@id\":\"https:\/\/addify.store\/documentation\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdoQHnS8Ywtd58ml1wqm5Ff9Dz3HSODY1Q6YbX-GcQcLTY8BazRrAfuJAO03-9Z_3KTYmthdC4MSZX_teUoFEPijDFO4PVvP6hmcMmd0TPjS1R_VBM8PrdkLf4lQR4Yg0uWpc18bw?key=WqoNV_Y2qC4sCnWEKaZqB8uY\",\"datePublished\":\"2024-12-24T10:50:28+00:00\",\"dateModified\":\"2024-12-24T10:50:29+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock\/#primaryimage\",\"url\":\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdoQHnS8Ywtd58ml1wqm5Ff9Dz3HSODY1Q6YbX-GcQcLTY8BazRrAfuJAO03-9Z_3KTYmthdC4MSZX_teUoFEPijDFO4PVvP6hmcMmd0TPjS1R_VBM8PrdkLf4lQR4Yg0uWpc18bw?key=WqoNV_Y2qC4sCnWEKaZqB8uY\",\"contentUrl\":\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdoQHnS8Ywtd58ml1wqm5Ff9Dz3HSODY1Q6YbX-GcQcLTY8BazRrAfuJAO03-9Z_3KTYmthdC4MSZX_teUoFEPijDFO4PVvP6hmcMmd0TPjS1R_VBM8PrdkLf4lQR4Yg0uWpc18bw?key=WqoNV_Y2qC4sCnWEKaZqB8uY\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/addify.store\/documentation\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PrestaShop\",\"item\":\"https:\/\/addify.store\/documentation\/prestashop\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Prestashop Hide Price &#038; Add to Cart Pro\",\"item\":\"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"How To\u2019s HPATCP\",\"item\":\"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"How Do I Hide the Add-to-Cart Button in Prestashop Based on Stock?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/addify.store\/documentation\/#website\",\"url\":\"https:\/\/addify.store\/documentation\/\",\"name\":\"Documentation\",\"description\":\"Documentation for Addify Extensions\",\"publisher\":{\"@id\":\"https:\/\/addify.store\/documentation\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/addify.store\/documentation\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/addify.store\/documentation\/#organization\",\"name\":\"Documentation\",\"url\":\"https:\/\/addify.store\/documentation\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/addify.store\/documentation\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/11\/Asset-21-2x.png\",\"contentUrl\":\"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/11\/Asset-21-2x.png\",\"width\":6761,\"height\":1853,\"caption\":\"Documentation\"},\"image\":{\"@id\":\"https:\/\/addify.store\/documentation\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How Do I Hide the Add-to-Cart Button in Prestashop Based on Stock? - Documentation","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:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock\/","og_locale":"en_US","og_type":"article","og_title":"How Do I Hide the Add-to-Cart Button in Prestashop Based on Stock? - Documentation","og_description":"To hide the add-to-cart button in PrestaShop, you can follow these 3 simple steps:&nbsp; Step 1: Install and Activate the Module Install and activate the Hide Price &amp; Add to Cart Pro module. Once that&#8217;s done, click Configure to customize the add-to-cart visibility settings.&nbsp; Step 2: Hide the Add-to-Cart Button Go to Addify Hide Price [&hellip;]","og_url":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock\/","og_site_name":"Documentation","article_modified_time":"2024-12-24T10:50:29+00:00","og_image":[{"url":"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdoQHnS8Ywtd58ml1wqm5Ff9Dz3HSODY1Q6YbX-GcQcLTY8BazRrAfuJAO03-9Z_3KTYmthdC4MSZX_teUoFEPijDFO4PVvP6hmcMmd0TPjS1R_VBM8PrdkLf4lQR4Yg0uWpc18bw?key=WqoNV_Y2qC4sCnWEKaZqB8uY","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock\/","url":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock\/","name":"How Do I Hide the Add-to-Cart Button in Prestashop Based on Stock? - Documentation","isPartOf":{"@id":"https:\/\/addify.store\/documentation\/#website"},"primaryImageOfPage":{"@id":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock\/#primaryimage"},"image":{"@id":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock\/#primaryimage"},"thumbnailUrl":"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdoQHnS8Ywtd58ml1wqm5Ff9Dz3HSODY1Q6YbX-GcQcLTY8BazRrAfuJAO03-9Z_3KTYmthdC4MSZX_teUoFEPijDFO4PVvP6hmcMmd0TPjS1R_VBM8PrdkLf4lQR4Yg0uWpc18bw?key=WqoNV_Y2qC4sCnWEKaZqB8uY","datePublished":"2024-12-24T10:50:28+00:00","dateModified":"2024-12-24T10:50:29+00:00","breadcrumb":{"@id":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock\/#primaryimage","url":"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdoQHnS8Ywtd58ml1wqm5Ff9Dz3HSODY1Q6YbX-GcQcLTY8BazRrAfuJAO03-9Z_3KTYmthdC4MSZX_teUoFEPijDFO4PVvP6hmcMmd0TPjS1R_VBM8PrdkLf4lQR4Yg0uWpc18bw?key=WqoNV_Y2qC4sCnWEKaZqB8uY","contentUrl":"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdoQHnS8Ywtd58ml1wqm5Ff9Dz3HSODY1Q6YbX-GcQcLTY8BazRrAfuJAO03-9Z_3KTYmthdC4MSZX_teUoFEPijDFO4PVvP6hmcMmd0TPjS1R_VBM8PrdkLf4lQR4Yg0uWpc18bw?key=WqoNV_Y2qC4sCnWEKaZqB8uY"},{"@type":"BreadcrumbList","@id":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/how-do-i-hide-the-add-to-cart-button-in-prestashop-based-on-stock\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/addify.store\/documentation\/"},{"@type":"ListItem","position":2,"name":"PrestaShop","item":"https:\/\/addify.store\/documentation\/prestashop\/"},{"@type":"ListItem","position":3,"name":"Prestashop Hide Price &#038; Add to Cart Pro","item":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/"},{"@type":"ListItem","position":4,"name":"How To\u2019s HPATCP","item":"https:\/\/addify.store\/documentation\/prestashop\/prestashop-hide-price-add-to-cart-pro\/how-tos-hpatcp\/"},{"@type":"ListItem","position":5,"name":"How Do I Hide the Add-to-Cart Button in Prestashop Based on Stock?"}]},{"@type":"WebSite","@id":"https:\/\/addify.store\/documentation\/#website","url":"https:\/\/addify.store\/documentation\/","name":"Documentation","description":"Documentation for Addify Extensions","publisher":{"@id":"https:\/\/addify.store\/documentation\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/addify.store\/documentation\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/addify.store\/documentation\/#organization","name":"Documentation","url":"https:\/\/addify.store\/documentation\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/addify.store\/documentation\/#\/schema\/logo\/image\/","url":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/11\/Asset-21-2x.png","contentUrl":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/11\/Asset-21-2x.png","width":6761,"height":1853,"caption":"Documentation"},"image":{"@id":"https:\/\/addify.store\/documentation\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/7930","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/comments?post=7930"}],"version-history":[{"count":1,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/7930\/revisions"}],"predecessor-version":[{"id":7931,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/7930\/revisions\/7931"}],"up":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/7913"}],"wp:attachment":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/media?parent=7930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}