Method: Spree::Product#tax_category

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

#tax_categorySpree::TaxCategory

Returns tax category for this product, or the default tax category.

Returns:



142
143
144
# File 'app/models/spree/product.rb', line 142

def tax_category
  super || Spree::TaxCategory.find_by(is_default: true)
end