mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-02 21:57:17 +00:00
Add historical note to CartService
Useful background when applying upstream fixes from Spree::OrderPopulator, and means grepping for OrderPopulator doesn't come up empty.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
require 'open_food_network/scope_variant_to_hub'
|
||||
|
||||
# Previously Spree::OrderPopulator. Modified to work with max_quantity and variant overrides.
|
||||
|
||||
class CartService
|
||||
attr_accessor :order, :currency
|
||||
attr_reader :variants_h
|
||||
|
||||
Reference in New Issue
Block a user