Sha256: fc27b8f0d82109b4dff5302097eb608499081a7171329f401034b705c367f74e
Contents?: true
Size: 293 Bytes
Versions: 47
Compression:
Stored size: 293 Bytes
Contents
module Spree module ReturnItem::ExchangeVariantEligibility class SameProduct def self.eligible_variants(variant, stock_locations: nil) Spree::Variant.where(product_id: variant.product_id, is_master: variant.is_master?).in_stock(stock_locations) end end end end
Version data entries
47 entries across 47 versions & 1 rubygems