VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Yellow Cherry on April 18, 2013, 11:46:25 AM

Title: Different invoice template for different shopper type
Post by: Yellow Cherry on April 18, 2013, 11:46:25 AM
Using Joomla 2.5.9 and VM 2.0.20b

I have a wholesale shopper type as well as a retail shopper type. The wholesale customer does not pay on order but on delivery as not all the stock is available so they only pay for what is available on their order.

When a wholesale shopper places an order instead of the Invoice being generated and sent, I would like a Sales Order to be sent but we still need Retail customers to generate an Invoice. All info on the template can stay the same, literally just the title of it to be Sales Order for the wholesale shopper type and Invoice for all other shopper types.

Any ideas how to go about this folks?