Revert "Fix: Customers can checkout with non-matching shipping and product categories"

This commit is contained in:
David Cook
2023-03-17 10:40:53 +11:00
committed by GitHub
parent 9ea6fa5c44
commit ef607da2c1
3 changed files with 6 additions and 22 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 allowed_shipping_methods.none?
flash_error_when_no_shipping_method_available if available_shipping_methods.none?
end
def update