diff --git a/catalog-single-vendor.php b/catalog-single-vendor.php index e5e3b09..bed6ddd 100644 --- a/catalog-single-vendor.php +++ b/catalog-single-vendor.php @@ -134,33 +134,35 @@ if (!empty($_GET['minPrice']) || !empty($_GET['maxPrice']) || !empty($_GET['cate diff --git a/header.php b/header.php index 4249e27..71b7e33 100644 --- a/header.php +++ b/header.php @@ -147,6 +147,8 @@ if ($_SESSION["userId"] <> "") { .fi-rr-user:active, .fi-rr-shopping-bag:hover, .fi-rr-shopping-bag:active, + .fi-rr-shopping-basket:hover, + .fi-rr-shopping-basket:active, .fi-rr-home:hover, .fi-rr-home:active { cursor: pointer !important; @@ -302,13 +304,13 @@ if ($_SESSION["userId"] <> "") {
- 0 + 0
- 0 + 0
@@ -386,6 +388,9 @@ if ($_SESSION["userId"] <> "") { +
@@ -864,6 +869,9 @@ if ($_SESSION["userId"] <> "") { + diff --git a/index.php b/index.php index 4379ba6..b2b76be 100644 --- a/index.php +++ b/index.php @@ -76,11 +76,13 @@ if ($_SESSION["userId"] <> "") { } + - + + @@ -1537,7 +1568,8 @@ if ($_SESSION["isVendor"] == true) { - + + diff --git a/user-profile.php b/user-profile.php index 39c1704..2ef3975 100644 --- a/user-profile.php +++ b/user-profile.php @@ -261,14 +261,16 @@ if ($_SESSION["isVendor"] == true) {
- > + + >
- > + + > @@ -308,6 +310,7 @@ if ($_SESSION["isVendor"] == true) {
+
@@ -891,7 +894,7 @@ if ($_SESSION["isVendor"] == true) { const city = $('#citySelect :selected').text(); const barangay = $('#barangaySelect :selected').text(); const country = $('#addressCountry').val(); - + // Create a new address object const newAddress = { @@ -1156,8 +1159,8 @@ if ($_SESSION["isVendor"] == true) { sCountryElement.textContent = customerData.address[addressIndex].country; } console.log(`Address updated successfully for customer ${customerId}`); - // location.reload(); - // header("location: user-profile.php"); + location.reload(); + header("location: user-profile.php"); } catch (error) { console.error('Error updating address:', error.message); } @@ -1305,7 +1308,7 @@ if ($_SESSION["isVendor"] == true) { -
+ diff --git a/user-refund-history.php b/user-refund-history.php index cea1c0c..2fffbd7 100644 --- a/user-refund-history.php +++ b/user-refund-history.php @@ -54,9 +54,14 @@ if ($_SESSION["isVendor"] == true) { + + + + +