Jump to content
thirty bees forum

On bleeding edge: "This address is not yours"


veganline

Recommended Posts

I made a test order on a bleeding edge update and had an error message prevent it: 'This address is not yours'

from
 https://github.com/thirtybees/thirtybees/blob/e84fd0b4bc4adf1600cac135e1d5c42f75cefb60/controllers/front/OrderOpcController.php#L226

which reads

if ($addressDelivery->id_customer != $this->context->customer->id || $addressInvoice->id_customer != $this->context->customer->id) { $this->errors[] = Tools::displayError('This address is not yours.');

Does anybody know what this check is trying to do, or a way of turning it off from the back office without over-rides?
I try to cut-out everything to do with customer registration and keep all customers as guests who can order from any address.

This isn't urgent but ideas are welcome

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...