jesusruiz Posted August 23, 2011 Share Posted August 23, 2011 Hello and thanks for reading this message: I would like to know under what conditions, appears in the list of products in our store the message: "Product is available with different options." Until now I thought that this message appeared when we added an attribute to a product, for example, attribute Number, and as Values 37, 38, 39, 40 .... etc. At that time I thought it was when it would come out in the list of products that message, but I see no, that sometimes it just says "Available". Of course, neither is disabled the "Add to Cart" when the message is "Available". Because, this only happens when displaying the message: "Product is available with different options." Does anyone happen the same?, Does anyone know under what conditions is display this message?. POSDATA: The code I have in the product-list.tpl file is as follows: {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="availability">{if ($product.allow_oosp || $product.quantity > 0)}{l s='Available'}{elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}{l s='Product available with different options'}{else}{l s='Out of stock'}{/if}</span>{/if} Is this the most current code? I've tried to find the variable $ product.quantity_all_versions in prestashop MySQL table, but have found no field with this name. Is a variable that is not stored in the database? A greeting and thanks. Link to comment Share on other sites More sharing options...
oxyweb Posted September 13, 2011 Share Posted September 13, 2011 Hi, Not sure if you still need this but the only way I got the text to change was set the code back to how it was (as quoted above). Then, go to Back Office Tools Translations and go to the English translation and change the 1 or 2 values there. e.g. Hope this helps. Link to comment Share on other sites More sharing options...
lucats55 Posted August 28, 2013 Share Posted August 28, 2013 I've solved (version 1.5.4.1 theme from Templatemonster) with this modify to product-list.tpl {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="availability"> {if ($product.allow_oosp || ($product.quantity > 0) && $product.quantity_all_versions==$product.quantity)}{l s='Available'}{elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}{l s='Product available with different options'}{else}{l s='Out of stock'}{/if}</span>{/if} Link to comment Share on other sites More sharing options...
mazazam Posted October 21, 2014 Share Posted October 21, 2014 Hi, found solution to this - Simply go into combinations and make sure at least combination is selected as default.. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts