eZPublish  3.8
basket.php File Reference

Variables

 $basket =& eZBasket::currentBasket()
 
if($http->hasPostVariable("ActionAddToBasket"))
if($http->hasPostVariable("RemoveProductItemButton"))
if($http->hasPostVariable("StoreChangesButton"))
if($http->hasPostVariable("ContinueShoppingButton")) 
$doCheckout = false
 
 $http =& eZHTTPTool::instance()
 
 $module =& $Params["Module"]
 
if(eZHTTPTool::hasSessionVariable(
'DoCheckoutAutomatically')) 
$removedItems = array()
 
if($shippingInfo!==null) $Result = array()
 
 $Result ['content'] =& $tpl->fetch( "design:shop/basket.tpl" )
 
 $Result ['path']
 
 $shippingInfo = eZShippingManager::getShippingInfo( $basket->attribute( 'productcollection_id' ) )
 
 $tpl =& templateInit()
 

Variable Documentation

if ($http->hasPostVariable("CheckoutButton") or($doCheckout===true)) $basket =& eZBasket::currentBasket()
if ($http->hasPostVariable("ActionAddToBasket")) if ($http->hasPostVariable("RemoveProductItemButton")) if ($http->hasPostVariable("StoreChangesButton")) if ($http->hasPostVariable("ContinueShoppingButton")) $doCheckout = false
$module =& $Params["Module"]
if (eZHTTPTool::hasSessionVariable( 'DoCheckoutAutomatically')) $removedItems = array()
if ($shippingInfo!==null) $Result = array()
$Result['content'] =& $tpl->fetch( "design:shop/basket.tpl" )
$Result['path']
Initial value:
= array( array( 'url' => false,
'text' => ezi18n( 'kernel/shop', 'Basket' ) ) )
$shippingInfo = eZShippingManager::getShippingInfo( $basket->attribute( 'productcollection_id' ) )
$tpl =& templateInit()