Jump to content

Order confirmation {$product.availability_message}


AcidLava

Recommended Posts

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.

Edited by AcidLava (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...