From cb4c376880922fd71992c54cea3d05a06d93e122 Mon Sep 17 00:00:00 2001 From: raymart Date: Tue, 20 Feb 2024 15:54:42 +0800 Subject: [PATCH 1/2] Hide or comment out rating and color variation from Top collections and new arrival product cards --- cart.php | 5 ++-- cart1.php | 41 ++++++++++++++++---------------- checkout.php | 5 ++-- checkouttest.php | 5 ++-- forget_otp.php | 5 ++-- forget_password_reset.php | 5 ++-- forgot_password.php | 5 ++-- login.php | 5 ++-- offer.php | 5 ++-- privacy-policy.php | 5 ++-- register.php | 5 ++-- register_customer.php | 5 ++-- register_otp.php | 5 ++-- register_vendor.php | 5 ++-- same_day_delivery_old.php | 5 ++-- shop-left-sidebar-col-4.php | 5 ++-- user-history.php | 5 ++-- user-profile.php | 5 ++-- user-refund-history.php | 5 ++-- vendor-all-product-list.php | 5 ++-- vendor-dashboard-orders-edit.php | 5 ++-- vendor-dashboard.php | 5 ++-- vendor-list.php | 7 +++--- vendor-profile.php | 5 ++-- vendor-refund-history.php | 5 ++-- vendor-settings.php | 5 ++-- vendor-uploads.php | 5 ++-- 27 files changed, 100 insertions(+), 73 deletions(-) diff --git a/cart.php b/cart.php index f98eeee..d2e3506 100644 --- a/cart.php +++ b/cart.php @@ -1174,8 +1174,9 @@ if ($_SESSION["userId"] <> "") { + -
+ diff --git a/cart1.php b/cart1.php index 4a2721c..fc5e185 100644 --- a/cart1.php +++ b/cart1.php @@ -1070,13 +1070,13 @@
Round Neck T-Shirt
-
+
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum is simply dutmmy text ever since the 1500s, when an unknown printer took a galley.
@@ -1085,7 +1085,7 @@ $22.00
-
+
Size
    @@ -1141,13 +1141,13 @@
Full Sleeve Shirt
-
+
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum is simply dutmmy text ever since the 1500s, when an unknown printer took a galley.
@@ -1156,7 +1156,7 @@ $10.00
-
+
Size
    @@ -1212,13 +1212,13 @@
Cute Baby Toy's
-
+
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum is simply dutmmy text ever since the 1500s, when an unknown printer took a galley.
@@ -1227,7 +1227,7 @@ $30.00
-
+
Size
    @@ -1291,13 +1291,13 @@
Jumbo Carry Bag
-
+
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum is simply dutmmy text ever since the 1500s, when an unknown printer took a galley.
@@ -1306,7 +1306,7 @@ $40.00
-
+
@@ -1463,11 +1463,11 @@
-
+ @@ -1607,8 +1607,9 @@
+ -
+ diff --git a/checkout.php b/checkout.php index a0d9dd4..906dcc1 100644 --- a/checkout.php +++ b/checkout.php @@ -1427,8 +1427,9 @@ if (isset($customer_data[0]["address"]) && is_array($customer_data[0]["address"]
+ -
+ diff --git a/checkouttest.php b/checkouttest.php index 154742a..06cd6ba 100644 --- a/checkouttest.php +++ b/checkouttest.php @@ -1501,8 +1501,9 @@ if (isset($customer_data[0]["address"]) && is_array($customer_data[0]["address"]
+ -
+ diff --git a/forget_otp.php b/forget_otp.php index f73670b..4d8d76a 100644 --- a/forget_otp.php +++ b/forget_otp.php @@ -305,8 +305,9 @@ var pass2I = document.getElementById(`passInput2`);
+ -
+ diff --git a/forget_password_reset.php b/forget_password_reset.php index a0d20d1..d7f3ae4 100644 --- a/forget_password_reset.php +++ b/forget_password_reset.php @@ -139,8 +139,9 @@
+ -
+ diff --git a/forgot_password.php b/forgot_password.php index 0a6f159..ac683b1 100644 --- a/forgot_password.php +++ b/forgot_password.php @@ -219,8 +219,9 @@
+ -
+ diff --git a/login.php b/login.php index f490659..9ccd466 100644 --- a/login.php +++ b/login.php @@ -228,8 +228,9 @@
+ -
+ diff --git a/offer.php b/offer.php index 07f7edb..1814173 100644 --- a/offer.php +++ b/offer.php @@ -245,8 +245,9 @@ if ($_SESSION["userId"] <> "") {
+ -
+ diff --git a/privacy-policy.php b/privacy-policy.php index ccd6fb7..8b683bc 100644 --- a/privacy-policy.php +++ b/privacy-policy.php @@ -421,8 +421,9 @@
+ -
+ diff --git a/register.php b/register.php index 01b1811..d0815bb 100644 --- a/register.php +++ b/register.php @@ -155,8 +155,9 @@ $_SESSION["isVendor"] = false;
+ -
+ diff --git a/register_customer.php b/register_customer.php index d3fc103..186462c 100644 --- a/register_customer.php +++ b/register_customer.php @@ -185,8 +185,9 @@
+ -
+ diff --git a/register_otp.php b/register_otp.php index cbd5ed5..5764868 100644 --- a/register_otp.php +++ b/register_otp.php @@ -158,8 +158,9 @@
+ -
+ diff --git a/register_vendor.php b/register_vendor.php index 5e8a1ca..a931753 100644 --- a/register_vendor.php +++ b/register_vendor.php @@ -256,8 +256,9 @@ $vendorData = json_decode($vendors, true);
+ -
+ diff --git a/same_day_delivery_old.php b/same_day_delivery_old.php index a8331a7..46e5779 100644 --- a/same_day_delivery_old.php +++ b/same_day_delivery_old.php @@ -245,8 +245,9 @@ if ($_SESSION["userId"] <> "") {
+ -
+ diff --git a/shop-left-sidebar-col-4.php b/shop-left-sidebar-col-4.php index 6bc5d9e..51e6609 100644 --- a/shop-left-sidebar-col-4.php +++ b/shop-left-sidebar-col-4.php @@ -1057,8 +1057,9 @@
+ -
+ diff --git a/user-history.php b/user-history.php index f888d63..5025507 100644 --- a/user-history.php +++ b/user-history.php @@ -730,8 +730,9 @@ if ($_SESSION["userId"] <> "") {
+ -
+ diff --git a/user-profile.php b/user-profile.php index 8179aa6..649d18a 100644 --- a/user-profile.php +++ b/user-profile.php @@ -871,8 +871,9 @@ if ($_SESSION["userId"] <> "") {
+ -
+ diff --git a/user-refund-history.php b/user-refund-history.php index c9ea0a0..5741735 100644 --- a/user-refund-history.php +++ b/user-refund-history.php @@ -682,8 +682,9 @@ if ($_SESSION["userId"] <> "") {
+ -
+ diff --git a/vendor-all-product-list.php b/vendor-all-product-list.php index 6dacb2c..b79c588 100644 --- a/vendor-all-product-list.php +++ b/vendor-all-product-list.php @@ -318,8 +318,9 @@ $products = productList();
+ -
+ diff --git a/vendor-dashboard-orders-edit.php b/vendor-dashboard-orders-edit.php index a8c7555..9d3a41a 100644 --- a/vendor-dashboard-orders-edit.php +++ b/vendor-dashboard-orders-edit.php @@ -293,8 +293,9 @@ $array = json_decode($result, true);
+ -
+ diff --git a/vendor-dashboard.php b/vendor-dashboard.php index 6633b11..815d6d8 100644 --- a/vendor-dashboard.php +++ b/vendor-dashboard.php @@ -540,8 +540,9 @@ if (is_array($vendorOrderss)) {
+ -
+ diff --git a/vendor-list.php b/vendor-list.php index 423c2c7..fb6a8bc 100644 --- a/vendor-list.php +++ b/vendor-list.php @@ -368,9 +368,10 @@ $products = productList();
- + + -
+ diff --git a/vendor-profile.php b/vendor-profile.php index 1db1750..ba68c42 100644 --- a/vendor-profile.php +++ b/vendor-profile.php @@ -394,8 +394,9 @@
+ -
+ diff --git a/vendor-refund-history.php b/vendor-refund-history.php index f6ea103..35246cd 100644 --- a/vendor-refund-history.php +++ b/vendor-refund-history.php @@ -758,8 +758,9 @@ if (is_array($vendorOrderss)) {
+ -
+ diff --git a/vendor-settings.php b/vendor-settings.php index b74b2b9..3758f5f 100644 --- a/vendor-settings.php +++ b/vendor-settings.php @@ -896,8 +896,9 @@ if ($_SESSION["userId"] <> "") {
+ -
+ diff --git a/vendor-uploads.php b/vendor-uploads.php index 323227b..8bcda4a 100644 --- a/vendor-uploads.php +++ b/vendor-uploads.php @@ -718,8 +718,9 @@ $array = json_decode($result, true);
+ -
+ From ed3d793e461e86e82423ff9c275495ae6605a69f Mon Sep 17 00:00:00 2001 From: raymart Date: Thu, 22 Feb 2024 09:45:28 +0800 Subject: [PATCH 2/2] Change product_image to images on the following pages: --- index.php | 153 ++++++++++++++++++++++++++++-------- vendor-all-product-list.php | 22 +++++- vendor-dashboard.php | 45 ++++++++++- vendor-uploads.php | 36 ++++++++- 4 files changed, 216 insertions(+), 40 deletions(-) diff --git a/index.php b/index.php index 789c625..3a27575 100644 --- a/index.php +++ b/index.php @@ -568,10 +568,26 @@ if ($_SESSION["userId"] <> "") {
- " class="image"> + + + edit + + edit + +
@@ -586,13 +602,14 @@ if ($_SESSION["userId"] <> "") {
">
-
+ + 0) : ?> @@ -608,7 +625,8 @@ if ($_SESSION["userId"] <> "") {
-
+ +
@@ -651,10 +669,26 @@ if ($_SESSION["userId"] <> "") {
">
-
+ + 0) : ?> @@ -691,7 +726,8 @@ if ($_SESSION["userId"] <> "") {
-
+ +
@@ -736,10 +772,26 @@ if ($_SESSION["userId"] <> "") {
- " class="image"> + + + edit + + edit + +
@@ -754,13 +806,14 @@ if ($_SESSION["userId"] <> "") {
">
-
+ + 0) : ?> @@ -775,7 +828,8 @@ if ($_SESSION["userId"] <> "") {
-
+ +
@@ -819,10 +873,26 @@ if ($_SESSION["userId"] <> "") {
- " class="image"> + + + edit + + edit + +
@@ -837,13 +907,14 @@ if ($_SESSION["userId"] <> "") {
">
-
+ + 0) : ?> @@ -860,7 +931,8 @@ if ($_SESSION["userId"] <> "") {
-
+ +
@@ -1404,10 +1476,26 @@ if ($_SESSION["userId"] <> "") {
- " class="image"> + + + edit + + edit + +
@@ -1422,13 +1510,14 @@ if ($_SESSION["userId"] <> "") {
">
-
+ + 0) : ?> @@ -1452,15 +1541,15 @@ if ($_SESSION["userId"] <> "") {
  • --> - + --> +
    diff --git a/vendor-all-product-list.php b/vendor-all-product-list.php index b79c588..1b60653 100644 --- a/vendor-all-product-list.php +++ b/vendor-all-product-list.php @@ -167,13 +167,31 @@ $products = productList(); $product = $products[$i]; ?> - + + + edit + + edit + + + diff --git a/vendor-dashboard.php b/vendor-dashboard.php index 815d6d8..c6a8eab 100644 --- a/vendor-dashboard.php +++ b/vendor-dashboard.php @@ -206,13 +206,32 @@ if (is_array($vendorOrderss)) { foreach ($orderItems['items'] as $item) { ?> - + + + edit + + edit + + + + @@ -368,13 +387,31 @@ if (is_array($vendorOrderss)) { $product = $products[$i]; ?> - + + + edit + + edit + + + diff --git a/vendor-uploads.php b/vendor-uploads.php index 8bcda4a..3e42a0c 100644 --- a/vendor-uploads.php +++ b/vendor-uploads.php @@ -38,6 +38,8 @@ $array = json_decode($result, true); + + @@ -338,10 +340,16 @@ $array = json_decode($result, true);
    +
    - + +
    +
    @@ -387,8 +395,13 @@ $array = json_decode($result, true);
    - + +
    +