Module: Spree::Admin::ProductsHelper

Defined in:
app/helpers/spree/admin/products_helper.rb

Instance Method Summary collapse

Instance Method Details

#frontend_product_path(product) ⇒ Object



6
7
8
# File 'app/helpers/spree/admin/products_helper.rb', line 6

def frontend_product_path(product)
  Spree::Backend::Config[:frontend_product_path].call(self, product)
end

#show_rebuild_vat_checkbox?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'app/helpers/spree/admin/products_helper.rb', line 10

def show_rebuild_vat_checkbox?
  Spree::TaxRate.included_in_price.exists?
end