News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Cart orders

Started by zgred, December 23, 2016, 16:24:15 PM

Previous topic - Next topic

zgred

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

jenkinhill

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?
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

zgred

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?

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum