pildo Posted August 9, 2011 Share Posted August 9, 2011 hi, i have prestashop theme from themespresta.net. In this themes is 2 stock status - aviable and out of stock. aviable status is setuped also for products, which is not in stock, but have enabled buy when is out of stock (backorder?). I need to have 3 status: a) aviable on stock - for products, which have more 1 and more pcs on product list backorder - products whis is not in stock on my warehouse, but is possible order it from my spupplier c) out of stock - products which is not on stock on my warehouse and also is dont aviable on supplier (products, which have disabled ordering when stock is 0 or lower). i found on themes files products.tpl with: <!-- availability --> <p id="availability_statut"{if ($product->quantity <= 0 && !$product->available_later && $allow_oosp) OR ($product->quantity > 0 && !$product->available_now) OR !$product->available_for_order OR $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> How change code to getting statuses, which i want? also to be on presta language (i have shop in 3 languages, so i want to set ip it to each from backoffice)? Link to comment Share on other sites More sharing options...
pildo Posted August 10, 2011 Author Share Posted August 10, 2011 can anybody help me? 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