OXID eShop CE
6.4.2
|
Public Member Functions | |
toCompareList ( $sProductId=null, $dAmount=null, $aSel=null, $blOverride=false, $blBundle=false) | |
toNoticeList ($sProductId=null, $dAmount=null, $aSel=null) | |
toWishList ($sProductId=null, $dAmount=null, $aSel=null) | |
render () | |
Protected Member Functions | |
_toList ($sListType, $sProductId, $dAmount, $aSel) | |
Protected Attributes | |
$_blIsComponent = true | |
Transparent shop utilities class. Some specific utilities, such as fetching article info, etc. (Class may be used for overriding).
@subpackage oxcmp
|
protected |
Adds chosen product to defined user list. if amount is 0, item is removed from the list
string | $sListType | user product list type |
string | $sProductId | product id |
double | $dAmount | product amount |
array | $aSel | product selection list |
OxidEsales\EshopCommunity\Application\Component\UtilsComponent::render | ( | ) |
Set view data, call parent::render
OxidEsales\EshopCommunity\Application\Component\UtilsComponent::toCompareList | ( | $sProductId = null , |
|
$dAmount = null , |
|||
$aSel = null , |
|||
$blOverride = false , |
|||
$blBundle = false |
|||
) |
Adds/removes chosen article to/from article comparison list
object | $sProductId | product id |
double | $dAmount | amount |
array | $aSel | (default null) |
bool | $blOverride | allow override |
bool | $blBundle | bundled |
OxidEsales\EshopCommunity\Application\Component\UtilsComponent::toNoticeList | ( | $sProductId = null , |
|
$dAmount = null , |
|||
$aSel = null |
|||
) |
If session user is set loads user noticelist (\OxidEsales\Eshop\Application\Model\User::GetBasket()) and adds article to it.
string | $sProductId | Product/article ID (default null) |
double | $dAmount | amount of good (default null) |
array | $aSel | product selection list (default null) |
OxidEsales\EshopCommunity\Application\Component\UtilsComponent::toWishList | ( | $sProductId = null , |
|
$dAmount = null , |
|||
$aSel = null |
|||
) |
If session user is set loads user wishlist (\OxidEsales\Eshop\Application\Model\User::GetBasket()) and adds article to it.
string | $sProductId | Product/article ID (default null) |
double | $dAmount | amount of good (default null) |
array | $aSel | product selection list (default null) |
|
protected |