diff --git a/admin/product-edit.php b/admin/product-edit.php index 11ca101..84f9fec 100644 --- a/admin/product-edit.php +++ b/admin/product-edit.php @@ -858,18 +858,15 @@ $vendorId = $_SESSION["vendorId"];
- - +
- - +
- - +
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"] <> "") { + +