Jump to content

Edit History

Klemart3D

Klemart3D

If defined, you can access by:

{$product.delivery_in_stock}
{$product.delivery_out_stock}


And create conditions like in product-prices.tpl :

{if $product.additional_delivery_times == 1}
    {if $product.delivery_information}
        <span class="delivery-information">{$product.delivery_information}</span>
    {/if}
{elseif $product.additional_delivery_times == 2}
    {if $product.quantity > 0}
        <span class="delivery-information">{$product.delivery_in_stock}</span>
        {* Out of stock message should not be displayed if customer can't order the product. *}
    {elseif $product.quantity <= 0 && $product.add_to_cart_url}
        <span class="delivery-information">{$product.delivery_out_stock}</span>
    {/if}
{/if}

 

Klemart3D

Klemart3D

If defined, you can access by:

`{$product.delivery_in_stock}`
`{$product.delivery_out_stock}`

And create conditions like in product-prices.tpl :

{if $product.additional_delivery_times == 1}
    {if $product.delivery_information}
        <span class="delivery-information">{$product.delivery_information}</span>
    {/if}
{elseif $product.additional_delivery_times == 2}
    {if $product.quantity > 0}
        <span class="delivery-information">{$product.delivery_in_stock}</span>
        {* Out of stock message should not be displayed if customer can't order the product. *}
    {elseif $product.quantity <= 0 && $product.add_to_cart_url}
        <span class="delivery-information">{$product.delivery_out_stock}</span>
    {/if}
{/if}

 

×
×
  • Create New...