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
setInstance
setType
addItems
updateItemsFromCheckout
updateItems
updateShipping
updatePayment
updateItemsDb
setFullItems
roundTotalAmount
getTaxRecapitulation
getTotal
getItems
getFullItems
getCoupon
getPaymentMethod
getShippingMethod
getShippingId
getPaymentId
getCouponTitle
getCouponCode
getCartDiscountTitle
getCartDiscountId
getCouponValid
getShippingCosts
getPaymentCosts
getStockValid
getMinimumQuantityValid
getMinimumMultipleQuantityValid
getRewardPointsNeeded
getRewardPointsReceived
getRewardPointsUsed
getProductsRemoved
updateProductsRemoved
getVendorId
getTicketId
getUnitId
getSectionId
getLoyaltyCartNumber
addShippingCosts
addPaymentCosts
emptyCart
getCartCountItems
getCartTotalItems
removeCouponDb
You are here:
Home
Phoca Cart
PhocacartCart
⇦
Back to Phoca Cart project (class list)
Class PhocacartCart - list of methods
Direct known subclasses
PhocacartCartRendercart
PhocacartCartRendercheckout
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
__construct
()
Show source code of this method:
__construct Source Code
public
setInstance
(mixed
$type
)
Show source code of this method:
setInstance Source Code
public
setType
(mixed
$type
=
array(0, 1)
)
Show source code of this method:
setType Source Code
public
addItems
(mixed
$id
=
0
, mixed
$catid
=
0
, mixed
$quantity
=
0
, mixed
$attributes
=
array()
, mixed
$idKey
=
''
)
Show source code of this method:
addItems Source Code
public
updateItemsFromCheckout
(mixed
$idKey
=
''
, mixed
$quantity
=
0
)
Show source code of this method:
updateItemsFromCheckout Source Code
protected
updateItems
()
Show source code of this method:
updateItems Source Code
public
updateShipping
()
Show source code of this method:
updateShipping Source Code
public
updatePayment
(mixed
$shippingId
=
0
)
Show source code of this method:
updatePayment Source Code
protected
updateItemsDb
()
Show source code of this method:
updateItemsDb Source Code
public
setFullItems
()
Show source code of this method:
setFullItems Source Code
public
roundTotalAmount
()
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
getTaxRecapitulation
()
Show source code of this method:
getTaxRecapitulation Source Code
public
getTotal
()
Show source code of this method:
getTotal Source Code
public
getItems
()
Show source code of this method:
getItems Source Code
public
getFullItems
()
Show source code of this method:
getFullItems Source Code
public
getCoupon
()
Show source code of this method:
getCoupon Source Code
public
getPaymentMethod
()
Show source code of this method:
getPaymentMethod Source Code
public
getShippingMethod
()
Show source code of this method:
getShippingMethod Source Code
public
getShippingId
()
Show source code of this method:
getShippingId Source Code
public
getPaymentId
()
Show source code of this method:
getPaymentId Source Code
public
getCouponTitle
()
Show source code of this method:
getCouponTitle Source Code
public
getCouponCode
()
Show source code of this method:
getCouponCode Source Code
public
getCartDiscountTitle
()
Show source code of this method:
getCartDiscountTitle Source Code
public
getCartDiscountId
()
Show source code of this method:
getCartDiscountId Source Code
public
getCouponValid
()
Show source code of this method:
getCouponValid Source Code
public
getShippingCosts
()
Show source code of this method:
getShippingCosts Source Code
public
getPaymentCosts
()
Show source code of this method:
getPaymentCosts Source Code
public
getStockValid
()
Show source code of this method:
getStockValid Source Code
public
getMinimumQuantityValid
()
Show source code of this method:
getMinimumQuantityValid Source Code
public
getMinimumMultipleQuantityValid
()
Show source code of this method:
getMinimumMultipleQuantityValid Source Code
public
getRewardPointsNeeded
()
Show source code of this method:
getRewardPointsNeeded Source Code
public
getRewardPointsReceived
()
Show source code of this method:
getRewardPointsReceived Source Code
public
getRewardPointsUsed
()
Show source code of this method:
getRewardPointsUsed Source Code
public
getProductsRemoved
()
Show source code of this method:
getProductsRemoved Source Code
public
updateProductsRemoved
(mixed
$k
)
Show source code of this method:
updateProductsRemoved Source Code
public
getVendorId
()
Show source code of this method:
getVendorId Source Code
public
getTicketId
()
Show source code of this method:
getTicketId Source Code
public
getUnitId
()
Show source code of this method:
getUnitId Source Code
public
getSectionId
()
Show source code of this method:
getSectionId Source Code
public
getLoyaltyCartNumber
()
Show source code of this method:
getLoyaltyCartNumber Source Code
public
addShippingCosts
(mixed
$shippingId
=
0
, mixed
$paymentId
=
0
)
Show source code of this method:
addShippingCosts Source Code
public
addPaymentCosts
(mixed
$paymentId
=
0
)
Show source code of this method:
addPaymentCosts Source Code
public
emptyCart
()
Show source code of this method:
emptyCart Source Code
public
getCartCountItems
()
Show source code of this method:
getCartCountItems Source Code
public
getCartTotalItems
()
Show source code of this method:
getCartTotalItems Source Code
public
removeCouponDb
()
Show source code of this method:
removeCouponDb Source Code