Unable to use other mailaddress when logged in

If you are runnig Joomla 3.x and Virtuemart 3.x please post to this forum your questions or support tickets about One Page Checkout

Unable to use other mailaddress when logged in

Postby mail@.....com » Fri Feb 23, 2024 7:49 am

Goal

Place an order for a customer (using a different mailadress) when logged in as shop merchant.

Description

When you are logged in as an administrator (say shop merchant), you sometimes want to place an order for a customer. This may come in handy when the customer is in the physical shop and an order needs to be placed because the product items have to be send to the customers home address. Now when you log in as administrator and you fill in the address form in OPC, the email address filled in is not used as the mail address to send the order confirmation to. Also the email address on the billing address details on the invoice / email are always the mail address of the logged in user, not the customer. The value of the billing address email address should be used instead.

Steps to reproduce

  • Log into the backend of Virtuemart as administrator
  • Go to the frontend
  • Add an item to the cart
  • Go to the checkout and fill out the address form. Use a different email address than the one from the logged in administrator.
  • Place the order and notice that the email for the order confirmation was sent to the administrator email
mail@.....com
 
Posts: 2
Joined: Mon May 16, 2022 8:39 pm

Return to One Page Checkout for Virtuemart 3 on Joomla 3.x