croc Posted September 2, 2014 Share Posted September 2, 2014 Hello everybody. I would like to import products via csv, and in the column "if on stock, then (Display ON STOCK)" But i dont want to manage available stock quantities and also i will not import this in csv, so by all products will be phisicaly 0 on stock. Is it possible to set it anywhere, that also by 0 on stock of the products it will be displayed on the product page icon "ON STOCK" ? Thanks for all tips. Link to comment Share on other sites More sharing options...
NemoPS Posted September 3, 2014 Share Posted September 3, 2014 Have you tried in preferences, products, checking the "Allow ordering of out-of-stock products" Option? Link to comment Share on other sites More sharing options...
croc Posted September 7, 2014 Author Share Posted September 7, 2014 HI, yes i tried , but nothing changed. it works just when i add any stock quantity to item. Link to comment Share on other sites More sharing options...
NemoPS Posted September 8, 2014 Share Posted September 8, 2014 Well at this point you can try modifying the template file, product.tpl {if $PS_STOCK_MANAGEMENT} <!-- availability --> <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} class="warning_inline"{/if}>{if $product->quantity <= 0}{if $allow_oosp}{$product->available_later}{else}{l s='This product is no longer in stock'}{/if}{else}{$product->available_now}{/if}</span> </p> <p class="warning_inline" id="last_quantities"{if ($product->quantity > $last_qties || $product->quantity <= 0) || $allow_oosp || !$product->available_for_order || $PS_CATALOG_MODE} style="display: none"{/if} >{l s='Warning: Last items in stock!'}</p> {/if} Link to comment Share on other sites More sharing options...
Recommended Posts