From dd254035c4eb87ca782074302e3d56eb099a166c Mon Sep 17 00:00:00 2001 From: raymart Date: Tue, 13 Feb 2024 17:20:20 -0800 Subject: [PATCH 1/2] edit admin/vendor weight, height, length, width --- admin/product-edit.php | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/admin/product-edit.php b/admin/product-edit.php index 884b115..a980342 100644 --- a/admin/product-edit.php +++ b/admin/product-edit.php @@ -858,19 +858,27 @@ $vendorId = $_SESSION["vendorId"];
- + + +
- + + +
- + + +
- + + +
-- 2.40.1 From 3652cc560e54dc766f0fb49172bf58a8d591e2a2 Mon Sep 17 00:00:00 2001 From: raymart Date: Wed, 14 Feb 2024 02:03:59 -0800 Subject: [PATCH 2/2] mak --- catalog-single-vendor.php | 33 +++++++++++++++++++++++-- index.php | 49 +++++++++++++++++++++++++++++++------ shop-list-left-sidebar2.php | 34 +++++++++++++++++++++++-- wishlist.php | 35 +++++++++++++++++++++----- 4 files changed, 134 insertions(+), 17 deletions(-) diff --git a/catalog-single-vendor.php b/catalog-single-vendor.php index 827d3ce..a66b9a2 100644 --- a/catalog-single-vendor.php +++ b/catalog-single-vendor.php @@ -65,6 +65,26 @@ if ($_SESSION["userId"] <> "") { }); } + + @@ -284,6 +304,8 @@ if ($_SESSION["userId"] <> "") {
@@ -304,13 +326,18 @@ if ($_SESSION["userId"] <> "") { } ?> - 20% + +
+ + +
+
@@ -1062,6 +1089,8 @@ if ($_SESSION["userId"] <> "") { + + diff --git a/index.php b/index.php index 8079663..e6ef7d0 100644 --- a/index.php +++ b/index.php @@ -573,10 +573,15 @@ if ($_SESSION["userId"] <> "") { " alt="Product" /> +
+ + +
+
@@ -639,6 +644,8 @@ if ($_SESSION["userId"] <> "") { } else { for ($x = 0; $x <= 7; $x++) { $pid = rand(0, count($electronics) - 1); + // raymart added vendorproduct feb 14 2024 + $vendorOfProduct = getVendorbyId($electronics[$pid]['vendor_api_id']); ?>
@@ -649,10 +656,16 @@ if ($_SESSION["userId"] <> "") { " alt="Product" /> + +
+ + +
+
@@ -716,6 +729,8 @@ if ($_SESSION["userId"] <> "") { } else { for ($x = 0; $x <= 7; $x++) { $pid = rand(0, count($smartHome) - 1); + // raymart added vendorproduct feb 14 2024 + $vendorOfProduct = getVendorbyId($smartHome[$pid]['vendor_api_id']); ?>
@@ -726,10 +741,15 @@ if ($_SESSION["userId"] <> "") { " alt="Product" /> +
+ + +
+
@@ -792,6 +812,8 @@ if ($_SESSION["userId"] <> "") { } else { for ($x = 0; $x <= 7; $x++) { $pid = rand(0, count($home) - 1); + // raymart added vendorproduct feb 14 2024 + $vendorOfProduct = getVendorbyId($forVehicle[$pid]['vendor_api_id']); ?>
@@ -802,11 +824,15 @@ if ($_SESSION["userId"] <> "") { " alt="Product" /> - +
+ + +
+
@@ -1371,6 +1397,8 @@ if ($_SESSION["userId"] <> "") { } else { for ($x = 0; $x <= 3; $x++) { $pid = rand(0, count($newArrival) - 1); + // raymart added vendorproduct feb 14 2024 + $vendorOfProduct = getVendorbyId($newArrival[$pid]['vendor_api_id']); ?>
@@ -1380,10 +1408,15 @@ if ($_SESSION["userId"] <> "") { " alt="Product" /> " alt="Product" /> +
+ + +
+
@@ -2023,7 +2056,9 @@ if ($_SESSION["userId"] <> "") { - + + + \ No newline at end of file diff --git a/shop-list-left-sidebar2.php b/shop-list-left-sidebar2.php index 48abf84..137174e 100644 --- a/shop-list-left-sidebar2.php +++ b/shop-list-left-sidebar2.php @@ -68,6 +68,26 @@ if ($_SESSION["userId"] <> "") { }); } + + @@ -150,7 +170,10 @@ if ($_SESSION["userId"] <> "") { $endIndex = $startIndex + $productsPerPage - 1; $endIndex = min($endIndex, count($simpleProducts) - 1); for ($i = $startIndex; $i <= $endIndex; $i++) { + + // $vendorOfProduct = getVendorbyId($product['vendor_api_id']); $pid = $i; + $vendorOfProduct = getVendorbyId($simpleProducts[$pid]['vendor_api_id']); ?>
@@ -161,13 +184,18 @@ if ($_SESSION["userId"] <> "") { " alt="Product" /> " alt="Product" /> - 20% + +
+ + +
+
@@ -815,6 +843,8 @@ if ($_SESSION["userId"] <> "") { + + diff --git a/wishlist.php b/wishlist.php index 2b9794c..a323f11 100644 --- a/wishlist.php +++ b/wishlist.php @@ -65,6 +65,26 @@ if ($_SESSION["userId"] <> "") { }); } + + @@ -125,7 +145,10 @@ if ($_SESSION["userId"] <> "") {
- +
@@ -137,12 +160,10 @@ if ($_SESSION["userId"] <> "") { " id="removeItem">× - 20% - +
- - - + +
@@ -657,6 +678,8 @@ if ($_SESSION["userId"] <> "") { + + -- 2.40.1