Module: Spree::Orders::FinderHelper

Included in:
FindComplete, FindCurrent
Defined in:
app/finders/spree/orders/finder_helper.rb

Instance Method Summary collapse

Instance Method Details

#order_includesObject



4
5
6
7
8
9
10
11
12
13
14
# File 'app/finders/spree/orders/finder_helper.rb', line 4

def order_includes
  {
    line_items: [
      variant: [
        :product,
        :images,
        { option_values: :option_type }
      ]
    ]
  }
end