Open nefarianblack opened 10 years ago
NoMethodError in Spree::UserSessionsController#create undefined method `quantity' for true:TrueClass
How to reproduce:
Resolution: file: order_decorator.rb line no. 4 current_item = contains?(variant, ad_hoc_option_value_ids, product_customizations)
current_item = contains?(variant, ad_hoc_option_value_ids, product_customizations)
change this to: current_item = find_line_item_by_variant(variant, ad_hoc_option_value_ids, product_customizations)
current_item = find_line_item_by_variant(variant, ad_hoc_option_value_ids, product_customizations)
Note: I have created a pull request for the issue (https://github.com/jsqu99/spree_flexi_variants/pull/100).
NoMethodError in Spree::UserSessionsController#create undefined method `quantity' for true:TrueClass
How to reproduce:
Resolution: file: order_decorator.rb line no. 4
current_item = contains?(variant, ad_hoc_option_value_ids, product_customizations)
change this to:
current_item = find_line_item_by_variant(variant, ad_hoc_option_value_ids, product_customizations)
Note: I have created a pull request for the issue (https://github.com/jsqu99/spree_flexi_variants/pull/100).