GOLD email templates, same as 707 syntax?

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
User avatar
NC Software
AbleCommerce Partner
AbleCommerce Partner
Posts: 4620
Joined: Mon Sep 13, 2004 6:06 pm
Contact:

GOLD email templates, same as 707 syntax?

Post by NC Software » Sat Aug 06, 2016 6:10 am

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
Neal Culiner
NC Software, Inc.

User avatar
NC Software
AbleCommerce Partner
AbleCommerce Partner
Posts: 4620
Joined: Mon Sep 13, 2004 6:06 pm
Contact:

Re: GOLD email templates, same as 707 syntax?

Post by NC Software » Sat Aug 06, 2016 6:17 am

any known differences from 707 to GOLD such as links or nvelocity syntax, properties, etc. would be great to know.
Neal Culiner
NC Software, Inc.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: GOLD email templates, same as 707 syntax?

Post by mazhar » Sun Aug 07, 2016 8:08 pm

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.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: GOLD email templates, same as 707 syntax?

Post by mazhar » Sun Aug 07, 2016 8:11 pm

BTW please check following thread. I posted details about porting AC7 codes to Gold few years ago
viewtopic.php?f=47&t=17108

User avatar
NC Software
AbleCommerce Partner
AbleCommerce Partner
Posts: 4620
Joined: Mon Sep 13, 2004 6:06 pm
Contact:

Re: GOLD email templates, same as 707 syntax?

Post by NC Software » Mon Aug 08, 2016 3:50 am

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.
Neal Culiner
NC Software, Inc.

Post Reply