Back to Phoca Cart project (class list)

Class PhocacartCoupon - list of methods

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/coupon/coupon.php
Project: Phoca Cart

Method Summary

public
()

Show source code of this method: __construct Source Code

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

Show source code of this method: setType Source Code

public
(mixed $couponId = 0, mixed $couponCode = '')

Show source code of this method: setCoupon Source Code

public
()

Show source code of this method: getCoupon Source Code

public
(mixed $basicCheck = 0, mixed $id = 0, mixed $catid = 0, mixed $quantity = 0, mixed $amount = 0, mixed $subtotalAmount = 0)

Show source code of this method: checkCoupon Source Code

public static
(mixed $itemString, mixed $couponId)

Show source code of this method: storeCouponProductsById Source Code

public static
(mixed $catArray, mixed $couponId)

Show source code of this method: storeCouponCatsById Source Code

public static
(mixed $couponId, mixed $select = 0)

Show source code of this method: getCouponProductsById Source Code

public static
(mixed $couponId, mixed $select = 0)

Show source code of this method: getCouponCatsById Source Code

public static
(mixed $couponId)

Show source code of this method: getCouponTitleById Source Code

public static
(mixed $couponId)

Show source code of this method: getCouponInfoById Source Code

public static
(mixed $couponId)

Show source code of this method: storeCouponCount Source Code

public static
(mixed $couponId, mixed $userId)

Show source code of this method: storeCouponCountUser Source Code

public static
()

Show source code of this method: generateCouponCode Source Code

public static
(mixed $orderId)

Show source code of this method: getGiftsByOrderId Source Code

public static
(mixed $couponId)

Show source code of this method: getGiftByCouponId Source Code

public static
(mixed $orderId)

Show source code of this method: activateAllGiftsByOrderId Source Code