ProductRelationshipJSONController
class ProductRelationshipJSONController extends Controller
Class ProductRelationshipJSONController defines API routes for product relationship
Methods
API route for loading all product relationships
API route for searching products
API route for deleting product relationships
API route for loading product relationships products with pagination
API route for adding product to product relationship
API route for removing product from product relationship
API route for changing product relationship name
API route for saving new product relationship without main product
API route for saving category products to relationship
API route for removing category product from relationship
API route for loading category products from relationship
API route for loading product relationship data
API route for changing products order in relationship
API route for rendering product relationship section
API route for rendering product relationship section
API route for editing product relationship
API route for saving product relationship settings
API route for importing product relationships from CSV file
Details
at line 52
JsonResponse
getRelationshipsJQGridAction(ArrayCollection $productRelationshipJQGRID)
API route for loading all product relationships
at line 67
JsonResponse
searchProductsAction(ArrayCollection $productRelationshipProductSearchJSON)
API route for searching products
at line 84
JsonResponse
deleteProductRelationshipJSONAction(ArrayCollection $productRelationshipDeleteJSON)
API route for deleting product relationships
at line 99
JsonResponse
getProductsForRelationshipPaginationJSONAction(ArrayCollection $productRelationshipProductsPaginationJQgridJSON)
API route for loading product relationships products with pagination
at line 114
JsonResponse
productRelationshipAddNewProduct(ArrayCollection $productRelationshipAddNewProductJSON)
API route for adding product to product relationship
at line 132
JsonResponse
productRelationshipRemoveProduct(ArrayCollection $productRelationshipRemoveProductJSON)
API route for removing product from product relationship
at line 150
JsonResponse
productRelationshipChangeProductRelationshipName(ArrayCollection $productRelationshipChangeProductRelationshipName)
API route for changing product relationship name
at line 168
JsonResponse
productRelationshipSaveRelationshipWithoutMainProduct(ArrayCollection $productRelationshipSaveRelationshipWithoutMainProduct)
API route for saving new product relationship without main product
at line 193
JsonResponse
saveCatProductsJSONAction(ArrayCollection $productRelationshipSaveCatProductsJSON)
API route for saving category products to relationship
at line 211
JsonResponse
removeCatProductsJSONAction(ArrayCollection $productRelationshipRemoveCatProductsJSON)
API route for removing category product from relationship
at line 229
JsonResponse
getCatProductsJSONAction(ArrayCollection $productRelationshipCatProductsJSON)
API route for loading category products from relationship
at line 249
JsonResponse
getRelationshipDataJSONAction(ArrayCollection $productRelationshipProductsPaginationJSON)
API route for loading product relationship data
at line 271
JsonResponse
changeOrderForProductsInRelationshipAction(ArrayCollection $changeOrderForProductsInRelationshipJSON)
API route for changing products order in relationship
at line 286
JsonResponse
getForProductAction(ArrayCollection $productRelationshipPaginationJSON)
API route for rendering product relationship section
at line 324
JsonResponse
getForRightSectionProductAction(ArrayCollection $productRelationshipPaginationJSON)
API route for rendering product relationship section
at line 359
JsonResponse
productRelationshipEditAction(ArrayCollection $productRelationshipEdit)
API route for editing product relationship
at line 374
JsonResponse
saveSettingsAction(ArrayCollection $productRelationshipSettingsJSON)
API route for saving product relationship settings
at line 389
JsonResponse
importProductRelationshipsFromCsvAction(ArrayCollection $productRelationshipImportCsvJSON)
API route for importing product relationships from CSV file