Author Topic: How does VM Identify which address it is using in the order?  (Read 200 times)

Metabern1

  • Beginner
  • *
  • Posts: 5
  • A beginner
  • Skype Name: metabern1
How does VM Identify which address it is using in the order?
« on: April 24, 2019, 13:44:48 pm »
I am trying to figure out how Virtuemart identifies which user's address is specified in an order.

Example:
VM Shopper has 1 bill-to address and 3 ship-to addresses.

Shopper buys product and in cart area selects one of their ship-to addresses.

How does VM identify the chosen address in the jos_virtuemart_order table?

Cheers

VM 3.4.2 / J3.9.5

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 2158
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: How does VM Identify which address it is using in the order?
« Reply #1 on: April 24, 2019, 14:19:21 pm »
By using the order_id for the order in the order_user_info table.

Check Your VM database table for more info or look into Your template files for code details.

Jörgen @ Kreativ Fotografi
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)