Site logo file
API
Search
Phoca.cz Main Site
Phoca Cart
Phoca Cart Demo
Search
Search
Advanced Search
Projects
Joomla
Phoca Cart
Phoca Gallery
Phoca Download
Classes
PhocacartAccess
PhocacartAccessRights
PhocacartAttribute
PhocacartCalculation
PhocacartCaptcha
PhocacartCaptchaRecaptcha
PhocacartCart
PhocacartCartCalculation
PhocacartCartDb
PhocacartCartRendercart
PhocacartCartRendercheckout
PhocacartCategory
PhocacartCategoryMultiple
PhocacartCompare
PhocacartCount
PhocacartCountry
PhocacartCoupon
PhocacartCurrency
PhocacartDate
PhocacartDiscountCart
PhocacartDiscountProduct
PhocacartDownload
PhocacartEdit
PhocacartEmail
PhocacartEmailFactory
PhocacartEmailMail
PhocacartFeed
PhocacartFile
PhocacartFileAdditional
PhocacartFileThumbnail
PhocacartFileUpload
PhocacartFileUploadmultiple
PhocacartFileUploadsingle
PhocacartFilter
PhocacartFormItems
PhocacartFormUser
PhocacartGroup
PhocacartHtmlBatch
PhocacartHtmlFeatured
PhocacartHtmlGrid
PhocacartHtmlJgrid
PhocacartId
PhocacartImage
PhocacartImageAdditional
PhocacartImageMagic
PhocacartLanguage
PhocacartLog
PhocacartManufacturer
PhocacartNewsletter
PhocacartOrder
PhocacartOrderCalculation
PhocacartOrdering
PhocacartOrderRender
PhocacartOrderStatus
PhocacartOrderView
PhocacartPagination
PhocacartParameter
PhocacartPath
PhocacartPayment
PhocacartPdf
PhocacartPlugin
PhocacartPos
PhocacartPosPrint
PhocacartPrice
PhocacartPriceBulkprice
PhocacartPriceHistory
PhocacartProduct
PhocacartRegion
PhocacartRelated
PhocacartRenderAdmin
PhocacartRenderAdmincolumns
PhocacartRenderAdminjs
PhocacartRenderAdminmedia
PhocacartRenderAdminview
PhocacartRenderAdminviews
PhocacartRenderFront
PhocacartRenderIcon
PhocacartRenderJs
PhocacartRenderMedia
PhocacartRenderStyle
PhocacartReview
PhocacartReward
PhocacartRoute
PhocaCartRouterrules
PhocacartSearch
PhocacartSection
PhocacartSecurity
PhocacartShipping
PhocacartSize
PhocacartSpecification
PhocacartStatistics
PhocacartStatisticsHits
PhocacartStock
PhocacartSubmit
PhocacartTag
PhocacartTax
PhocacartText
PhocacartTicket
PhocacartTime
PhocacartType
PhocacartUnit
PhocacartUser
PhocacartUserGuestuser
PhocacartUtils
PhocacartUtilsAdmindescription
PhocacartUtilsBatchhelper
PhocacartUtilsException
PhocacartUtilsExtension
PhocacartUtilsInfo
PhocacartUtilsOptions
PhocacartUtilsSettings
PhocacartVendor
PhocacartWishlist
PhocacartZone
Methods
__construct
setType
setCoupon
getCoupon
checkCoupon
storeCouponProductsById
storeCouponCatsById
getCouponProductsById
getCouponCatsById
getCouponTitleById
getCouponInfoById
storeCouponCount
storeCouponCountUser
generateCouponCode
getGiftsByOrderId
getGiftByCouponId
activateAllGiftsByOrderId
You are here:
Home
Phoca Cart
PhocacartCoupon
⇦
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
__construct
()
Show source code of this method:
__construct Source Code
public
setType
(mixed
$type
=
array(0, 1)
)
Show source code of this method:
setType Source Code
public
setCoupon
(mixed
$couponId
=
0
, mixed
$couponCode
=
''
)
Show source code of this method:
setCoupon Source Code
public
getCoupon
()
Show source code of this method:
getCoupon Source Code
public
checkCoupon
(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
storeCouponProductsById
(mixed
$itemString
, mixed
$couponId
)
Show source code of this method:
storeCouponProductsById Source Code
public static
storeCouponCatsById
(mixed
$catArray
, mixed
$couponId
)
Show source code of this method:
storeCouponCatsById Source Code
public static
getCouponProductsById
(mixed
$couponId
, mixed
$select
=
0
)
Show source code of this method:
getCouponProductsById Source Code
public static
getCouponCatsById
(mixed
$couponId
, mixed
$select
=
0
)
Show source code of this method:
getCouponCatsById Source Code
public static
getCouponTitleById
(mixed
$couponId
)
Show source code of this method:
getCouponTitleById Source Code
public static
getCouponInfoById
(mixed
$couponId
)
Show source code of this method:
getCouponInfoById Source Code
public static
storeCouponCount
(mixed
$couponId
)
Show source code of this method:
storeCouponCount Source Code
public static
storeCouponCountUser
(mixed
$couponId
, mixed
$userId
)
Show source code of this method:
storeCouponCountUser Source Code
public static
generateCouponCode
()
Show source code of this method:
generateCouponCode Source Code
public static
getGiftsByOrderId
(mixed
$orderId
)
Show source code of this method:
getGiftsByOrderId Source Code
public static
getGiftByCouponId
(mixed
$couponId
)
Show source code of this method:
getGiftByCouponId Source Code
public static
activateAllGiftsByOrderId
(mixed
$orderId
)
Show source code of this method:
activateAllGiftsByOrderId Source Code