eZPublish  4.4
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($http->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 = eZTemplate::factory()
 

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 ($http->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' => ezpI18n::tr( 'kernel/shop', 'Basket' ) ) )
static tr($context, $source, $comment=null, $arguments=null)
Translates the source $source with context $context and optional comment $comment and returns the tra...
Definition: ezpi18n.php:88