Author Topic: Billing and Virtuemart userinfo  (Read 1391 times)

wbyers

  • Jr. Member
  • **
  • Posts: 70
  • A beginner
Billing and Virtuemart userinfo
« on: May 04, 2017, 19:43:34 pm »
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8892
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Billing and Virtuemart userinfo
« Reply #1 on: May 04, 2017, 19:51:26 pm »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

wbyers

  • Jr. Member
  • **
  • Posts: 70
  • A beginner
Re: Billing and Virtuemart userinfo
« Reply #2 on: May 04, 2017, 19:55:17 pm »
We're trying to prevent the cart billing information from overriding the userinfo that already exists. Is that just unreasonable?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8892
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Billing and Virtuemart userinfo
« Reply #3 on: May 04, 2017, 22:59:26 pm »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

wbyers

  • Jr. Member
  • **
  • Posts: 70
  • A beginner
Re: Billing and Virtuemart userinfo
« Reply #4 on: May 04, 2017, 23:04:56 pm »
 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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2896
  • VirtueMart Version: 3.4
Re: Billing and Virtuemart userinfo
« Reply #5 on: May 05, 2017, 09:25:59 am »
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.9.1
php 7.1

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8892
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Billing and Virtuemart userinfo
« Reply #6 on: May 05, 2017, 11:10:34 am »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

wbyers

  • Jr. Member
  • **
  • Posts: 70
  • A beginner
Re: Billing and Virtuemart userinfo
« Reply #7 on: May 05, 2017, 14:29:28 pm »
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8892
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Billing and Virtuemart userinfo
« Reply #8 on: May 05, 2017, 21:51:57 pm »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

wbyers

  • Jr. Member
  • **
  • Posts: 70
  • A beginner
Re: Billing and Virtuemart userinfo
« Reply #9 on: May 05, 2017, 22:34:11 pm »
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8892
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Billing and Virtuemart userinfo
« Reply #10 on: May 05, 2017, 23:55:37 pm »
rename the shipping addresses... they are just labels
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation