New details in the Ecwid.Cart.get() method from JS API
Last updated
Was this helpful?
Last updated
Was this helpful?
Ecwid JS API now allows you to receive more cart details without making any backend calls through the Ecwid.Cart.get()
method.
The Ecwid.Cart.get()
method now responds with more data.
New fields in the cart
object: total
, subtotal
, tax
, isPricesIncludeTax
.
New fields in the cart
-> items[]
-> product
object: isCustomerSetPrice, selectedPrice, mediaItem, recurringChargeSettings
New fields allow you to check the following new order details without backend API calls:
Order total, subtotal and tax costs.
Links to images of products added to the cart.
Details of subscription products in the cart.