Method | Description | |
---|---|---|
getPriceStockForQuantityAction ( $productId ) : Symfony\Component\HttpFoundation\JsonResponse | Returns price for $productId in given quantity and stock information as JSON. | |
renderFinalReviewBasketElementAction ( Sonata\Component\Basket\BasketElementInterface $basketElement, Sonata\Component\Basket\BasketInterface $basket ) : |
||
renderFormBasketElementAction ( Symfony\Component\Form\FormView $formView, Sonata\Component\Basket\BasketElementInterface $basketElement, Sonata\Component\Basket\BasketInterface $basket ) : |
||
variationToProductAction ( $productId, $slug ) : |
||
viewAction ( $productId, $slug ) : |
||
viewVariationsAction ( $productId, $slug ) : |
public getPriceStockForQuantityAction ( $productId ) : Symfony\Component\HttpFoundation\JsonResponse | ||
$productId | ||
return | Symfony\Component\HttpFoundation\JsonResponse |
public renderFinalReviewBasketElementAction ( Sonata\Component\Basket\BasketElementInterface $basketElement, Sonata\Component\Basket\BasketInterface $basket ) : |
||
$basketElement | Sonata\Component\Basket\BasketElementInterface | |
$basket | Sonata\Component\Basket\BasketInterface | |
return |
public renderFormBasketElementAction ( Symfony\Component\Form\FormView $formView, Sonata\Component\Basket\BasketElementInterface $basketElement, Sonata\Component\Basket\BasketInterface $basket ) : |
||
$formView | Symfony\Component\Form\FormView | |
$basketElement | Sonata\Component\Basket\BasketElementInterface | |
$basket | Sonata\Component\Basket\BasketInterface | |
return |
public variationToProductAction ( $productId, $slug ) : |
||
$productId | ||
$slug | ||
return |
public viewAction ( $productId, $slug ) : |
||
$productId | ||
$slug | ||
return |
public viewVariationsAction ( $productId, $slug ) : |
||
$productId | ||
$slug | ||
return |