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

Billing and Virtuemart userinfo

Started by wbyers, May 04, 2017, 19:43:34 PM

Previous topic - Next topic

wbyers

Hello, I work at a company that specializes in providing sports programs for children. At the moment my employers desire an alteration to the cart so that when one uses the changes the billing information pane info in the pane in the cart it does not save over the virtuemart_userinfos. Because at current changing the information there causes the shoppers info to be altered, we would like to avoid this if at all possible. I've looked online and have not found any details about how to do this. Is it even possible? and if so, how would I go about it?

GJC Web Design

how could this work? Billing info IS VM userinfo..

what are u actually trying to achieve with this setup?
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

wbyers

We're trying to prevent the cart billing information from overriding the userinfo that already exists. Is that just unreasonable?

GJC Web Design

yes--- because->   Billing info IS VM userinfo..

if your not going to use/store billing info from the form then whats the point of having it?
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

wbyers

 it also goes to order userinfos. We want to keep getting the order detail userinfos but we don't need the virtuemart_userinfos stuff being continuously updated at the same time.

AH

You have not stated the business reason for such a requirement

There is nothing you can do by configuration to adjust this functionality, it is how the VM component functions

Order_userinfos are the historic snapshot of Billing and Shipping detail  used at the time of ordering

Vm_userinfos holds the Billing Details and Shipping details for registered customers are "loaded" when a customer signs in

You may find someone that would look to "change" the behaviour of VM but you would have to ensure that this did not prevent you from taking updates in the future.

Regards
A

Joomla 3.10.11
php 8.0

GJC Web Design

why don't u hide the "Billing" after the first registration and only show shipping ?

But your really not explaining WHY you need this..  if u want help it is a reasonable request to fully explain what u need help with!
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

wbyers

#7
We need to do this because we want to avoid overriding the userinfo which comes from the billing info. Because we are user using use rinfo for account information and any change to the billing changes the information in the user facing account. This is something we really want to avoid because it causes confusion.
Would you recommend a separate table for user account data instead or anything for that matter?
We'd really like to avoid having the user account details change in usg_virtuemart_userinfos just because the billing info does.

GJC Web Design

then simply hide the billing info form for logged in users.. then they can never change it which is what u appear to want...
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

wbyers

Then, is there anyway we can support multiple billing addresses for each user without a lot of hassle? That might be more what we're looking for.

GJC Web Design

rename the shipping addresses... they are just labels
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