Vendor name in template

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 yıl önce
Does there exist a variable to allow the vendor name to be included in a message template?

%Order.VendorName% ?
5 yıl önce
No, only the tokens as shown when you click 'Show' next to "Allowed message tokens".

An Order does not have a Vendor.  Products have a Vendor.  An Order can contain products from multiple vendors.  NopCommerce will send separate vendor emails based on the product's vendor.
5 yıl önce
Makes sense, but if the order is being sent to a vendor, then shouldn't it be a token in that case?
5 yıl önce
You can request the feature  
https://github.com/nopSolutions/nopCommerce/issues

But what is the need for it? Is it just to have a nice friendly "Dear Vendor Name" ?
5 yıl önce
Thought it would be useful when dealing with many Vendors but not an urgent requirement.
5 yıl önce
RE: "...useful when dealing with many Vendors ...".

Why?  Each will get their own email if the order contains products from multiple vendors.
3 yıl önce
I am in dire need of vendor name, vendor address and vendor contact number in OrderPlaced.VendorNotification and OrderPaid.VendorNotification in the message templates. Is it possible to do so? Any suggested customization will be appreciated.

Is it possible to have a plugin that allow us to make such message tokens automatically?
3 yıl önce
Yes you can make a plugin that has a custom message template and tokens for any data that is not currently available in any message template.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.