dispatch date in invoice and checkout

[font=arial, sans-serif][size=3]Hi Guys,[/size][/font]



[font=arial, sans-serif][size=3]I want to add dispatch information to my checkout and invoice templates.[/size][/font]

[font=arial, sans-serif][size=3]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:[/size][/font]



[font=arial, sans-serif][size=3]{assign var=“stockdate” value=$product.avail_since|[/size][/font][font=arial, sans-serif][size=3]date_format:$settings.[/size][/font][font=arial, sans-serif][size=3]Appearance.date_format}[/size][/font]



[font=arial, sans-serif][size=3]{if $smarty.now < $product.avail_since}[/size][/font]

[font=arial, sans-serif][size=3]{$lang.product_coming_soon_[/size][/font][font=arial, sans-serif][size=3]add|replace:“[avail_date]”:$[/size][/font][font=arial, sans-serif][size=3]stockdate}[/size][/font]

[font=arial, sans-serif][size=3]{else}[/size][/font]

[font=arial, sans-serif][size=3]In Stock[/size][/font]

[font=arial, sans-serif][size=3]{/if}[/size][/font]



[font=arial, sans-serif][size=3]Does anyone know the correct variable instead of “$product.avail_since” for both checkout and invoice?[/size][/font]



[font=arial, sans-serif][size=3]Thanks![/size][/font]