Skip to content

Latest commit

 

History

History
71 lines (46 loc) · 672 Bytes

doc.md

File metadata and controls

71 lines (46 loc) · 672 Bytes

cart

create

Kcart::create($authUser);

userCart

Kcart::userCart($authUser);

paid

Kcart::paid($cartId);

coupon

Kcart::coupon($id,$code,$type,$amount);

get

Kcart::get($cart_id,$authUser);

cart item

add

KcartItem::add()

remove

KcartItem::remove($cartID,$productID)

remove all

KcartItem::removeAll($cartID)

update

KcartItem::update($cartID,$productID,$quantity)

coupon

KcartItem::haveCoupon($cartID,$productID,$code,$type,$amount)

remove coupon

KcartItem::haveCouponRemove($cartID,$productID)