redactuk Posted July 24, 2014 Share Posted July 24, 2014 (edited) In shopping-cart-product-line.tpl we have {if $PS_STOCK_MANAGEMENT} <td class="cart_avail"><span class="{if $product.quantity_available <= 0 && !$product.allow_oosp}label label-available_later{else}label label-success{/if}">{if $product.quantity_available <= 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>{hook h="displayProductDeliveryTime" product=$product}</td> {/if} that displays products availability. But it does not seem to work for combinations. Is this intended? If it does not include combinations does anyone know how we could do this? i.e. i.e. show stock availability of a combination that in the cart. Thanks Edited July 24, 2014 by redactuk (see edit history) Link to comment Share on other sites More sharing options...
redactuk Posted August 9, 2014 Author Share Posted August 9, 2014 Can anyone help me with this please? Link to comment Share on other sites More sharing options...
redactuk Posted August 18, 2014 Author Share Posted August 18, 2014 (edited) Bump Edited August 29, 2014 by redactuk (see edit history) Link to comment Share on other sites More sharing options...
redactuk Posted August 29, 2014 Author Share Posted August 29, 2014 Bump Link to comment Share on other sites More sharing options...
bruiser Posted September 12, 2014 Share Posted September 12, 2014 (edited) In shopping-cart-product-line.tpl we have {if $PS_STOCK_MANAGEMENT} <td class="cart_avail"><span class="{if $product.quantity_available <= 0 && !$product.allow_oosp}label label-available_later{else}label label-success{/if}">{if $product.quantity_available <= 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>{hook h="displayProductDeliveryTime" product=$product}</td> {/if} that displays products availability. But it does not seem to work for combinations. Is this intended? If it does not include combinations does anyone know how we could do this? i.e. i.e. show stock availability of a combination that in the cart. Thanks Edited September 12, 2014 by bruiser (see edit history) Link to comment Share on other sites More sharing options...
skye_Blue Posted October 28, 2014 Share Posted October 28, 2014 Hi, I had this problem too, until I realised that the availability messages were blank. In BO go to the Product, select quantities tab, scroll to the bottom and ensure the "Availability settings" text boxes have been completed. Once I'd filled in the messages, the combinations showed the correct message on the product page & in the cart. Perhaps this is your problem too? Link to comment Share on other sites More sharing options...
Recommended Posts