Sha256: b6fbfe6a31905e09bcfc988f5a31b3a9cf90ba09c7bd46645d4fc56c4458af0f

Contents?: true

Size: 189 Bytes

Versions: 6

Compression:

Stored size: 189 Bytes

Contents

json.email current_user&.email
json.emarsys_cart_items current_order.items do |item|
  json.item item.product_id
  json.quantity item.quantity
  json.price item.total_price.amount.to_f
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
workarea-emarsys-1.0.4 app/views/workarea/storefront/emarsys/_current_user_emarsys_cart.json.jbuilder
workarea-emarsys-2.0.1 app/views/workarea/storefront/emarsys/_current_user_emarsys_cart.json.jbuilder
workarea-emarsys-2.0.0 app/views/workarea/storefront/emarsys/_current_user_emarsys_cart.json.jbuilder
workarea-emarsys-1.1.0 app/views/workarea/storefront/emarsys/_current_user_emarsys_cart.json.jbuilder
workarea-emarsys-1.0.3 app/views/workarea/storefront/emarsys/_current_user_emarsys_cart.json.jbuilder
workarea-emarsys-1.0.2 app/views/workarea/storefront/emarsys/_current_user_emarsys_cart.json.jbuilder