Nocebo Posted June 27, 2015 Share Posted June 27, 2015 Hello and sorry for my english I create a new theme for prestashop 1.6 In the page produit I don't see In stock Other messages appear (Product not in stock",....) but not in stock Thank for your help Link to comment Share on other sites More sharing options...
koyocik Posted June 29, 2015 Share Posted June 29, 2015 (edited) I don't know your template, but in default_bootstrap in product.tpl it looks like (208): <!-- availability or doesntExist --> <p id="availability_statut"{if ($product->quantity <= 0 && !$product->available_later && $allow_oosp) || ($product->quantity > 0 && !$product->available_now) || !$product->available_for_order || $PS_CATALOG_MODE} style="display: none;"{/if}> {*<span id="availability_label">{l s='Availability:'}</span>*} <span id="availability_value"{if $product->quantity <= 0 && !$allow_oosp} class="warning_inline"{/if}>{if $product->quantity <= 0}{if $PS_STOCK_MANAGEMENT && $allow_oosp}{$product->available_later}{else}{l s='This product is no longer in stock'}{/if}{elseif $PS_STOCK_MANAGEMENT}{$product->available_now}{/if}</span> </p> Edited June 29, 2015 by koyocik (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now