Sylius / AdminOrderCreationPlugin

Create orders in Sylius as an Administrator
MIT License
56 stars 50 forks source link

Shipping Method isn't good one displayed on preview page if method has Category requirements restriction #175

Open pedrito92-a opened 3 years ago

pedrito92-a commented 3 years ago

Hi,

On the preview page, I have a problem with the shipping method displayed. During the checkout process, after selecting a carrier with categories requirements, when I preview the order, my previously selected carrier changed with the default carrier after the orderProcess methods executed.

During the creation process, the available shipments are good. I select Fedex (config in the image)

Order creation

On the preview page, and during the save order process, the shipping method is reset with the default shipping method

Order preview

Fedex configuration:

Shipping Method
pedrito92-a commented 3 years ago

The CategoryRequirementEligibilityChecker is blocking because the order has no shipables. How can I make this checker eligible?