Sha256: ad0f1271f454d583807c25523eeb4d9fad97311392f571b8fa379d49f876a595
Contents?: true
Size: 334 Bytes
Versions: 11
Compression:
Stored size: 334 Bytes
Contents
module Spree class ReturnItem < Spree::Base module 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 end
Version data entries
11 entries across 11 versions & 1 rubygems