Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

dispatch date in invoice and checkout Rate Topic   - - - - -

 
  • shervain
  • Junior Member
  • Members
  • Join Date: 22-Aug 10
  • 13 posts

Posted 02 February 2012 - 10:12 PM #1

Hi Guys,

I want to add dispatch information to my checkout and invoice templates.
This is generic code I tried using, but it won't work since I'm not sure what variable I need to use at each stage:

{assign var="stockdate" value=$product.avail_since|date_format:$settings.Appearance.date_format}

{if $smarty.now < $product.avail_since}
{$lang.product_coming_soon_add|replace:"[avail_date]":$stockdate}
{else}
In Stock
{/if}

Does anyone know the correct variable instead of "$product.avail_since" for both checkout and invoice?

Thanks!