jacksoggetto Posted September 2, 2011 Share Posted September 2, 2011 I'd like to create a variable in complete tpl, with the promocode used (if one) or empty (if no promocode were used). How can I do it? Do I have to query the database or the is one ready to use (i guess it wuold be like $promocode or $promotioncode ) Do someone knows it? 0 Quote Link to comment Share on other sites More sharing options...
thehost5968 Posted September 2, 2011 Share Posted September 2, 2011 First place {debug} in the file and do a test order to see if it is listed or not and if it is not then yes you would need to do a database lookup. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.