Sha256: dad055453dbdd89a484410472bc05b05b99da783aa62bb84b0ab1430baad4181

Contents?: true

Size: 403 Bytes

Versions: 1

Compression:

Stored size: 403 Bytes

Contents

module Workarea
  if Plugin.installed?("Workarea::PackageProducts")
    decorate Storefront::ProductTemplates::PackageViewModel, with: :flow_io do
      private
        def pricing
          super.tap do |pricing_collection|
            if options[:flow_experience]
              pricing_collection.flow_experience = options[:flow_experience]
            end
          end
        end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workarea-flow_io-1.2.1 app/view_models/workarea/storefront/product_templates/package_view_model.decorator