Sha256: ce4f909ac43141e6171c0e4325589e831325c9878e5c317fc3621787820d4016

Contents?: true

Size: 968 Bytes

Versions: 2

Compression:

Stored size: 968 Bytes

Contents

- if item.on_sale?
  %p{class: "#{css_block}__price"}
    %span{class: "#{css_block}__label" } #{t('workarea.storefront.orders.price_now')}:
    %strong{ data: { ge_basket_productsaleprice: "", fp: item.product.sell_min_fixed_prices.presence&.to_json } }= number_to_currency(item.original_unit_price)
  %p{class: "#{css_block}__price"}
    %span{class: "#{css_block}__label" } #{t('workarea.storefront.orders.price_was')}:
    %s{ data: { ge_basket_productlistprice: "" } }= number_to_currency(item.original_price)
- else
  %p{class: "#{css_block}__price" }
    %span{ data: { ge_basket_productsaleprice: "", fp: item.product.sell_min_fixed_prices.presence&.to_json } }= 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{ data: { ge_customizations_price: "" } }= number_to_currency(item.customizations_unit_price)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-global_e-1.3.0 app/views/workarea/storefront/carts/_pricing.html.haml
workarea-global_e-1.2.1 app/views/workarea/storefront/carts/_pricing.html.haml