Method: Spree::Product#tax_category
- Defined in:
- app/models/spree/product.rb
#tax_category ⇒ Spree::TaxCategory
Returns tax category for this product, or the default tax category.
142 143 144 |
# File 'app/models/spree/product.rb', line 142 def tax_category super || Spree::TaxCategory.find_by(is_default: true) end |