{"id":267674,"date":"2020-09-16T11:23:34","date_gmt":"2020-09-16T11:23:34","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=267674"},"modified":"2025-10-13T07:17:32","modified_gmt":"2025-10-13T07:17:32","slug":"prestashop-hide-or-disable-attributes-without-stock","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/","title":{"rendered":"Prestashop Hide or Disable Attributes Without Stock"},"content":{"rendered":"\n<p>Managing an online store with a large number of products can be difficult especially when your product combinations get out of stock. <\/p>\n\n\n\n<p>Product combinations in your store go out of stock for a number of reasons. <\/p>\n\n\n\n<p><a href=\"https:\/\/store.webkul.com\/Prestashop-Hide-or-Disable-Attributes-With-Stock.html\">Prestashop Hide or Disable Attributes Without Stock<\/a> facilitates you to hide the out-of-stock product combinations so your customers won&#8217;t see the product combinations they cannot purchase.<\/p>\n\n\n\n<p>In default Prestashop, when customers select the product combination, only then they will find out the stock availability and may be able to add to the cart. <\/p>\n\n\n\n<p>When customers find out that the product combination they are looking for is out of stock they will get frustrated and may leave your store without making a purchase.<\/p>\n\n\n\n<p>You can hide or disable the product combinations for more than one country and zones. Also, you can define the date\/price range for which the product combinations will be hidden.<\/p>\n\n\n\n<p><strong>Note:<\/strong> <strong>Prestashop Hide or Disable Attributes Without Stock<\/strong> <strong>module<\/strong>\u00a0<strong>is compatible with the Prestashop multi-store feature.<\/strong><\/p>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h3 class=\"wp-block-heading index-title\">Features of Prestashop Hide or Disable Attributes Without Stock<\/h3>\n<\/div><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Hide, Disable or show the &#8220;Out of Stock&#8221; label for the product combinations with zero quantity.<\/li>\n\n\n\n<li>Set color for disabled\/default (with display &#8220;out of stock&#8221;) attributes.<\/li>\n\n\n\n<li>Option to show Disabled Combination in a different color.<\/li>\n\n\n\n<li>Option to hide attributes of non-existing product combinations.<\/li>\n\n\n\n<li>Hide product whose stock is zero or below.<\/li>\n\n\n\n<li>Configure the date range for which the product combinations will be hidden.<\/li>\n\n\n\n<li>Define the price range for which you want to hide the product combinations.<\/li>\n\n\n\n<li>Select the products of which you want to hide or disable the product combinations.<\/li>\n\n\n\n<li>Select the zones and countries for which the product combinations will be hidden.<\/li>\n\n\n\n<li>Hide product combinations for a particular currency or language.<\/li>\n\n\n\n<li>Choose to which group(s) of customers you do not want to show the product combinations.<\/li>\n<\/ul>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h3 class=\"wp-block-heading index-title\">Installation<\/h3>\n<\/div><\/div>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to back-office -&gt;modules -&gt;Module Manager.<\/li>\n\n\n\n<li>Now, click on \u201cUpload a module\u201d button and select the module\u2019s zip file.<\/li>\n\n\n\n<li>In this way, the module gets install on Prestashop.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/05\/1-25.png\" alt=\"Prestashop Hide or Disable Attributes With Stock installation\" loading=\"lazy\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/05\/2-21.png\" alt=\"Prestashop Hide or Disable Attributes With Stock installation\" loading=\"lazy\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/05\/2-21.png\" alt=\"Prestashop Hide or Disable Attributes With Stock installation\" loading=\"lazy\" \/><\/figure>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h3 class=\"wp-block-heading index-title\">Custom Hook Information<\/h3>\n<\/div><\/div>\n\n\n\n<p>On the category page, Prestashop versions 1.7 and 8 uses the Faceted Search module.<\/p>\n\n\n\n<p>If this module is enabled and the version of this module is equal to or higher than 3.0.0, then you have to do add a hook and import 2 classes in this file:<\/p>\n\n\n\n<p>\/modules\/ps_facetedsearch\/src\/Adapter\/MySQL.php<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add below lines above &#8220;use Doctrine\\Common\\Collections\\ArrayCollection;&#8221;<\/li>\n<\/ul>\n\n\n\n<pre class=\"EnlighterJSRAW\">use Hook;\nuse Module;<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/refer_classes-1-2-png-869%C3%97293-.png\" alt=\"refer_classes-1-2-png-869\u00d7293-\" class=\"wp-image-375082\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Add this on <code>public function getQuery()<\/code> method on line no.131<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add this hook<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">if (Module::isEnabled('wkhideattributes')) { Hook::exec('actionWkHideOutOfStockProduct', array('query' =&gt; &amp;$query));}<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/storecdn.webkul.com\/showcase\/590\/1728564931.png\" alt=\"code\" loading=\"lazy\" \/><\/figure>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h3 class=\"wp-block-heading index-title\">Prestashop Hide or Disable Attributes Without Stock Configuration <\/h3>\n<\/div><\/div>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>General Settings<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1116\" height=\"642\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/09\/general1.webp\" alt=\"General Settings\nHide attributes\" class=\"wp-image-499650\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/09\/general1.webp 1116w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/09\/general1-300x173.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/09\/general1-250x144.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/09\/general1-768x442.webp 768w\" sizes=\"(max-width: 1116px) 100vw, 1116px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1111\" height=\"727\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/09\/general2.webp\" alt=\"General Settings\nDisable attributes\" class=\"wp-image-499651\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/09\/general2.webp 1111w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/09\/general2-300x196.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/09\/general2-250x164.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/09\/general2-768x503.webp 768w\" sizes=\"(max-width: 1111px) 100vw, 1111px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1115\" height=\"734\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/09\/general3.webp\" alt=\"General Settings\nDisplay Out Of Stock\" class=\"wp-image-499652\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/09\/general3.webp 1115w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/09\/general3-300x197.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/09\/general3-250x165.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/09\/general3-768x506.webp 768w\" sizes=\"(max-width: 1115px) 100vw, 1115px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Under <strong><strong>General Settings<\/strong><\/strong>, the admin can:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Choose to display out-of-stock, hide or disable attributes of the combinations with 0 quantity.<\/li>\n\n\n\n<li>Enable or Disable to hide attributes of the non-existing product combinations.<\/li>\n\n\n\n<li>Disable the attributes of out-of-stock product combinations instead of hiding them.<\/li>\n\n\n\n<li>Set color for disabled\/default (with display &#8220;out of stock&#8221;) attributes.<\/li>\n<\/ul>\n\n\n\n<p>Suppose a product combination gets out of stock.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/storecdn.webkul.com\/showcase\/590\/1741073716.png\" alt=\"product combinations\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Now, if the admin has selected to &#8220;hide&#8221; the attributes of out-of-stock combinations from attribute display mode while module configuration.<\/p>\n\n\n\n<p>Then the attribute(s) of product combination with zero quantity will not be displayed at the front end.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1034\" height=\"464\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/not-getting-displayed.png\" alt=\"not-getting-displayed\" class=\"wp-image-332612\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/not-getting-displayed.png 1034w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/not-getting-displayed-300x135.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/not-getting-displayed-250x112.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/not-getting-displayed-768x345.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/not-getting-displayed-604x270.png 604w\" sizes=\"(max-width: 1034px) 100vw, 1034px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>As we can see in the above screenshot that the attribute size: S is not visible on the product page.<\/p>\n\n\n\n<p>If the admin selected &#8220;Disable&#8221; from the attribute display mode while configuring the module. <\/p>\n\n\n\n<p>Then the color of size: S gets changed into &#8220;Red color&#8221; as we set the color while configuring the module and the customer won&#8217;t be able to select the attribute as we can see in below image.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"452\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Hide-or-disable-attribute-2.png\" alt=\"Hide-or-disable-attribute-2\" class=\"wp-image-336339\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Hide-or-disable-attribute-2.png 1024w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Hide-or-disable-attribute-2-300x132.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Hide-or-disable-attribute-2-250x110.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Hide-or-disable-attribute-2-768x339.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>And now, if the admin selected to display the &#8220;out of stock&#8221; attribute for the combination of the products which have zero quantity. <\/p>\n\n\n\n<p>Then the combinations that have zero quantity in stock shows out of stock in the front of those attribute as shown in the below image.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"987\" height=\"540\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/7-2.png\" alt=\"7-2\" class=\"wp-image-388162\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/7-2.png 987w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/7-2-300x164.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/7-2-250x137.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/7-2-768x420.png 768w\" sizes=\"(max-width: 987px) 100vw, 987px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p><strong>Hide product when stock is below or equal to zero<\/strong><\/p>\n\n\n\n<p>If the admin has enabled this field, then the product whose stock is zero or below will not display.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/storecdn.webkul.com\/showcase\/590\/1741073715.png\" alt=\"product combinations\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p><strong>Front End View<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"788\" height=\"1024\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/6-4-788x1024.png\" alt=\"6-4\" class=\"wp-image-388147\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/6-4-788x1024.png 788w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/6-4-231x300.png 231w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/6-4-192x249.png 192w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/6-4-768x998.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/6-4-1182x1536.png 1182w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/6-4-1576x2048.png 1576w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/6-4.png 1708w\" sizes=\"(max-width: 788px) 100vw, 788px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Attribute Rule Management<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/storecdn.webkul.com\/showcase\/590\/1728565050.png\" alt=\"attribute rule management\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Under &#8220;Attribute Rule Management&#8221;, admin can create a hide rule. While creating a rule, admin can select the products to hide using product filters and target of hide products using target filters. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1080\" height=\"458\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Set-rule-for-disbale-attribute.png.png\" alt=\"Set-rule-for-disbale-attribute.png\" class=\"wp-image-336341\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Set-rule-for-disbale-attribute.png.png 1080w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Set-rule-for-disbale-attribute.png-300x127.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Set-rule-for-disbale-attribute.png-250x106.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Set-rule-for-disbale-attribute.png-768x326.png 768w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p><strong>General Information<\/strong><\/p>\n\n\n\n<p>Under General Information, the admin can set the date range for which he wants to hide the product combinations. Also, the admin can enable or disable the hide rule.<\/p>\n\n\n\n<p><strong>Product Filters<\/strong><\/p>\n\n\n\n<p>After setting the date range, the admin can select the products to hide using the following filters:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Price Range<\/li>\n\n\n\n<li>Weight<\/li>\n\n\n\n<li>Categories<\/li>\n\n\n\n<li>Products<\/li>\n\n\n\n<li>Manufacturers<\/li>\n\n\n\n<li>Suppliers<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/storecdn.webkul.com\/showcase\/590\/1741065360.png\" alt=\"product filters\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p><strong>Target Filters<\/strong><\/p>\n\n\n\n<p>Under target filters, the admin can choose to which group of customers to whom he does not want to show the product combinations. <\/p>\n\n\n\n<p>Admin can select the zones, countries, currencies, and languages for which the hidden rule will be applicable.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/storecdn.webkul.com\/showcase\/590\/1733911584.png\" alt=\"target filters\" loading=\"lazy\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Minimum order total<\/strong>: Hide rule is applicable for the customers who have placed orders equivalent to or more than the amount specified by admin in this field.<\/li>\n\n\n\n<li><strong>Minimum number of orders:<\/strong> Product combinations are not shown to the customers who have placed at least the specified number of orders on the store.<\/li>\n<\/ul>\n\n\n\n<p>Therefore, customers from selected group(s), zone(s), countries, etc cannot see the attribute(of combination with 0 quantity) on the product page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1008\" height=\"506\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/1-5-3.png\" alt=\"1-5-3\" class=\"wp-image-388099\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/1-5-3.png 1008w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/1-5-3-300x151.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/1-5-3-250x125.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/1-5-3-768x386.png 768w\" sizes=\"(max-width: 1008px) 100vw, 1008px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Suppose, if a customer selected the French language, then the global configuration will not apply for that customer i.e attribute Size: S will display on the product page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1005\" height=\"561\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/2-4.png\" alt=\"2-4\" class=\"wp-image-388139\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/2-4.png 1005w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/2-4-300x167.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/2-4-250x140.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/2-4-768x429.png 768w\" sizes=\"(max-width: 1005px) 100vw, 1005px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Once admin has added the hide rules, then he can view it under &#8220;Attribute rule management&#8221; tab as show below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/storecdn.webkul.com\/showcase\/590\/1728570256.png\" alt=\"attribute rule management\" loading=\"lazy\" \/><\/figure>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h3 class=\"wp-block-heading index-title\">Support<\/h3>\n<\/div><\/div>\n\n\n\n<p>For any kind of technical assistance or query, please raise a ticket at&nbsp;<a href=\"http:\/\/webkul.uvdesk.com\/\">http:\/\/webkul.uvdesk.com<\/a>&nbsp;or send us a mail at&nbsp;<strong>support@webkul.com<\/strong>.<\/p>\n\n\n\n<p><meta http-equiv=\"content-type\" content=\"text\/html; charset=utf-8\">Also, please explore our <a href=\"https:\/\/webkul.com\/prestashop-development\/\">Prestashop development services<\/a> and vast range of quality <a href=\"https:\/\/store.webkul.com\/PrestaShop-Extensions.html\">Prestashop addons<\/a>.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Managing an online store with a large number of products can be difficult especially when your product combinations get out of stock. Product combinations in your store go out of stock for a number of reasons. Prestashop Hide or Disable Attributes Without Stock facilitates you to hide the out-of-stock product combinations so your customers won&#8217;t <a href=\"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":165,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[209],"tags":[11132,11129,11128,11133,11131],"class_list":["post-267674","post","type-post","status-publish","format-standard","hentry","category-prestashop","tag-catalog-management","tag-disable-attributes","tag-hide-attributes","tag-hide-product-combinations","tag-hide-rule"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Prestashop Hide or Disable Attributes Without Stock<\/title>\n<meta name=\"description\" content=\"Prestashop Hide or Disable Attributes Without Stock allows you to hide or grey out the product combinations that are out of stock.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Prestashop Hide or Disable Attributes Without Stock\" \/>\n<meta property=\"og:description\" content=\"Prestashop Hide or Disable Attributes Without Stock allows you to hide or grey out the product combinations that are out of stock.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-09-16T11:23:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-13T07:17:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/05\/1-25.png\" \/>\n<meta name=\"author\" content=\"Ashish Sehgal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ashish Sehgal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/\"},\"author\":{\"name\":\"Ashish Sehgal\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/adc5483234a0096b5eba2c30924f652d\"},\"headline\":\"Prestashop Hide or Disable Attributes Without Stock\",\"datePublished\":\"2020-09-16T11:23:34+00:00\",\"dateModified\":\"2025-10-13T07:17:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/\"},\"wordCount\":976,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/05\/1-25.png\",\"keywords\":[\"catalog management\",\"disable attributes\",\"hide attributes\",\"hide product combinations\",\"hide rule\"],\"articleSection\":[\"prestashop\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/\",\"url\":\"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/\",\"name\":\"Prestashop Hide or Disable Attributes Without Stock\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/05\/1-25.png\",\"datePublished\":\"2020-09-16T11:23:34+00:00\",\"dateModified\":\"2025-10-13T07:17:32+00:00\",\"description\":\"Prestashop Hide or Disable Attributes Without Stock allows you to hide or grey out the product combinations that are out of stock.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/05\/1-25.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/05\/1-25.png\",\"width\":1284,\"height\":357,\"caption\":\"1\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Prestashop Hide or Disable Attributes Without Stock\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/adc5483234a0096b5eba2c30924f652d\",\"name\":\"Ashish Sehgal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/43aabebe0f1864b7173421f8f44f62fef06c07313c7f8c03735ee4b9bf377e6e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/43aabebe0f1864b7173421f8f44f62fef06c07313c7f8c03735ee4b9bf377e6e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Ashish Sehgal\"},\"description\":\"Ashish Sehgal is a Analyst with deep expertise in the PrestaShop platform offers strategic insights for e-commerce success. With a deep understanding of open-source platforms, he ensures tailored solutions. A skilled analyst, providing unique strategies for online businesses.\",\"url\":\"https:\/\/webkul.com\/blog\/author\/ashishsehgal-magento190\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Prestashop Hide or Disable Attributes Without Stock","description":"Prestashop Hide or Disable Attributes Without Stock allows you to hide or grey out the product combinations that are out of stock.","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:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/","og_locale":"en_US","og_type":"article","og_title":"Prestashop Hide or Disable Attributes Without Stock","og_description":"Prestashop Hide or Disable Attributes Without Stock allows you to hide or grey out the product combinations that are out of stock.","og_url":"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2020-09-16T11:23:34+00:00","article_modified_time":"2025-10-13T07:17:32+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/05\/1-25.png","type":"","width":"","height":""}],"author":"Ashish Sehgal","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Ashish Sehgal","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/"},"author":{"name":"Ashish Sehgal","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/adc5483234a0096b5eba2c30924f652d"},"headline":"Prestashop Hide or Disable Attributes Without Stock","datePublished":"2020-09-16T11:23:34+00:00","dateModified":"2025-10-13T07:17:32+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/"},"wordCount":976,"commentCount":2,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/05\/1-25.png","keywords":["catalog management","disable attributes","hide attributes","hide product combinations","hide rule"],"articleSection":["prestashop"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/","url":"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/","name":"Prestashop Hide or Disable Attributes Without Stock","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/05\/1-25.png","datePublished":"2020-09-16T11:23:34+00:00","dateModified":"2025-10-13T07:17:32+00:00","description":"Prestashop Hide or Disable Attributes Without Stock allows you to hide or grey out the product combinations that are out of stock.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/05\/1-25.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/05\/1-25.png","width":1284,"height":357,"caption":"1"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/prestashop-hide-or-disable-attributes-without-stock\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Prestashop Hide or Disable Attributes Without Stock"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/adc5483234a0096b5eba2c30924f652d","name":"Ashish Sehgal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/43aabebe0f1864b7173421f8f44f62fef06c07313c7f8c03735ee4b9bf377e6e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/43aabebe0f1864b7173421f8f44f62fef06c07313c7f8c03735ee4b9bf377e6e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Ashish Sehgal"},"description":"Ashish Sehgal is a Analyst with deep expertise in the PrestaShop platform offers strategic insights for e-commerce success. With a deep understanding of open-source platforms, he ensures tailored solutions. A skilled analyst, providing unique strategies for online businesses.","url":"https:\/\/webkul.com\/blog\/author\/ashishsehgal-magento190\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/267674","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/165"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=267674"}],"version-history":[{"count":51,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/267674\/revisions"}],"predecessor-version":[{"id":509682,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/267674\/revisions\/509682"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=267674"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=267674"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=267674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}