VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: zgred on December 23, 2016, 16:24:15 PM

Title: Cart orders
Post by: zgred on December 23, 2016, 16:24:15 PM
Hi, I have problem with cart in virtuemart.
I add field with VAT. This is checkbox. If user want VAT - checked.

In table virtuemart_orders I add my custom cell.

And my question is:

Where virtuemart insert to mysql orders? Which file?

I wannt add to mysql my field VAT if user checked but I don't know where virtuea mart insert...



Sorry for my english
Title: Re: Cart orders
Post by: jenkinhill on December 23, 2016, 16:52:27 PM
http://forum.virtuemart.net/index.php?topic=79799.0

Do you mean that a shopper selects if he wants a VAT receipt? Or if he wants to pay VAT? Or if he is VAT registered?
Title: Re: Cart orders
Post by: zgred on December 24, 2016, 10:41:40 AM
Joomla! 2.5.24
VM  2.0.26d

______________________

"shopper selects if he wants a VAT receipt?"

Shopper select VAT but not one time. Selects each order. Sometimes can want VAT receipt (example if buy lamp.). sometimes you may not want (if buy example toys).

In virtuemart_orders I add cell VAT. I don't know how insert VAT info in virtuemart_orders  table. Where virtue add to mysql orders?
Title: Re: Cart orders
Post by: GJC Web Design on December 24, 2016, 13:19:42 PM
Quote"shopper selects if he wants a VAT receipt?"

Have no idea about such an old install but in later VM this is just a configured customfield chk box and appears in the order
Title: Re: Cart orders
Post by: jenkinhill on December 24, 2016, 15:07:27 PM
See http://forum.virtuemart.net/index.php?topic=118683.0