Class SharedShoppingCartController
Class SharedShoppingCartController
- HttpViewController implements HttpViewControllerInterface
- SharedShoppingCartController
Category: System
Located at Controllers/HttpView/Shop/SharedShoppingCartController.inc.php
Methods summary
public
|
#
actionDefault( )
Adds products of a shared shopping cart to the current shopping cart of the customer . |
public
|
#
actionStoreShoppingCart( )
Stores the current shopping cart content and creates a hash to address the shopping cart. |
protected
array
|
|
protected
string
|
#
_storeShoppingCart( array $products )
Stores the given product information as a shopping cart.
The expected array parameter has to be structured as follows:
array(
productId => |
protected
array|mixed
|
|
protected
|
#
_addProductToCart( PropertiesControl $propertiesControl, stdClass $product )
Adds a product from given product information to the current shopping cart. |
Methods inherited from HttpViewController
__construct()
,
_callActionMethod()
,
_getPostData()
,
_getPostDataCollection()
,
_getQueryParameter()
,
_getQueryParametersCollection()
,
_render()
,
_validatePageToken()
,
proceed()
Properties summary
Properties inherited from HttpViewController
$assets
,
$contentView
,
$httpContextReader
,
$httpResponseProcessor
,
$postDataArray
,
$queryParametersArray