After thinking about the logic of the order, I decided to make the shopping cart two-stage:
- The user searches necessary medicines and adds them to the cart;
- The user chooses the pharmacy from which he will pick up his order.
This solution has become almost perfect for the tasks at hand, with the exception of one situation: if the user is looking for
only one medicine, two steps to buy is too much.
Solution: adding a button on the medicine’s page, which immediately goes to the second stage of the cart, bypassing the first.