Jump to content

Edit History

AcidLava

AcidLava

Hi,

I have an issue on PS 1.7; I'm trying to display {$product.availability_message} (shipping delay message) depending on stock on cart and order confirmation. It works well on cart but it don't display on order-confirmation (order-confirmation-table.tpl). Any idea to make this work ?

Here is my code :

{if (isset($product.quantity_all_versions) && $product.quantity_all_versions < 0)}

                {if (isset($product.quantity_all_versions) && $product.quantity_all_versions < 0)}
                                                <div>
                                                <span class="red icon--pulsing"></span>
                                                <span class="msg">{$product.availability_message}</span>
                                                </div>

                {else}
                                                   <div>
                                                   <span class="icon--pulsing"></span> 
                                                   <span class="msg">Available</span>
                                                   </div>
                 {/if}

Thanks.

AcidLava

AcidLava

Hi,

I have an issue on PS 1.7; I'm trying to display {$product.availability_message} (shipping delay message) on cart and order confirmation. It works well on cart but it don't display on order-confirmation (order-confirmation-table.tpl). Any idea to make this work ?

Thanks.

×
×
  • Create New...