"") { $_SESSION["isLoggedIn"] = true; $customer_data = getCustomerbyLoginId($_SESSION["userId"]); // $customerData = json_decode($customer_data, true); // var_dump("Customer Data " + $customerData); // if ($customer_data) { // $customerData = json_decode($customer_data, true); // var_dump("Customer Data " + $customerData); // } } else { $_SESSION["isLoggedIn"] = false; }; if (isset($_GET['id'])) { $product_id = $_GET['id']; $product_data = getProduct($product_id); if ($product_data) { $product_details = json_decode($product_data, true); $current_category = $product_details['product_category']; $related_products = simpleProducts($current_category); if ($product_details) { $vendor_data = getVendorbyId($product_details['vendor_api_id']); $vendor_details = json_decode($vendor_data, true); if ($product_details['product_type'] === 'variable') { $variation_products = getProductVariations($product_details['_id']); if ($variation_products) { $variation_details = json_decode($variation_products, true); } } } } } ?> oBanana B2B - Elevate Your Business

Single Products

sales accelerators
real time 24 visitor right now!
Hurry up!left 29 in stock
Time is Running Out!
As low as 0) { echo '' . $product_details['regular_price'] . ''; echo '' . $product_details['sale_price'] . ''; } else { echo '' . $product_details['regular_price'] . ''; } } elseif ($product_details['product_type'] === "variable") { $lowest_regular_price = null; $highest_regular_price = null; $lowest_sale_price = null; $highest_sale_price = null; if (isset($variation_details) && is_array($variation_details)) { foreach ($variation_details as $index => $variation) { $regular_price = isset($variation['regular_price']) ? $variation['regular_price'] : 0; $sale_price = isset($variation['sale_price']) ? $variation['sale_price'] : 0; // Update the minimum and maximum prices only if they are not null if ($lowest_regular_price === null || $regular_price < $lowest_regular_price) { $lowest_regular_price = $regular_price; } if ($highest_regular_price === null || $regular_price > $highest_regular_price) { $highest_regular_price = $regular_price; } if ($lowest_sale_price === null || $sale_price < $lowest_sale_price) { $lowest_sale_price = $sale_price; } if ($highest_sale_price === null || $sale_price > $highest_sale_price) { $highest_sale_price = $sale_price; } } } // Display the range of prices based on the presence of sale prices if ($lowest_sale_price !== null && $highest_sale_price !== null && $lowest_sale_price > 0 && $highest_sale_price > 0) { echo '' . '₱' . $lowest_sale_price . ' - ₱' . $highest_sale_price . ''; } elseif ($lowest_regular_price !== null && $highest_regular_price !== null) { echo '' . '₱' . $lowest_regular_price . ' - ₱' . $highest_regular_price . ''; } } ?>
Stocks Available
VARIATION
    $variation) { $variationImage = isset($variation["product_image"]) ? $variation["product_image"] : 'https://upload.wikimedia.org/wikipedia/commons/6/65/No-Image-Placeholder.svg'; ?>
  • product
-
" id="qty-input" />
+
Add To Cart'; echo ''; } elseif ($product_details['regular_price'] && $product_details['regular_price'] !== "") { // For non-variable products with a regular price, show "Add to Cart" button echo '
'; echo ''; } else { // For non-variable products without a regular price, show "Contact seller" button echo ''; } } else { // If user is not logged in, prompt to log in echo '

Please log in to add to cart.

'; } ?>
Best Sellers
" class="sidekka_pro_img">" alt="product" />
">
0) : ?> Inquire Inquire

Related products

Related products

Browse The Collection of Top Products

" /> " /> 20%
">
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.
$27.00 $22.00
Color
Size
3
4
payment image

Someone in new just bought

stylish baby shoes

10 Minutes ago

×
3
Need Help?

Chat with us on WhatsApp

whatsapp icon

Features

icon

Color Scheme

Full Screen mode

Mode
On
Off

Dark mode

Mode
On
Off

RTL mode

Rtl
On
Off

Clear local storage

Clear Cache & Default