core/app/models/spree/order.rb
def line_item_options_match(line_item, options)
      return true unless options

      line_item_comparison_hooks.all? { |hook|
        send(hook, line_item, options)
      }
    end
# This method enables extensions to participate in the
# "Are these line items equal" decision.
#
# When adding to cart, an extension would send something like:
# params[:product_customizations]=...
#
# and would provide:
#
# def product_customizations_match
This method enables extensions to participate in the
"Are these line items equal" decision.

When adding to cart, an extension would send something like:
params[:product_customizations]=

and would provide.


This method enables extensions to participate in the " Are these line items equal " decision . When adding to cart an extension would send something like : params [ : product_customizations ] = and would provide .
def line_item_options_match(line_item, options)
      return true unless options
      line_item_comparison_hooks.all? { |hook|
        send(hook, line_item, options)
      }
    end
def line_item_options_match ( line_item , options ) return true unless options line_item_comparison_hooks . all? { | hook | send ( hook , line_item , options ) } end
This method enables extensions to participate in the
"Are these line items equal" decision.
This method enables extensions to participate in the " Are these line items equal " decision .
line_item
options