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
Basket
BasketInterface
isAddable
Sonata\Component\Basket\BasketInterface::isAddable PHP Method
BasketInterface Interface Documentation
Show file
Open project: sonata-project/ecommerce
isAddable()
public
method
Check if the product can be added to the basket.
public
isAddable
(
Sonata\Component\Product\ProductInterface
$product
) :
boolean
$product
Sonata\Component\Product\ProductInterface
return
boolean
public function isAddable(ProductInterface $product);
BasketInterface
addBasketElement
buildPrices
clean
countBasketElements
getBasketElements
getBillingAddress
getBillingAddressId
getCurrency
getCustomer
getCustomerId
getDeliveryAddress
getDeliveryAddressId
getDeliveryMethod
getDeliveryMethodCode
getDeliveryPrice
getDeliveryVat
getElement
getLocale
getPaymentMethod
getPaymentMethodCode
getPositions
getProductPool
getSerializationFields
getTotal
getUnserializationFields
getVatAmount
getVatAmounts
hasBasketElements
hasProduct
hasRecurrentPayment
isAddable
isEmpty
isValid
removeBasketElement
removeElement
removeElements
reset
setBasketElements
setBillingAddress
setBillingAddressId
setCurrency
setCustomer
setCustomerId
setDeliveryAddress
setDeliveryAddressId
setDeliveryMethod
setLocale
setPaymentMethod
setPaymentMethodCode
setProductPool