Sha256: 05f4315642d593c9994284d3459959580cea83317ab611c6fc045e7d8f01d9c2
Contents?: true
Size: 390 Bytes
Versions: 2
Compression:
Stored size: 390 Bytes
Contents
module Workarea module Storefront module ProductBundlesHelper def bundle_field_prefix(product, field) return field if !product.bundle? || product.package? "bundled_items[][#{field}]" end def bundle_name_prefix(product, field) return field if !product.bundle? || product.package? "bundled_items__#{field}" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
workarea-product_bundles-1.0.1 | app/helpers/workarea/storefront/product_bundles_helper.rb |
workarea-product_bundles-1.0.0 | app/helpers/workarea/storefront/product_bundles_helper.rb |