estimateTotals( )


Estimates the subtotal and total for current site visitor’s cart.

Totals include tax and are based on the selected carrier service, shipping address, and billing information.

Note: Not passing any optional parameters will only estimate the cart items price totals.

Method Declaration
Copy
Method Parameters
_idstringRequired

Cart ID.


optionsEstimateTotalsOptions

Total estimation options.

Returns
Return Type:Promise<EstimateTotalsResponse>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?