Code: Select all
#set ($discountAmt = ${token.getcnnSG().queryValue("SELECT Price FROM ...")})
Code: Select all
#set ($discountAmt = ${token.getcnnSG().queryValue("SELECT Price FROM ...")})
Can I include ConLib's within email templates?mazhar wrote:I don't think so you can do that with NVelocity in 7.0. You should better create a conlib control, do what ever you want to do with database in the conlib control. Finally just include that control where you want to put nvelocity code. Have a look at following topic for custom queries. http://wiki.ablecommerce.com/index.php/Custom_Queries