Sha256: 263c0d5541a3774fcad168a9501e2a29ed1de8892e790d15ced9ef8e0fc6a2bf
Contents?: true
Size: 271 Bytes
Versions: 102
Compression:
Stored size: 271 Bytes
Contents
module Spree module ReturnItem::ExchangeVariantEligibility class SameProduct def self.eligible_variants(variant) Spree::Variant.where(product_id: variant.product_id, is_master: variant.is_master?).in_stock_or_backorderable end end end end
Version data entries
102 entries across 102 versions & 1 rubygems