Jump to content

Where can I find Variables for Supplier's Details?


Srain

Recommended Posts

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

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

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...