diff --git a/vendor-uploads-add-product-action.php b/vendor-uploads-add-product-action.php index 2233ef1..65076fc 100644 --- a/vendor-uploads-add-product-action.php +++ b/vendor-uploads-add-product-action.php @@ -31,19 +31,19 @@ $token = $_SESSION["token"]; $response = addProduct( - $vendorId, - $productName, - $stock, - $price, - $salePrice, - $weight, - $length, - $width, - $height, - $specifications, - $productType, - $parentId, - $token); + $vendorId, + $productName, + $stock, + $price, + $salePrice, + $weight, + $length, + $width, + $height, + $specifications, + $productType, + $parentId, + $token); $array = json_decode($response,true); $_SESSION['newProductId'] = $array['_id']; header("location: vendor-uploads.php"); diff --git a/vendor-uploads-edit-product-action.php b/vendor-uploads-edit-product-action.php index 6b58249..fa8fd0f 100644 --- a/vendor-uploads-edit-product-action.php +++ b/vendor-uploads-edit-product-action.php @@ -54,32 +54,32 @@ for ($i = 0; $i < count($quantities); $i++) { $response = editProduct( - $productId, - $vendorId, - $productName, - $stock, - $ndd, - $sdd, - $freeSf, - $price, - $salePrice, - $weight, - $length, - $width, - $height, - $description, - $specifications, - $productType, - $productCategory, - $productSf, - $productStatus, - $parentId, - $minimumOrder, - $color, - $material, - $size, - $priceMatrix, - $token); + $productId, + $vendorId, + $productName, + $stock, + $ndd, + $sdd, + $freeSf, + $price, + $salePrice, + $weight, + $length, + $width, + $height, + $description, + $specifications, + $productType, + $productCategory, + $productSf, + $productStatus, + $parentId, + $minimumOrder, + $color, + $material, + $size, + $priceMatrix, + $token); $array = json_decode($response,true); $_SESSION['newProdictId'] = $array['_id']; header("location: vendor-all-product-list.php"); diff --git a/vendor-uploads.php b/vendor-uploads.php index fedd5ca..6015754 100644 --- a/vendor-uploads.php +++ b/vendor-uploads.php @@ -345,32 +345,32 @@ if ($_SESSION["isCustomer"] == true) {
- +
- +
- +
- +
- +