class ProductController extends Controller

Class ProductController defines routes for product

Methods

array
productSlugAction(Product $productSlugGetJSON)

Frontend route for product (product page)

JsonResponse
productAttributeValuesImagesAction(ArrayCollection $productAttributeValuesImages)

API route for loading product attribute values images

JsonResponse
productGetBundleProductAction(ArrayCollection $productGetBundleProductFrontendJSON)

API route for loading bundle products

JsonResponse
productListingJsonAction(ArrayCollection $productListingJSON)

API route for loading products with filters

JsonResponse
productGetPricesJsonAction(ArrayCollection $productGetPricesJSON)

API route for loading product prices

Details

at line 45
array productSlugAction(Product $productSlugGetJSON)

Frontend route for product (product page)

Parameters

Product $productSlugGetJSON

Return Value

array

See also

ProductSlugGetJSONConverter

at line 62
JsonResponse productAttributeValuesImagesAction(ArrayCollection $productAttributeValuesImages)

API route for loading product attribute values images

Parameters

ArrayCollection $productAttributeValuesImages

Return Value

JsonResponse

See also

ProductAttributeValuesImagesConverter

at line 91
JsonResponse productGetBundleProductAction(ArrayCollection $productGetBundleProductFrontendJSON)

API route for loading bundle products

Parameters

ArrayCollection $productGetBundleProductFrontendJSON

Return Value

JsonResponse

See also

ProductGetBundleProductFrontendJSONConverter

at line 116
JsonResponse productListingJsonAction(ArrayCollection $productListingJSON)

API route for loading products with filters

Parameters

ArrayCollection $productListingJSON

Return Value

JsonResponse

See also

ProductListingJSONConverter

at line 147
JsonResponse productGetPricesJsonAction(ArrayCollection $productGetPricesJSON)

API route for loading product prices

Parameters

ArrayCollection $productGetPricesJSON

Return Value

JsonResponse

See also

ProductGetPricesJSONConverter