function oc_sync_product($product) { $sku = $product->get_sku(); if (empty($sku)) { update_post_meta($product->get_id(), 'last_sync_status', 'failed'); update_post_meta($product->get_id(), 'last_sync_error', 'Missing SKU'); return; } $api_urls = array( "https://tyrestore.app:106/iorderts/api/SageProductInfo?sourcedb=TSTCOM&formatteditemno={$sku}&location=HQ", "https://tyrestore.app:106/iorderts/api/SageProductInfo?sourcedb=PTRCO2&formatteditemno={$sku}&location=HQ" ); $stock_quantity = 0; $sync_successful = false; foreach ($api_urls as $url) { $response = oc_fetch_api_data($url); error_log('API Response for SKU ' . $sku . ': ' . print_r($response, true)); if ($response && $response->Status === true && isset($response->Result->ProductSage[0]->StockQuantity)) { $stock_quantity = max($stock_quantity, $response->Result->ProductSage[0]->StockQuantity); $sync_successful = true; break; } } if ($sync_successful) { $product->set_manage_stock(true); wc_update_product_stock($product, $stock_quantity, 'set'); $product->save(); update_post_meta($product->get_id(), 'cur_time', current_time('mysql')); update_post_meta($product->get_id(), 'last_sync_status', 'success'); update_post_meta($product->get_id(), 'last_sync_error', ''); } else { update_post_meta($product->get_id(), 'last_sync_status', 'failed'); update_post_meta($product->get_id(), 'last_sync_error', 'No stock available or API error'); } } 195/70R14 Prinx HiCity HH2 | Klinikar

🚗 Drive Away with Confidence!

🔧 Tyre Quality Guarantee

Our tyres are stored with care! The average DOT (manufacturing date) is 9 months (max 12 months). Only top-notch quality for your ride! 🚙

💳 Book Your Tyre Deal

Reserve your tyre deal today for only RM100. Settle the rest on-site after our services are completed! 😊

📅 For Klang Valley Customers

Select your preferred time slot now! Need an earlier appointment? No problem—just contact our team for available slots! ⏱️

Shop Banner

195/70R14 Prinx HiCity HH2

RM244.00

In stock

Notice: Purchasing directly from our panel outside of Klinikar may impact guarantees. To ensure you receive the best value, service, and consistent warranty, buy through Klinikar. We're here to deliver peace of mind and safer journeys.

Buy 3 Free 1 Promo

 

Prinx HiCity HH2: Offers excellent handling and stability, exceptional wet and dry grip, and reduced rolling resistance for improved fuel efficiency.

 

Summary: Handling and stability, wet and dry grip, fuel efficiency.

Add 3 tyres to cart for Buy 3 Free 1 packages | Prinx & Austone only

  • *Smart Drivers Add-On

    Smart Drivers Add-On

SKU: 1957014-PHH2-NOR Categories: , , ,

Main Menu