Please select right shipping method - Shipping not working if "Delivery and billing addresses are the same" is ticked

Phoca Cart - complex e-commerce extension
sarahhayes
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 09 Aug 2021, 14:43

Please select right shipping method - Shipping not working if "Delivery and billing addresses are the same" is ticked

Post by sarahhayes »

I think I've may have found a bug.

I have shipping set up correctly and it previously worked (not sure which version), but now when the user tries to check out they get "Please select right shipping method", even though they have selected the correct shipping option.

This only happens if they have ticked the "Delivery and billing addresses are the same"
If you uncheck this and manually add the shipping address and save, you can then log out.

In options > Calculations I have "Shipping Country Rule" set to "Based on Customer Shipping Address"

If I change In options > Calculations "Shipping Country Rule" to "Based on Customer Shipping Address (if empty then Billing Address" it works.

The shipping rule isn't recognising the ticked "Delivery and billing addresses are the same". It is seeing the shipping address as empty.

The website international, so we can't have shipping based on billing address. It must be on shipping address. Any suggestions how to fix this?

Joomla 4.4.2
PhocaCart 4.0.10
PHP 8.2
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Please select right shipping method - Shipping not working if "Delivery and billing addresses are the same" is ticke

Post by Jan »

Hi,

try to see these two parameters:

Image

you can disable the checkbox completely, so users need to add shipping address or you can try to change the parameter: Same Delivery And Billing Address - Influence on Rules

Jan
If you find Phoca extensions useful, please support the project
Post Reply