load exclusively the shipping methods that support all the shipping categories of the line items

This commit is contained in:
Mohamed ABDELLANI
2023-02-27 19:26:24 +01:00
parent 890ab6796e
commit eab8e2be6c
3 changed files with 25 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ class SplitCheckoutController < ::BaseController
check_step if params[:step]
recalculate_tax if params[:step] == "summary"
flash_error_when_no_shipping_method_available if available_shipping_methods.none?
flash_error_when_no_shipping_method_available if load_allowed_shipping_methods.none?
end
def update