Srain Posted May 12, 2016 Share Posted May 12, 2016 Hi everyone, Please help me one of the following, or both 1.) Where can I find Variables for Supplier's Details? 2.) Can I add it (Supplier's Details) on email templates? If so, how? (give a sample line pls). Thanks in advance! Link to comment Share on other sites More sharing options...
musicmaster Posted May 12, 2016 Share Posted May 12, 2016 You can always see which variables are available in a Smarty template with the command {debug}. You can also investigate individual variables like {$products|print_r} Link to comment Share on other sites More sharing options...
vekia Posted May 12, 2016 Share Posted May 12, 2016 1.) Where can I find Variables for Supplier's Details? what you mean? youre asking about where you can use variables that will display supplier details? or what> Link to comment Share on other sites More sharing options...
Srain Posted May 12, 2016 Author Share Posted May 12, 2016 what you mean? youre asking about where you can use variables that will display supplier details? or what> I mean, I want to know what are the available variables for supplier details (for e.g: supplier ID, Name, Address, ....). Where them listed? then, I want to use them in email templates (to show the supplier info to buyer). Sorry, I'm not prestashop expert, but experienced in PHP and tpl editing. Link to comment Share on other sites More sharing options...
Srain Posted May 12, 2016 Author Share Posted May 12, 2016 You can always see which variables are available in a Smarty template with the command {debug}. You can also investigate individual variables like {$products|print_r} Sorry, I'm not prestashop expert, but experienced in PHP and tpl editing. I could not understand what you mean, sorry for my mistake ..... could you please drop a ref/example link to use it? Link to comment Share on other sites More sharing options...
musicmaster Posted May 12, 2016 Share Posted May 12, 2016 Sorry, I'm not prestashop expert, but experienced in PHP and tpl editing. I could not understand what you mean, sorry for my mistake ..... could you please drop a ref/example link to use it? If you are an expert in Smarty tpl editing you should know these commands. Anyway, these are just debug commands that you put in the tpl. It doesn't matter where as this is for debug purposes. Link to comment Share on other sites More sharing options...
Srain Posted May 12, 2016 Author Share Posted May 12, 2016 If you are an expert in Smarty tpl editing you should know these commands. Anyway, these are just debug commands that you put in the tpl. It doesn't matter where as this is for debug purposes. thanks musicmaster, I will try and update 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