Inheritance diagram for Basket:
Collaboration diagram for Basket:Public Member Functions | |
| render () | |
| getBasketArticles () | |
| getFirstBasketProduct () | |
| getBasketSimilarList () | |
| getSimilarRecommListIds () | |
| showBackToShop () | |
| addVoucher () | |
| removeVoucher () | |
| backToShop () | |
| getErrorDestination () | |
| isWrapping () | |
| getWrappingList () | |
| getCardList () | |
| changeWrapping () | |
| getBreadCrumb () | |
Protected Member Functions | |
| _setWrappingInfo ($oBasket, $aWrapping) | |
Protected Attributes | |
| $_sThisTemplate = 'page/checkout/basket.tpl' | |
| $_blIsOrderStep = true | |
| $_oBasketArticles = null | |
| $_oSimilarList = null | |
| $_oRecommList = null | |
| $_oFirstBasketProduct = null | |
| $_iViewIndexState = VIEW_INDEXSTATE_NOINDEXNOFOLLOW | |
| $_oWrappings = null | |
| $_oCards = null | |
| $_aSimilarRecommListIds = null | |
Current session shopping cart (basket item list). Contains with user selected articles (with detail information), list of similar products, top offer articles. OXID eShop -> SHOPPING CART.
Definition at line 9 of file basket.php.
| Basket._setWrappingInfo | ( | $ | oBasket, | |
| $ | aWrapping | |||
| ) | [protected] |
Sets basket wrapping
| oxBasket | $oBasket | |
| array | $aWrapping |
Definition at line 369 of file basket.php.
| Basket.addVoucher | ( | ) |
| Basket.backToShop | ( | ) |
Redirects user back to previous part of shop (list, details, ...) from basket. Used with option "Display Message when Product is added to Cart" set to "Open Basket" ($myConfig->iNewBasketItemMessage == 3)
Definition at line 227 of file basket.php.
| Basket.changeWrapping | ( | ) |
Updates wrapping data in session basket object (oxSession.getBasket()) - adds wrapping info to each article in basket (if possible). Plus adds gift message and chosen card ( takes from GET/POST/session; oBasket.giftmessage, oBasket.chosencard). Then sets basket back to session (oxSession.setBasket()).
Definition at line 317 of file basket.php.
| Basket.getBasketArticles | ( | ) |
Return the current articles from the basket
Definition at line 107 of file basket.php.
| Basket.getBasketSimilarList | ( | ) |
| Basket.getBreadCrumb | ( | ) |
Returns Bread Crumb - you are here page1/page2/page3...
Reimplemented from oxUBase.
Definition at line 337 of file basket.php.
| Basket.getCardList | ( | ) |
| Basket.getErrorDestination | ( | ) |
Returns a name of the view variable containing the error/exception messages
Reimplemented from oxView.
Definition at line 244 of file basket.php.
| Basket.getFirstBasketProduct | ( | ) |
| Basket.getSimilarRecommListIds | ( | ) |
Return array of id to form recommend list.
Reimplemented from oxUBase.
Definition at line 164 of file basket.php.
| Basket.getWrappingList | ( | ) |
| Basket.isWrapping | ( | ) |
Returns wrapping options availability state (TRUE/FALSE)
Definition at line 254 of file basket.php.
| Basket.removeVoucher | ( | ) |
Removes voucher from basket (calls oxBasket.removeVoucher())
Definition at line 210 of file basket.php.
| Basket.render | ( | ) |
Executes parent.render(), creates list with basket articles Returns name of template file basket._sThisTemplate (for Search engines return "content.tpl" template to avoid fake orders etc).
Reimplemented from oxUBase.
Definition at line 91 of file basket.php.
| Basket.showBackToShop | ( | ) |
Basket.$_aSimilarRecommListIds = null [protected] |
Definition at line 81 of file basket.php.
Basket.$_blIsOrderStep = true [protected] |
Reimplemented from oxUBase.
Definition at line 24 of file basket.php.
Basket.$_iViewIndexState = VIEW_INDEXSTATE_NOINDEXNOFOLLOW [protected] |
Current view search engine indexing state: VIEW_INDEXSTATE_INDEX - index without limitations VIEW_INDEXSTATE_NOINDEXNOFOLLOW - no index / no follow VIEW_INDEXSTATE_NOINDEXFOLLOW - no index / follow
Reimplemented from oxUBase.
Definition at line 60 of file basket.php.
Basket.$_oBasketArticles = null [protected] |
Definition at line 31 of file basket.php.
Basket.$_oCards = null [protected] |
Definition at line 74 of file basket.php.
Basket.$_oFirstBasketProduct = null [protected] |
Definition at line 53 of file basket.php.
Basket.$_oRecommList = null [protected] |
Definition at line 45 of file basket.php.
Basket.$_oSimilarList = null [protected] |
Definition at line 38 of file basket.php.
Basket.$_oWrappings = null [protected] |
Definition at line 67 of file basket.php.
Basket.$_sThisTemplate = 'page/checkout/basket.tpl' [protected] |
Reimplemented from oxView.
Definition at line 17 of file basket.php.
1.7.1