Метод | Описание | |
---|---|---|
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 | ||
Результат | 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 | |
Результат |
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 | |
Результат |
public variationToProductAction ( $productId, $slug ) : |
||
$productId | ||
$slug | ||
Результат |
public viewAction ( $productId, $slug ) : |
||
$productId | ||
$slug | ||
Результат |
public viewVariationsAction ( $productId, $slug ) : |
||
$productId | ||
$slug | ||
Результат |