cercamon Posted November 13, 2014 Share Posted November 13, 2014 (edited) Hi, I'm wondering if there's a list of variables or shortcodes that we can use in product description field. I'm aware that we can call images using a shortcode format like [img-1742-left-large_default], but I wonder if there are any other variables that we can use, like the product name or any other data. Thanks for your assistance! Edited November 13, 2014 by cercamon (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted November 13, 2014 Share Posted November 13, 2014 It is not possible. You have to create data for a template and then show it - templates are Smarty templates. Link to comment Share on other sites More sharing options...
cercamon Posted November 14, 2014 Author Share Posted November 14, 2014 Thanks for your reply. Could you elaborate on how to create data for a template so we can recall it inside the product description as a shortcode? 1 Link to comment Share on other sites More sharing options...
tuk66 Posted November 14, 2014 Share Posted November 14, 2014 Learn from code. Data are created in controllers - /controllers/front/* - and injected to templates through: $this->context->smarty->assign method. Link to comment Share on other sites More sharing options...
dandumit Posted February 16 Share Posted February 16 On 11/13/2014 at 10:48 AM, cercamon said: [img-1742-left-large_default] do you have a special module for this kind of shortcode ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now