Sha256: d9080434c09311042e46599d74354b0c2c5e8a12ed8246503c52a746ba341361
Contents?: true
Size: 378 Bytes
Versions: 7
Compression:
Stored size: 378 Bytes
Contents
# frozen_string_literal: true module SolidusSubscriptions module Spree module Variant module VariantPrettyName def pretty_name name = product.name name += " - #{options_text}" if options_text.present? name end end end end end Spree::Variant.prepend(SolidusSubscriptions::Spree::Variant::VariantPrettyName)
Version data entries
7 entries across 7 versions & 1 rubygems