Method: Spree::Variant#tax_category
- Defined in:
- app/models/spree/variant.rb
#tax_category ⇒ Spree::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.
166 167 168 |
# File 'app/models/spree/variant.rb', line 166 def tax_category super || product_tax_category end |