Jump to content

Cart does not show combinations stock availability


Recommended Posts

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 by redactuk (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...
  • 2 weeks later...
  • 2 weeks later...

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 by bruiser (see edit history)
Link to comment
Share on other sites

  • 1 month later...

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

×
×
  • Create New...