Requirement
Ships list update based on the location
Our Solution
We need to create a new extension to update the list of ship methods showing on the checkout page. The extension will be available only for the checkout page.
In the implementation, we will consider that, If both warehouses have an inventory – show Ships from California first.
Note: It will apply if any of the items satisfy the above situation in the ship item list in the checkout
Currently, we are having a single add-to-cart option on the PLP page. So we can add the Ship option to the confirmation Pop Up
If any of the items on the list have satisfied the situation, the option SHIP FROM CALIFORNIA will show first.
PLP Page
For Matrix Item: We can add the option like below
For Non- matrix Item
Assumptions
- Ship methods are created for California
- The new update will be applicable only for PLP and PDP pages.