| java.lang.Object org.ofbiz.order.shoppingcart.ShoppingCartEvents
Method Summary | |
public static String | addCategoryDefaults(HttpServletRequest request, HttpServletResponse response) | public static String | addProductPromoCode(HttpServletRequest request, HttpServletResponse response) | public static String | addToCart(HttpServletRequest request, HttpServletResponse response) Event to add an item to the shopping cart. | public static String | addToCartBulk(HttpServletRequest request, HttpServletResponse response) | public static String | addToCartFromOrder(HttpServletRequest request, HttpServletResponse response) | public static String | clearCart(HttpServletRequest request, HttpServletResponse response) Empty the shopping cart. | public static String | deleteFromCart(HttpServletRequest request, HttpServletResponse response) Delete an item from the shopping cart. | public static String | destroyCart(HttpServletRequest request, HttpServletResponse response) Totally wipe out the cart, removes all stored info. | public static ShoppingCart | getCartObject(HttpServletRequest request) Gets the shopping cart from the session. | public static String | modifyCart(HttpServletRequest request, HttpServletResponse response) Update the items in the shopping cart. |
addCategoryDefaults | public static String addCategoryDefaults(HttpServletRequest request, HttpServletResponse response)(Code) | | Adds all products in a category according to default quantity on ProductCategoryMember
for each; if no default for a certain product in the category, or if
quantity is 0, do not add
|
addToCartBulk | public static String addToCartBulk(HttpServletRequest request, HttpServletResponse response)(Code) | | Adds all products in a category according to quantity request parameter
for each; if no parameter for a certain product in the category, or if
quantity is 0, do not add
|
|
|