diff --git a/admin/config.php b/admin/config.php
index f365e05..c19297a 100644
--- a/admin/config.php
+++ b/admin/config.php
@@ -1,8 +1,8 @@
-
+
+
-
${response.items[0].product.name}
+
${response.items[0].product.name}
Unit Price: ${response.items[0].price}
@@ -675,13 +677,15 @@ function popupAddToCart(product, productVendor, token, email, password, customer
if (cartItem) {
var updatedQuantity = response.items[0].quantity; // Use the correct quantity from the updated order
var totalAmount = response.items[0].price * updatedQuantity;
+ var imageUrl = response.items[0].product.product_image ? response.items[0].product.product_image.split(',')[0].trim() : "https://api.obanana.com/images/storage/web_images/1709002636671-viber_image_2024-02-22_15-54-42-498.png";
+
// If the cart item already exists, update its content using innerHTML
cartItem.innerHTML = `
-
-
+
+
-
${response.items[0].product.name}
+
${response.items[0].product.name}
Unit Price: ${response.items[0].price}
diff --git a/catalog-single-vendor.php b/catalog-single-vendor.php
index 1d8b0ce..c9b3e87 100644
--- a/catalog-single-vendor.php
+++ b/catalog-single-vendor.php
@@ -1114,7 +1114,7 @@ if ($_SESSION["userId"] <> "") {
';
+ echo '';
} else {
echo '';
}
diff --git a/category-slider.php b/category-slider.php
index 01afe66..6905164 100644
--- a/category-slider.php
+++ b/category-slider.php
@@ -381,34 +381,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ';
- } else {
- echo '';
- }
- ?>
+