Hi folks,
I'm working on a project that requires doing a lot of math in Store Morph templates, using mvt:assign statements. I'm getting tired of typing l.settings: at the beginning of every variable name; it's tedious and makes the code hard to read. So I'm looking for a shortcut.
These templates are not Merchant UI pages. I have a custom module that manages its own templates, and runs them by calling Template_Render() in the compiled template file. What will happen if I start writing variables as l.xxxxx instead of l.settings:xxxxx? Are there any other local variables in that scope that I might clobber?
Thanks --
I'm working on a project that requires doing a lot of math in Store Morph templates, using mvt:assign statements. I'm getting tired of typing l.settings: at the beginning of every variable name; it's tedious and makes the code hard to read. So I'm looking for a shortcut.
These templates are not Merchant UI pages. I have a custom module that manages its own templates, and runs them by calling Template_Render() in the compiled template file. What will happen if I start writing variables as l.xxxxx instead of l.settings:xxxxx? Are there any other local variables in that scope that I might clobber?
Thanks --
Comment