Back to Phoca Cart project (class list)

Class PhocacartCart - list of methods

Direct known subclasses

Copyright: Copyright (C) Jan Pavelka https://www.phoca.cz
License: http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 and later
Located at: Phocacart/cart/cart.php
Project: Phoca Cart

Method Summary

public
()

Show source code of this method: __construct Source Code

public
(mixed $type)

Show source code of this method: setInstance Source Code

public
(mixed $type = array(0, 1))

Show source code of this method: setType Source Code

public
(mixed $id = 0, mixed $catid = 0, mixed $quantity = 0, mixed $attributes = array(), mixed $idKey = '')

Show source code of this method: addItems Source Code

public
(mixed $idKey = '', mixed $quantity = 0)

Show source code of this method: updateItemsFromCheckout Source Code

protected
()

Show source code of this method: updateItems Source Code

public
()

Show source code of this method: updateShipping Source Code

public
(mixed $shippingId = 0)

Show source code of this method: updatePayment Source Code

protected
()

Show source code of this method: updateItemsDb Source Code

public
()

Show source code of this method: setFullItems Source Code

public
()

This is a final cart function It is called roundTotalAmount() because of backward compatibility but is the place to do last checks in cart
Show source code of this method: roundTotalAmount Source Code

public
()

Show source code of this method: getTaxRecapitulation Source Code

public
()

Show source code of this method: getTotal Source Code

public
()

Show source code of this method: getItems Source Code

public
()

Show source code of this method: getFullItems Source Code

public
()

Show source code of this method: getCoupon Source Code

public
()

Show source code of this method: getPaymentMethod Source Code

public
()

Show source code of this method: getShippingMethod Source Code

public
()

Show source code of this method: getShippingId Source Code

public
()

Show source code of this method: getPaymentId Source Code

public
()

Show source code of this method: getCouponTitle Source Code

public
()

Show source code of this method: getCouponCode Source Code

public
()

Show source code of this method: getCartDiscountTitle Source Code

public
()

Show source code of this method: getCartDiscountId Source Code

public
()

Show source code of this method: getCouponValid Source Code

public
()

Show source code of this method: getShippingCosts Source Code

public
()

Show source code of this method: getPaymentCosts Source Code

public
()

Show source code of this method: getStockValid Source Code

public
()

Show source code of this method: getMinimumQuantityValid Source Code

public
()

Show source code of this method: getRewardPointsNeeded Source Code

public
()

Show source code of this method: getRewardPointsReceived Source Code

public
()

Show source code of this method: getRewardPointsUsed Source Code

public
()

Show source code of this method: getProductsRemoved Source Code

public
(mixed $k)

Show source code of this method: updateProductsRemoved Source Code

public
()

Show source code of this method: getVendorId Source Code

public
()

Show source code of this method: getTicketId Source Code

public
()

Show source code of this method: getUnitId Source Code

public
()

Show source code of this method: getSectionId Source Code

public
()

Show source code of this method: getLoyaltyCartNumber Source Code

public
(mixed $shippingId = 0, mixed $paymentId = 0)

Show source code of this method: addShippingCosts Source Code

public
(mixed $paymentId = 0)

Show source code of this method: addPaymentCosts Source Code

public
()

Show source code of this method: emptyCart Source Code

public
()

Show source code of this method: getCartCountItems Source Code

public
()

Show source code of this method: getCartTotalItems Source Code

public
()

Show source code of this method: removeCouponDb Source Code