Module: SolidusSubscriptions::Spree::Variant::VariantPrettyName

Defined in:
app/decorators/models/solidus_subscriptions/spree/variant/variant_pretty_name.rb

Instance Method Summary collapse

Instance Method Details

#pretty_nameObject


5
6
7
8
9
# File 'app/decorators/models/solidus_subscriptions/spree/variant/variant_pretty_name.rb', line 5

def pretty_name
  name = product.name
  name += " - #{options_text}" if options_text.present?
  name
end