Sha256: a670b47066ff66bad9b3d960a01b0e8652623513f91c9deed71b39272207136d
Contents?: true
Size: 1.99 KB
Versions: 28
Compression:
Stored size: 1.99 KB
Contents
-# TODO v4 rewrite, simply and add better classes - cache "#{product.cache_key}/prices", expires_in: Workarea.config.cache_expirations.product_pricing_fragment_cache do - if product.one_price? %p.product-prices__price - if product.show_sell_range? %span.product-prices__sell-price.product-prices__sell-price--min = number_to_currency(product.sell_min_price) %span.product-prices__sell-price.product-prices__sell-price--max – #{number_to_currency product.sell_max_price} - else %span.product-prices__sell-price = number_to_currency(product.sell_min_price) - else - if product.on_sale? %p.product-prices__price.product-prices__price--on-sale - if product.show_sell_range? %strong.product-prices__sell-price.product-prices__sell-price--min = number_to_currency(product.sell_min_price) %strong.product-prices__sell-price.product-prices__sell-price--max – #{number_to_currency product.sell_max_price} - else %strong.product-prices__sell-price = number_to_currency(product.sell_min_price) - else %p.product-prices__price - if product.show_sell_range? %span.product-prices__sell-price.product-prices__sell-price--min = number_to_currency(product.sell_min_price) %span.product-prices__sell-price.product-prices__sell-price--max – #{number_to_currency product.sell_max_price} - else %span.product-prices__sell-price = number_to_currency(product.sell_min_price) %p.product-prices__price.product-prices__price--original - if product.show_original_range? %s.product-prices__original-price.product-prices__original-price--range #{number_to_currency product.original_min_price} – #{number_to_currency product.original_max_price} - else %s.product-prices__original-price= number_to_currency product.original_min_price = append_partials('storefront.product_pricing', product: product)
Version data entries
28 entries across 28 versions & 1 rubygems