OXID eShop CE
6.1.4
|
Public Member Functions | |
init () | |
render () | |
execute () | |
getPayment () | |
getBasket () | |
getExecuteFnc () | |
getOrderRemark () | |
getBasketArticles () | |
getDelAddress () | |
getShipSet () | |
isConfirmAGBActive () | |
isConfirmAGBError () | |
showOrderButtonOnTop () | |
isWrapping () | |
getBreadCrumb () | |
getAddressError () | |
getDeliveryAddressMD5 () | |
getBasketContentMarkGenerator () | |
Protected Member Functions | |
_getNextStep ($iSuccess) | |
_validateTermsAndConditions () | |
getUtilsObjectInstance () | |
Protected Attributes | |
$_oPayment = null | |
$_oBasket = null | |
$_sOrderRemark = null | |
$_oBasketArtList = null | |
$_sRemoteAddress = null | |
$_oDelAddress = null | |
$_oShipSet = null | |
$_blConfirmAGB = null | |
$_blShowOrderButtonOnTop = null | |
$_blConfirmAGBError = null | |
$_sThisTemplate = 'page/checkout/order.tpl' | |
$_blIsOrderStep = true | |
$_iWrapCnt = null | |
Order manager. Arranges user ordering data, checks/validates it, on success stores ordering data to DB.
|
protected |
Returns next order step. If ordering was sucessfull - returns string "thankyou" (possible additional parameters), otherwise - returns string "payment" with additional error parameters.
integer | $iSuccess | status code |
|
protected |
Validates whether necessary terms and conditions checkboxes were checked.
OxidEsales\EshopCommunity\Application\Controller\OrderController::execute | ( | ) |
Checks for order rules confirmation ("ord_agb", "ord_custinfo" form values)(if no rules agreed - returns to order view), loads basket contents (plus applied price/amount discount if available - checks for stock, checks user data (if no data is set - returns to user login page). Stores order info to database (\OxidEsales\Eshop\Application\Model\Order::finalizeOrder()). According to sum for items automatically assigns user to special user group ( \OxidEsales\Eshop\Application\Model\User::onOrderExecute(); if this option is not disabled in admin). Finally you will be redirected to next page (order::_getNextStep()).
OxidEsales\EshopCommunity\Application\Controller\OrderController::getAddressError | ( | ) |
Return error number
OxidEsales\EshopCommunity\Application\Controller\OrderController::getBasket | ( | ) |
Template variable getter. Returns active basket
OxidEsales\EshopCommunity\Application\Controller\OrderController::getBasketArticles | ( | ) |
Template variable getter. Returns basket article list
OxidEsales\EshopCommunity\Application\Controller\OrderController::getBasketContentMarkGenerator | ( | ) |
Method returns object with explanation marks for articles in basket.
OxidEsales\EshopCommunity\Application\Controller\OrderController::getBreadCrumb | ( | ) |
Returns Bread Crumb - you are here page1/page2/page3...
OxidEsales\EshopCommunity\Application\Controller\OrderController::getDelAddress | ( | ) |
Template variable getter. Returns delivery address
OxidEsales\EshopCommunity\Application\Controller\OrderController::getDeliveryAddressMD5 | ( | ) |
Return users setted delivery address md5
OxidEsales\EshopCommunity\Application\Controller\OrderController::getExecuteFnc | ( | ) |
Template variable getter. Returns execution function name
OxidEsales\EshopCommunity\Application\Controller\OrderController::getOrderRemark | ( | ) |
Template variable getter. Returns user remark
OxidEsales\EshopCommunity\Application\Controller\OrderController::getPayment | ( | ) |
Template variable getter. Returns payment object
OxidEsales\EshopCommunity\Application\Controller\OrderController::getShipSet | ( | ) |
Template variable getter. Returns shipping set
|
protected |
OxidEsales\EshopCommunity\Application\Controller\OrderController::init | ( | ) |
Loads basket \OxidEsales\Eshop\Core\Session::getBasket(), sets $this->oBasket->blCalcNeeded = true to recalculate, sets back basket to session \OxidEsales\Eshop\Core\Session::setBasket(), executes parent::init().
OxidEsales\EshopCommunity\Application\Controller\OrderController::isConfirmAGBActive | ( | ) |
Template variable getter. Returns if option "blConfirmAGB" is on
OxidEsales\EshopCommunity\Application\Controller\OrderController::isConfirmAGBError | ( | ) |
Template variable getter. Returns if option "blConfirmAGB" was not set
OxidEsales\EshopCommunity\Application\Controller\OrderController::isWrapping | ( | ) |
Returns wrapping options availability state (TRUE/FALSE)
OxidEsales\EshopCommunity\Application\Controller\OrderController::render | ( | ) |
Executes parent::render(), if basket is empty - redirects to main page and exits the script (\OxidEsales\Eshop\Application\Model\Order::validateOrder()). Loads and passes payment info to template engine. Refreshes basket articles info by additionally loading each article object (\OxidEsales\Eshop\Application\Model\Order::getProdFromBasket()), adds customer addressing/delivering data (\OxidEsales\Eshop\Application\Model\Order::getDelAddressInfo()) and delivery sets info (\OxidEsales\Eshop\Application\Model\Order::getShipping()). Returns name of template to render order::_sThisTemplate.
OxidEsales\EshopCommunity\Application\Controller\OrderController::showOrderButtonOnTop | ( | ) |
Template variable getter. Returns if option "blShowOrderButtonOnTop" is on
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Count of wrapping + cards options
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |