blazern Posted August 17, 2014 Share Posted August 17, 2014 I don't want to show stock status among the products, but when the customer is looking at a specific product I want it to show "not in stock" or "in stock", I want this to be shown at checkout also, how do I fix that? Thanks Link to comment Share on other sites More sharing options...
micro_al Posted August 19, 2014 Share Posted August 19, 2014 Just go to Preferences> Products> Product Page section and turn off "Display available quantities on the product page" This won't show your stock levels, but will show out of stock when you are out. Hope that's what you are looking for. Link to comment Share on other sites More sharing options...
blazern Posted August 19, 2014 Author Share Posted August 19, 2014 Just go to Preferences> Products> Product Page section and turn off "Display available quantities on the product page" This won't show your stock levels, but will show out of stock when you are out. Hope that's what you are looking for. I don't want prestashop to show the red marked boxes on product overview, but I still want prestashop to show stock status on each product when a customer click on read more, like this for products in stock or this for products not in stock Link to comment Share on other sites More sharing options...
vnt Posted August 23, 2014 Share Posted August 23, 2014 I'm looking for away to do this as well. Can anyone help? Link to comment Share on other sites More sharing options...
blazern Posted August 23, 2014 Author Share Posted August 23, 2014 I'm looking for away to do this as well. Can anyone help? I found a solution finally, delete this part from your product-list.tpl {if (!$PS_CATALOG_MODE && $PS_STOCK_MANAGEMENT && ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))} {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)} <span itemprop="offers" itemscope itemtype="http://schema.org/Offer" class="availability"> {if ($product.allow_oosp || $product.quantity > 0)} <span class="{if $product.quantity <= 0 && !$product.allow_oosp}out-of-stock{else}available-now{/if}"> <link itemprop="availability" href="http://schema.org/InStock" />{if $product.quantity <= 0}{if $product.allow_oosp}{if isset($product.available_later) && $product.available_later}{$product.available_later}{else}{l s='In Stock'}{/if}{else}{l s='Out of stock'}{/if}{else}{if isset($product.available_now) && $product.available_now}{$product.available_now}{else}{l s='In Stock'}{/if}{/if} </span> {elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)} <span class="available-dif"> <link itemprop="availability" href="http://schema.org/LimitedAvailability" />{l s='Product available with different options'} </span> {else} <span class="out-of-stock"> <link itemprop="availability" href="http://schema.org/OutOfStock" />{l s='Out of stock'} </span> {/if} </span> {/if} {/if} Hope this helps 1 Link to comment Share on other sites More sharing options...
vnt Posted September 3, 2014 Share Posted September 3, 2014 I found a solution finally, delete this part from your product-list.tpl {if (!$PS_CATALOG_MODE && $PS_STOCK_MANAGEMENT && ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))} {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)} <span itemprop="offers" itemscope itemtype="http://schema.org/Offer" class="availability"> {if ($product.allow_oosp || $product.quantity > 0)} <span class="{if $product.quantity <= 0 && !$product.allow_oosp}out-of-stock{else}available-now{/if}"> <link itemprop="availability" href="http://schema.org/InStock" />{if $product.quantity <= 0}{if $product.allow_oosp}{if isset($product.available_later) && $product.available_later}{$product.available_later}{else}{l s='In Stock'}{/if}{else}{l s='Out of stock'}{/if}{else}{if isset($product.available_now) && $product.available_now}{$product.available_now}{else}{l s='In Stock'}{/if}{/if} </span> {elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)} <span class="available-dif"> <link itemprop="availability" href="http://schema.org/LimitedAvailability" />{l s='Product available with different options'} </span> {else} <span class="out-of-stock"> <link itemprop="availability" href="http://schema.org/OutOfStock" />{l s='Out of stock'} </span> {/if} </span> {/if} {/if} Hope this helps Yeah, that's what I did as well. But I still want to show the out of stock status, so I only deleted the part that displays In Stock/Limited Availability. Link to comment Share on other sites More sharing options...
Recommended Posts