OXID eShop CE
6.1.5
|
Public Member Functions | |
checkForStock ($dAmount, $dArtStockAmount=0) | |
getSelectLists ($sKeyPrefix=null) | |
getBasketPrice ($dAmount, $aSelList, $oBasket) | |
skipDiscounts () | |
getCategoryIds ($blActCats=false, $blSkipCache=false) | |
getPrice () | |
getProductId () | |
getBasePrice ($dAmount=1) | |
isOrderArticle () | |
Article interface
OxidEsales\EshopCommunity\Application\Model\Contract\ArticleInterface::checkForStock | ( | $dAmount, | |
$dArtStockAmount = 0 |
|||
) |
Checks if stock configuration allows to buy user chosen amount $dAmount
double | $dAmount | buyable amount |
double | $dArtStockAmount | stock amount |
Implemented in OxidEsales\EshopCommunity\Application\Model\OrderArticle.
OxidEsales\EshopCommunity\Application\Model\Contract\ArticleInterface::getBasePrice | ( | $dAmount = 1 | ) |
Returns base article price from database
double | $dAmount | article amount. Default is 1 |
Implemented in OxidEsales\EshopCommunity\Application\Model\OrderArticle.
OxidEsales\EshopCommunity\Application\Model\Contract\ArticleInterface::getBasketPrice | ( | $dAmount, | |
$aSelList, | |||
$oBasket | |||
) |
Creates, calculates and returns oxprice object for basket product.
double | $dAmount | Amount |
string | $aSelList | Selection list |
object | $oBasket | User shopping basket object |
Implemented in OxidEsales\EshopCommunity\Application\Model\OrderArticle.
OxidEsales\EshopCommunity\Application\Model\Contract\ArticleInterface::getCategoryIds | ( | $blActCats = false , |
|
$blSkipCache = false |
|||
) |
Returns ID's of categories. where this article is assigned
bool | $blActCats | select categories if all parents are active |
bool | $blSkipCache | Whether to skip cache |
Implemented in OxidEsales\EshopCommunity\Application\Model\OrderArticle.
OxidEsales\EshopCommunity\Application\Model\Contract\ArticleInterface::getPrice | ( | ) |
Calculates and returns price of article (adds taxes and discounts).
Implemented in OxidEsales\EshopCommunity\Application\Model\OrderArticle.
OxidEsales\EshopCommunity\Application\Model\Contract\ArticleInterface::getProductId | ( | ) |
Returns product id (oxid)
Implemented in OxidEsales\EshopCommunity\Application\Model\OrderArticle.
OxidEsales\EshopCommunity\Application\Model\Contract\ArticleInterface::getSelectLists | ( | $sKeyPrefix = null | ) |
Returns all selectlists this article has.
string | $sKeyPrefix | Optionall key prefix |
Implemented in OxidEsales\EshopCommunity\Application\Model\OrderArticle.
OxidEsales\EshopCommunity\Application\Model\Contract\ArticleInterface::isOrderArticle | ( | ) |
Returns true if object is derived from oxorderarticle class
Implemented in OxidEsales\EshopCommunity\Application\Model\OrderArticle.
OxidEsales\EshopCommunity\Application\Model\Contract\ArticleInterface::skipDiscounts | ( | ) |
Checks if discount should be skipped for this article in basket. Returns true if yes.
Implemented in OxidEsales\EshopCommunity\Application\Model\OrderArticle.