Method: Spree::Variant#tax_category

Defined in:
app/models/spree/variant.rb

#tax_categorySpree::TaxCategory

This returns the product’s tax category if the tax category ID on the variant is nil. It looks like an association, but really is an override.

Returns:



166
167
168
# File 'app/models/spree/variant.rb', line 166

def tax_category
  super || product_tax_category
end