diff --git a/contact-us.php b/contact-us.php index 1a729e2..df5628e 100644 --- a/contact-us.php +++ b/contact-us.php @@ -291,7 +291,7 @@ -
Obanana Corporation's B2B eCommerce platform is an online marketplace designed to connect businesses worldwide, facilitating trade between buyers and sellers.
+Obanana Corporation's B2B eCommerce platform is an online marketplace designed to connect businesses worldwide, facilitating trade between buyers and sellers.
Our platform offers a diverse range of products across various industries, including but not limited to electronics, clothing, machinery, raw materials, and more, catering to the needs of businesses across different sectors.
+Our platform offers a diverse range of products across various industries, including but not limited to electronics, clothing, machinery, raw materials, and more, catering to the needs of businesses across different sectors.
To ensure quality standards, we implement rigorous verification processes for both sellers and products. We encourage buyers to provide feedback and ratings based on their experience, fostering transparency and trust within our marketplace.
+To ensure quality standards, we implement rigorous verification processes for both sellers and products. We encourage buyers to provide feedback and ratings based on their experience, fostering transparency and trust within our marketplace.
We offer a variety of secure payment options to accommodate the needs of our users, including bank transfers, credit/debit cards, and third-party payment gateways, ensuring smooth and secure transactions.
+We offer a variety of secure payment options to accommodate the needs of our users, including bank transfers, credit/debit cards, and third-party payment gateways, ensuring smooth and secure transactions.
Yes, our platform facilitates direct communication between buyers and sellers through messaging features and inquiry forms, allowing for seamless negotiation and collaboration.
+Yes, our platform facilitates direct communication between buyers and sellers through messaging features and inquiry forms, allowing for seamless negotiation and collaboration.
We provide comprehensive shipping and logistics solutions, including freight forwarding services and shipping partners, to ensure efficient and timely delivery of goods to buyers worldwide.
+We provide comprehensive shipping and logistics solutions, including freight forwarding services and shipping partners, to ensure efficient and timely delivery of goods to buyers worldwide.
Minimum order requirements may vary depending on the seller and product category. Buyers can find detailed information regarding minimum order quantities on product listings.
+Minimum order requirements may vary depending on the seller and product category. Buyers can find detailed information regarding minimum order quantities on product listings.
Yes, we provide trade assurance services to protect buyers' interests, offering refunds or replacements for orders that do not meet agreed-upon quality standards or fail to arrive within specified delivery times.
+Yes, we provide trade assurance services to protect buyers' interests, offering refunds or replacements for orders that do not meet agreed-upon quality standards or fail to arrive within specified delivery times.
In the event of disputes, our dedicated support team mediates and facilitates resolution through our dispute resolution process, ensuring fair outcomes for all parties involved.
+In the event of disputes, our dedicated support team mediates and facilitates resolution through our dispute resolution process, ensuring fair outcomes for all parties involved.
Businesses interested in becoming sellers on our platform can apply for membership through our website, where they will undergo a verification process to ensure compliance with our standards and policies.
Image | Name | @@ -342,29 +343,23 @@ if ($_SESSION["userId"] <> "") { $customer = $customer_data[0]; $orders = getOrderbyCustomerId($customer['_id']); $totalAmount = 0; + $orderExist = false; if ($orders) { $order_data = json_decode($orders, true); $_SESSION['cart_items'] = $order_data; foreach ($order_data as $order) { // Ensure that the required data is available before accessing it - if (isset($order['status']) && isset($order['items'][0]['product'])) { + if (isset($order['status']) && (strtoupper($order['status']) === 'TO PAY') || (strtoupper($order['status']) === 'TO SHIP') + || (strtoupper($order['status']) === 'TO RECEIVE') || (strtoupper($order['status']) === 'COMPLETED') + && isset($order['items'][0]['product'])) { + $orderExist = true; $totalAmount += $order['total_amount']; ?>|||
---|---|---|---|---|
- '; - // } else { - // echo ''; - // } - ?> - - | - +@@ -374,16 +369,31 @@ if ($_SESSION["userId"] <> "") { |
Image | Name | @@ -410,12 +420,14 @@ if ($_SESSION["userId"] <> "") { $customer = $customer_data[0]; $orders = getOrderbyCustomerId($customer['_id']); $totalAmount = 0; + $orderExist = false; if ($orders) { $order_data = json_decode($orders, true); $_SESSION['cart_items'] = $order_data; foreach ($order_data as $order) { // Ensure that the required data is available before accessing it if (isset($order['status']) && (strtoupper($order['status']) === 'TO PAY') && isset($order['items'][0]['product'])) { + $orderExist = true; $totalAmount += $order['total_amount']; ?> "") { } ?> + + No To Pay Order/s Yet.'; + ?> + + +
---|
Image | Name | @@ -467,12 +491,14 @@ if ($_SESSION["userId"] <> "") { $customer = $customer_data[0]; $orders = getOrderbyCustomerId($customer['_id']); $totalAmount = 0; + $orderExist = false; if ($orders) { $order_data = json_decode($orders, true); $_SESSION['cart_items'] = $order_data; foreach ($order_data as $order) { // Ensure that the required data is available before accessing it if (isset($order['status']) && (strtoupper($order['status']) === 'TO SHIP') && isset($order['items'][0]['product'])) { + $orderExist = true; $totalAmount += $order['total_amount']; ?> "") { } ?> + + No To Ship Order/s Yet.'; + ?> + + +
---|
Image | Name | @@ -523,12 +561,14 @@ if ($_SESSION["userId"] <> "") { $customer = $customer_data[0]; $orders = getOrderbyCustomerId($customer['_id']); $totalAmount = 0; + $orderExist = false; if ($orders) { $order_data = json_decode($orders, true); $_SESSION['cart_items'] = $order_data; foreach ($order_data as $order) { // Ensure that the required data is available before accessing it if (isset($order['status']) && (strtoupper($order['status']) === 'TO RECEIVE') && isset($order['items'][0]['product'])) { + $orderExist = true; $totalAmount += $order['total_amount']; ?> "") { } ?> + + No To Receive Order/s Yet.'; + ?> + + +
---|
Image | Name | @@ -587,12 +639,14 @@ if ($_SESSION["userId"] <> "") { $customer = $customer_data[0]; $orders = getOrderbyCustomerId($customer['_id']); $totalAmount = 0; + $orderExist = false; if ($orders) { $order_data = json_decode($orders, true); $_SESSION['cart_items'] = $order_data; foreach ($order_data as $order) { // Ensure that the required data is available before accessing it if (isset($order['status']) && (strtoupper($order['status']) === 'COMPLETED') && isset($order['items'][0]['product'])) { + $orderExist = true; $totalAmount += $order['total_amount']; ?> @@ -831,6 +885,18 @@ if ($_SESSION["userId"] <> "") { } ?> + + No Completed Order/s Yet.'; + ?> + + +
---|
Image | Name | @@ -359,6 +360,7 @@ if ($_SESSION["userId"] <> "") { $customer = $customer_data[0]; $orders = getOrderbyCustomerId($customer['_id']); $totalAmount = 0; + $orderExist = false; if ($orders) { $order_data = json_decode($orders, true); $_SESSION['cart_items'] = $order_data; @@ -367,6 +369,7 @@ if ($_SESSION["userId"] <> "") { if (isset($order['return_order']['status']) && (strtoupper($order['return_order']['status']) === 'TO APPROVE') || (strtoupper($order['return_order']['status']) === 'TO SHIP') || (strtoupper($order['return_order']['status']) === 'TO RECEIVE') || (strtoupper($order['return_order']['status']) === 'TO REFUND') || (strtoupper($order['return_order']['status']) === 'RETURN COMPLETE') && isset($order['items'][0]['product'])) { + $orderExist = true; $totalAmount += $order['total_amount']; ?> "") { } ?> + + No Refund/s Yet.'; + ?> + + +
---|
Image | Name | @@ -420,12 +435,14 @@ if ($_SESSION["userId"] <> "") { $customer = $customer_data[0]; $orders = getOrderbyCustomerId($customer['_id']); $totalAmount = 0; + $orderExist = false; if ($orders) { $order_data = json_decode($orders, true); $_SESSION['cart_items'] = $order_data; foreach ($order_data as $order) { // Ensure that the required data is available before accessing it if (isset($order['return_order']['status']) && (strtoupper($order['return_order']['status']) === 'TO APPROVE') && isset($order['items'][0]['product'])) { + $orderExist = true; $totalAmount += $order['total_amount']; ?> "") { } ?> + + No To Approve Refund/s Yet.'; + ?> + + +
---|
Image | Name | @@ -479,12 +508,14 @@ if ($_SESSION["userId"] <> "") { $customer = $customer_data[0]; $orders = getOrderbyCustomerId($customer['_id']); $totalAmount = 0; + $orderExist = false; if ($orders) { $order_data = json_decode($orders, true); $_SESSION['cart_items'] = $order_data; foreach ($order_data as $order) { // Ensure that the required data is available before accessing it if (isset($order['return_order']['status']) && (strtoupper($order['return_order']['status']) === 'TO SHIP') && isset($order['items'][0]['product'])) { + $orderExist = true; $totalAmount += $order['total_amount']; ?> "") { } ?> + + No To Ship Refund/s Yet.'; + ?> + + +
---|
Image | Name | @@ -538,12 +581,14 @@ if ($_SESSION["userId"] <> "") { $customer = $customer_data[0]; $orders = getOrderbyCustomerId($customer['_id']); $totalAmount = 0; + $orderExist = false; if ($orders) { $order_data = json_decode($orders, true); $_SESSION['cart_items'] = $order_data; foreach ($order_data as $order) { // Ensure that the required data is available before accessing it if (isset($order['return_order']['status']) && (strtoupper($order['return_order']['status']) === 'TO RECEIVE') && isset($order['items'][0]['product'])) { + $orderExist = true; $totalAmount += $order['total_amount']; ?> "") { } ?> + + No To Receive Refund/s Yet.'; + ?> + + +
---|
Image | Name | @@ -600,12 +657,14 @@ if ($_SESSION["userId"] <> "") { $customer = $customer_data[0]; $orders = getOrderbyCustomerId($customer['_id']); $totalAmount = 0; + $orderExist = false; if ($orders) { $order_data = json_decode($orders, true); $_SESSION['cart_items'] = $order_data; foreach ($order_data as $order) { // Ensure that the required data is available before accessing it if (isset($order['return_order']['status']) && (strtoupper($order['return_order']['status']) === 'TO REFUND') && isset($order['items'][0]['product'])) { + $orderExist = true; $totalAmount += $order['total_amount']; ?> "") { } ?> + + No To Refund/s Yet.'; + ?> + + +
---|
Image | Name | @@ -661,12 +732,14 @@ if ($_SESSION["userId"] <> "") { $customer = $customer_data[0]; $orders = getOrderbyCustomerId($customer['_id']); $totalAmount = 0; + $orderExist = false; if ($orders) { $order_data = json_decode($orders, true); $_SESSION['cart_items'] = $order_data; foreach ($order_data as $order) { // Ensure that the required data is available before accessing it if (isset($order['return_order']['status']) && (strtoupper($order['return_order']['status']) === 'RETURN COMPLETE') && isset($order['items'][0]['product'])) { + $orderExist = true; $totalAmount += $order['total_amount']; ?> "") { } ?> + + No Completed Refund/s Yet.'; + ?> + + +
---|
Image | Name | @@ -335,11 +336,13 @@ if (is_array($vendorOrderss)) { $order = $vendorOrders; $orderArray = json_encode($order, true); $orderItems = json_decode($orderArray, true); + $orderExist = false; //for checking if order exist foreach ($orderItems as $order) { // Ensure that the required data is available before accessing it if (isset($order['return_order']['status']) && (strtoupper($order['return_order']['status']) === 'TO APPROVE') || (strtoupper($order['return_order']['status']) === 'TO SHIP') || (strtoupper($order['return_order']['status']) === 'TO RECEIVE') || (strtoupper($order['return_order']['status']) === 'TO REFUND') || (strtoupper($order['return_order']['status']) === 'RETURN COMPLETE') && isset($order['items'][0]['product'])) { + $orderExist = true; //if there's an order, orderExist will be set to true $totalAmount += $order['total_amount']; ?> + + No Refund/s Yet.'; + ?> + + +
---|
Image | Name | @@ -390,9 +405,11 @@ if (is_array($vendorOrderss)) { $order = $vendorOrders; $orderArray = json_encode($order, true); $orderItems = json_decode($orderArray, true); + $orderExist = false; foreach ($orderItems as $order) { // Ensure that the required data is available before accessing it if (isset($order['return_order']['status']) && (strtoupper($order['return_order']['status']) === 'TO APPROVE') && isset($order['items'][0]['product'])) { + $orderExist = true; $totalAmount += $order['total_amount']; ?> + + No To Approve Refund/s Yet.'; + ?> + + +
---|
Image | Name | @@ -447,9 +476,11 @@ if (is_array($vendorOrderss)) { $order = $vendorOrders; $orderArray = json_encode($order, true); $orderItems = json_decode($orderArray, true); + $orderExist = false; foreach ($orderItems as $order) { // Ensure that the required data is available before accessing it if (isset($order['return_order']['status']) && (strtoupper($order['return_order']['status']) === 'TO SHIP') && isset($order['items'][0]['product'])) { + $orderExist = true; $totalAmount += $order['total_amount']; ?> + + No To Ship Refund/s Yet.'; + ?> + + +
---|
Image | Name | @@ -499,9 +542,11 @@ if (is_array($vendorOrderss)) { $order = $vendorOrders; $orderArray = json_encode($order, true); $orderItems = json_decode($orderArray, true); + $orderExist = false; foreach ($orderItems as $order) { // Ensure that the required data is available before accessing it if (isset($order['return_order']['status']) && (strtoupper($order['return_order']['status']) === 'TO RECEIVE') && isset($order['items'][0]['product'])) { + $orderExist = true; $totalAmount += $order['total_amount']; ?> + + No To Receive Refund/s Yet.'; + ?> + + +
---|
Image | Name | @@ -553,9 +611,11 @@ if (is_array($vendorOrderss)) { $order = $vendorOrders; $orderArray = json_encode($order, true); $orderItems = json_decode($orderArray, true); + $orderExist = false; foreach ($orderItems as $order) { // Ensure that the required data is available before accessing it if (isset($order['return_order']['status']) && (strtoupper($order['return_order']['status']) === 'TO REFUND') && isset($order['items'][0]['product'])) { + $orderExist = true; $totalAmount += $order['total_amount']; ?> + + No To Refund/s Yet.'; + ?> + + +
---|
Image | Name | @@ -608,9 +680,11 @@ if (is_array($vendorOrderss)) { $order = $vendorOrders; $orderArray = json_encode($order, true); $orderItems = json_decode($orderArray, true); + $orderExist = false; foreach ($orderItems as $order) { // Ensure that the required data is available before accessing it if (isset($order['return_order']['status']) && (strtoupper($order['return_order']['status']) === 'RETURN COMPLETE') && isset($order['items'][0]['product'])) { + $orderExist = true; $totalAmount += $order['total_amount']; ?> + + No Refund/s Complete Yet.'; + ?> + + +
---|