Sha256: e441ab38c2888f87d8257a1dbf7001c1f49417a49c500562d5888224d28ce725

Contents?: true

Size: 673 Bytes

Versions: 62

Compression:

Stored size: 673 Bytes

Contents

- if item.on_sale?
  %p{class: "#{css_block}__price"}
    %span{class: "#{css_block}__label"} #{t('workarea.storefront.orders.price_now')}:
    %strong= number_to_currency(item.original_unit_price)
  %p{class: "#{css_block}__price"}
    %span{class: "#{css_block}__label"} #{t('workarea.storefront.orders.price_was')}:
    %s= number_to_currency(item.original_price)
- else
  %p{class:"#{css_block}__price"}
    %span= number_to_currency(item.original_unit_price)
- if item.customized?
  %p{class:"#{css_block}__price"}
    %span{class: "#{css_block}__label"} #{t('workarea.storefront.orders.customizations')}:
    %span= number_to_currency(item.customizations_unit_price)

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-storefront-3.4.13 app/views/workarea/storefront/carts/_pricing.html.haml
workarea-storefront-3.4.12 app/views/workarea/storefront/carts/_pricing.html.haml