ProductJSONController
class ProductJSONController extends Controller
Class ProductJSONController defines API routes for product
Methods
API route for loading all products
API route for loading all products
API route for loading all uncategorized products
API route for loading and rendering data for specific product
API route for adding new product
API route for edit product
API route for deleting product
API route for saving product attribute values of product
API route for saving features of product
API route for saving product images
API route for saving product files
API route for handling product categorization
API route for product search if user logged
API route for product search
Details
at line 49
JsonResponse
getAllProductsAction(ArrayCollection $productList)
API route for loading all products
at line 64
JsonResponse
getAllProductsJQGridAction(ArrayCollection $productList)
API route for loading all products
at line 79
JsonResponse
getAllProductsJQGridUncateogrizedAction(ArrayCollection $productListUncategorized)
API route for loading all uncategorized products
at line 94
JsonResponse
getProductAction(Product $productGetJSON)
API route for loading specific product data
at line 109
JsonResponse
getProductQuickInformationBySlugAction(ArrayCollection $productQuickInformationGetJSON)
API route for loading and rendering data for specific product
at line 138
JsonResponse
saveProductAction(ArrayCollection $productJSON)
API route for adding new product
at line 153
JsonResponse
editProductAction(ArrayCollection $productEditJSON)
API route for edit product
at line 168
JsonResponse
deleteProductAction(ArrayCollection $productDeleteJSON)
API route for deleting product
at line 183
JsonResponse
saveProductAttributeValuesForProductAction(ArrayCollection $productSavePavsJSON)
API route for saving product attribute values of product
at line 198
JsonResponse
saveFeaturesForProductAction(ArrayCollection $productSaveFeaturesJSON)
API route for saving features of product
at line 213
JsonResponse
saveImagesForProductAction(ArrayCollection $productSaveImagesJSON)
API route for saving product images
at line 228
JsonResponse
saveFilesForProductAction(ArrayCollection $productSaveFilesJSON)
API route for saving product files
at line 243
JsonResponse
saveCategorizationForProductAction(ArrayCollection $productSaveCategorizationJSON)
API route for handling product categorization
at line 258
JsonResponse
searchProductsAction(ArrayCollection $productSearchList)
API route for product search if user logged
at line 271
JsonResponse
baseProductFrontendSearch(ArrayCollection $productsFrontendSearch)
API route for product search