Sha256: 4c906b42179014ea8089a2302c4071b12ffb37f7a08d1ad4657229578ce0d30d
Contents?: true
Size: 365 Bytes
Versions: 133
Compression:
Stored size: 365 Bytes
Contents
# frozen_string_literal: true 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
133 entries across 133 versions & 2 rubygems