Ecwid JS API now allows you to receive more cart details without making any backend calls through the Ecwid.Cart.get() method.
Ecwid.Cart.get()
The Ecwid.Cart.get() method now responds with more data.
New fields in the cart object: total, subtotal, tax, isPricesIncludeTax .
cart
total
subtotal
tax
isPricesIncludeTax
New fields in the cart -> items[] -> product object: isCustomerSetPrice, selectedPrice, mediaItem, recurringChargeSettings
items[]
product
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.
Last updated 11 months ago
Was this helpful?