Username:

Password:


  • Home
  • Help
  • Search
  • Downloads
  • Login
  • Register
CubeCart - FreeForums For All » CubeCart 5 » Developer's Kit » Cart Class
Pages: [1]   Go Down
« previous next »
Print
Author Topic: Cart Class
Chief!
Administrator
Newbie
*****
Posts: 13


Cart Class
« on: July 31, 2013, 10:05:14 AM »

Cart
+ basket = null; array; Current basket
+ basket_data = false; array; Basket data
+ basket_digital = false; bool; Digital basket
- _discount = 0; float; Cart discount
- _item_discount = false; bool; Cart item discount flag
- _shipping = 0; float; Shipping cost
- _shipping_discount = 0; float; Shipping discount
- _subtotal = 0; float; Cart subtotal
- _total = 0; float; Cart total
- _weight = 0; float; Cart weight
# _instance; static instance; Class instance
# __construct; final
+ __destruct
+ getInstance; static
+ add
+ autoload
+ clear
+ discountAdd
+ discountRemove
+ get
+ getBasketDigital
+ getSubTotal
+ getTotal
+ getWeight
+ load
+ loadShippingModules; array|false;
+ checkShippingModuleCountry
+ remove; status|false; Remove an item from the basket
+ save; nothing; Save basket
+ set
+ update
- _applyDiscounts; bool; Apply a discount to the cart
- _applyProductDiscount; nothing; Apply product discount
- _checkOption; bool; Check option choice
As of CC522
Report to moderator   Logged
Pages: [1]   Go Up
Print
« previous next »
Jump to:  

Powered by SMF 1.1.23 | SMF © 2015, Simple Machines
Nly-Grey Theme by N a t i
Loading...