Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Sonata
Component
Product
ProductProviderInterface
getStockAvailable
Sonata\Component\Product\ProductProviderInterface::getStockAvailable PHP Method
ProductProviderInterface Interface Documentation
Show file
Open project: sonata-project/ecommerce
getStockAvailable()
public
method
return the stock available for the current product.
public
getStockAvailable
(
Sonata\Component\Product\ProductInterface
$product
) :
integer
$product
Sonata\Component\Product\ProductInterface
return
integer
the stock available
public function getStockAvailable(ProductInterface $product);
ProductProviderInterface
basketAddProduct
basketMergeProduct
buildBasketElement
buildCreateForm
buildEditForm
buildForm
calculatePrice
configureShowFields
createBasketElement
createVariation
defineAddBasketForm
defineBasketElementForm
getBaseControllerName
getBasketElementManager
getCheapestEnabledVariation
getEnabledVariations
getFilters
getProductCategoryManager
getProductCollectionManager
getStockAvailable
getVariatedProperties
getVariation
getVariationsChoices
hasEnabledVariations
hasVariations
isAddableToBasket
isValidBasketElement
setBasketElementManager
setProductCategoryManager
setProductCollectionManager
synchronizeVariations
synchronizeVariationsCategories
synchronizeVariationsCollections
synchronizeVariationsDeliveries
synchronizeVariationsPackages
synchronizeVariationsProduct
updateComputationPricesFields
updateStock
validateFormBasketElement