Page 1 of 1

GOLD email templates, same as 707 syntax?

Posted: Sat Aug 06, 2016 6:10 am
by NC Software
Not much in the docs at http://help.ablecommerce.com/mergedProj ... plates.htm but did find via google the wiki on email templates and nvelocity and it appears there is no change? Is this correct? Just copy and paste from 707 to GOLD so templates recreate their files? Any info or changes in email template creation please advise.

http://wiki.ablecommerce.com/index.php/ ... _Templates

Re: GOLD email templates, same as 707 syntax?

Posted: Sat Aug 06, 2016 6:17 am
by NC Software
any known differences from 707 to GOLD such as links or nvelocity syntax, properties, etc. would be great to know.

Re: GOLD email templates, same as 707 syntax?

Posted: Sun Aug 07, 2016 8:08 pm
by mazhar
We tried out best to make sure templates NVeclocity scripts of AC7 work seamlessly with gold. There are only few things that are different in gold.
1- In AC7 we had Token.Instance and now you will use AbleContext.Current instead.
2- In AC7 we used Price.ToString("ul") to format currency, now you have to use $helper.LSCurrencyFormat() while pass decimal and currency format as parameters.

Re: GOLD email templates, same as 707 syntax?

Posted: Sun Aug 07, 2016 8:11 pm
by mazhar
BTW please check following thread. I posted details about porting AC7 codes to Gold few years ago
viewtopic.php?f=47&t=17108

Re: GOLD email templates, same as 707 syntax?

Posted: Mon Aug 08, 2016 3:50 am
by NC Software
Thanks Mazhar - good info and I did review that other forum post and bookmarked it. This stuff really needs to find its way to the wiki.