Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Module: Mage_Checkout

The Mage_Checkout module allows you to manage shopping carts and the checkout process. This module allows you to create an order once filling the shopping cart is complete.

Cart Coupon

Allows you to add and remove coupon codes for a shopping cart.

Resource Name: cart_coupon

Methods:

Note: In Magento, quotes and shopping carts are logically related, but technically different. The shopping cart is a wrapper for a quote, and it is used primarily by the frontend logic. The cart is represented by the Mage_Checkout_Model_Cart class and the quote is represented by the Mage_Sales_Model_Quote class.

Faults

Fault CodeFault Message
1001Can not make operation because store is not exists
1002Can not make operation because quote is not exists
1081Coupon could not be applied because quote is empty.
1082Coupon could not be applied.
1083Coupon is not valid.

Table of contents