removeCoupon( )


Removes the coupon currently applied to the cart.

The removeCoupon() function returns a Promise that resolves to the current site visitor's cart when the currently applied coupon has been removed.

Note: When editing a site as a contributor, removeCoupon() will only work when viewing the live site.

Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<CartObj>
Was this helpful?
Yes
No