$product = {"id":7937547370595,"title":"iPhone 14 Pro Clear Jin Young Choi 蘭花貓","handle":"iphone-14-pro-jellytint-cjy10","description":null,"published_at":"2025-12-12T09:52:04+08:00","created_at":"2025-12-11T09:42:38+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-jychoioioi","device-iPhone 14 Pro","merge","reseller-jychoioioi"],"price":128000,"price_min":128000,"price_max":128000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":43882926702691,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012620J-CJY10","requires_shipping":true,"taxable":true,"featured_image":{"id":36271646048355,"product_id":7937547370595,"position":12,"created_at":"2026-07-15T14:38:52+08:00","updated_at":"2026-07-15T14:38:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee2ce83ee5a44f1637ffb5217aa06ea32f54a0b_08bfd151-4667-4f9a-bd12-86a1c3a54a0a.webp?v=1784097534","variant_ids":[43882926702691]},"available":true,"name":"iPhone 14 Pro Clear Jin Young Choi 蘭花貓 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620J-CJY10","featured_media":{"alt":null,"id":27775701352547,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee2ce83ee5a44f1637ffb5217aa06ea32f54a0b_08bfd151-4667-4f9a-bd12-86a1c3a54a0a.webp?v=1784097534"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43882928799843,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012620G-CJY10","requires_shipping":true,"taxable":true,"featured_image":{"id":36271645851747,"product_id":7937547370595,"position":11,"created_at":"2026-07-15T14:38:52+08:00","updated_at":"2026-07-15T14:38:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ed42f8aa09637ab6abc9f7c8f4a929dd8794ee7_a9f4f1e8-bc43-43c0-9976-ff4b237624b1.webp?v=1784097534","variant_ids":[43882928799843]},"available":true,"name":"iPhone 14 Pro Clear Jin Young Choi 蘭花貓 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620G-CJY10","featured_media":{"alt":null,"id":27775701155939,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ed42f8aa09637ab6abc9f7c8f4a929dd8794ee7_a9f4f1e8-bc43-43c0-9976-ff4b237624b1.webp?v=1784097534"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43882928832611,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012620I-CJY10","requires_shipping":true,"taxable":true,"featured_image":{"id":36271645327459,"product_id":7937547370595,"position":9,"created_at":"2026-07-15T14:38:50+08:00","updated_at":"2026-07-15T14:38:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7889ec4829493c75e416b94063ce1e439e49843f_99ff2cf3-97f0-42f5-a908-74d78b715254.webp?v=1784097533","variant_ids":[43882928832611]},"available":true,"name":"iPhone 14 Pro Clear Jin Young Choi 蘭花貓 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620I-CJY10","featured_media":{"alt":null,"id":27775700631651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7889ec4829493c75e416b94063ce1e439e49843f_99ff2cf3-97f0-42f5-a908-74d78b715254.webp?v=1784097533"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43882928865379,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012620H-CJY10","requires_shipping":true,"taxable":true,"featured_image":{"id":36271645622371,"product_id":7937547370595,"position":10,"created_at":"2026-07-15T14:38:51+08:00","updated_at":"2026-07-15T14:38:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe28bbeebc790732733fa2cb65118713a9ef285_06b99dd4-8318-4eb0-a242-cee388e80241.webp?v=1784097533","variant_ids":[43882928865379]},"available":true,"name":"iPhone 14 Pro Clear Jin Young Choi 蘭花貓 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620H-CJY10","featured_media":{"alt":null,"id":27775700926563,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe28bbeebc790732733fa2cb65118713a9ef285_06b99dd4-8318-4eb0-a242-cee388e80241.webp?v=1784097533"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe28bbeebc790732733fa2cb65118713a9ef285.webp?v=1765417364","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee2ce83ee5a44f1637ffb5217aa06ea32f54a0b.webp?v=1765417364","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7889ec4829493c75e416b94063ce1e439e49843f.webp?v=1765417364","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ed42f8aa09637ab6abc9f7c8f4a929dd8794ee7.webp?v=1765417365","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ed42f8aa09637ab6abc9f7c8f4a929dd8794ee7_3f948e7b-1f94-44c2-9b4a-09cef15b038d.webp?v=1765419933","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7889ec4829493c75e416b94063ce1e439e49843f_87f123ee-7e88-44cc-b4ac-c254bfd3a904.webp?v=1765419934","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe28bbeebc790732733fa2cb65118713a9ef285_c09a38b5-23fb-40a0-ab63-09eb872dfe52.webp?v=1765419934","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee2ce83ee5a44f1637ffb5217aa06ea32f54a0b_444326f5-1364-40b5-a4cd-09c76f0bf784.webp?v=1765419935","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7889ec4829493c75e416b94063ce1e439e49843f_99ff2cf3-97f0-42f5-a908-74d78b715254.webp?v=1784097533","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe28bbeebc790732733fa2cb65118713a9ef285_06b99dd4-8318-4eb0-a242-cee388e80241.webp?v=1784097533","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ed42f8aa09637ab6abc9f7c8f4a929dd8794ee7_a9f4f1e8-bc43-43c0-9976-ff4b237624b1.webp?v=1784097534","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee2ce83ee5a44f1637ffb5217aa06ea32f54a0b_08bfd151-4667-4f9a-bd12-86a1c3a54a0a.webp?v=1784097534"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe28bbeebc790732733fa2cb65118713a9ef285.webp?v=1765417364","options":["color"],"media":[{"alt":null,"id":26493169893475,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe28bbeebc790732733fa2cb65118713a9ef285.webp?v=1765417364"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe28bbeebc790732733fa2cb65118713a9ef285.webp?v=1765417364","width":2000},{"alt":null,"id":26493170024547,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee2ce83ee5a44f1637ffb5217aa06ea32f54a0b.webp?v=1765417364"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee2ce83ee5a44f1637ffb5217aa06ea32f54a0b.webp?v=1765417364","width":2000},{"alt":null,"id":26493170188387,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7889ec4829493c75e416b94063ce1e439e49843f.webp?v=1765417364"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7889ec4829493c75e416b94063ce1e439e49843f.webp?v=1765417364","width":2000},{"alt":null,"id":26493170450531,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ed42f8aa09637ab6abc9f7c8f4a929dd8794ee7.webp?v=1765417365"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ed42f8aa09637ab6abc9f7c8f4a929dd8794ee7.webp?v=1765417365","width":2000},{"alt":null,"id":26494145069155,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ed42f8aa09637ab6abc9f7c8f4a929dd8794ee7_3f948e7b-1f94-44c2-9b4a-09cef15b038d.webp?v=1765419933"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ed42f8aa09637ab6abc9f7c8f4a929dd8794ee7_3f948e7b-1f94-44c2-9b4a-09cef15b038d.webp?v=1765419933","width":2000},{"alt":null,"id":26494145331299,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7889ec4829493c75e416b94063ce1e439e49843f_87f123ee-7e88-44cc-b4ac-c254bfd3a904.webp?v=1765419934"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7889ec4829493c75e416b94063ce1e439e49843f_87f123ee-7e88-44cc-b4ac-c254bfd3a904.webp?v=1765419934","width":2000},{"alt":null,"id":26494145527907,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe28bbeebc790732733fa2cb65118713a9ef285_c09a38b5-23fb-40a0-ab63-09eb872dfe52.webp?v=1765419934"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe28bbeebc790732733fa2cb65118713a9ef285_c09a38b5-23fb-40a0-ab63-09eb872dfe52.webp?v=1765419934","width":2000},{"alt":null,"id":26494145724515,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee2ce83ee5a44f1637ffb5217aa06ea32f54a0b_444326f5-1364-40b5-a4cd-09c76f0bf784.webp?v=1765419935"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee2ce83ee5a44f1637ffb5217aa06ea32f54a0b_444326f5-1364-40b5-a4cd-09c76f0bf784.webp?v=1765419935","width":2000},{"alt":null,"id":27775700631651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7889ec4829493c75e416b94063ce1e439e49843f_99ff2cf3-97f0-42f5-a908-74d78b715254.webp?v=1784097533"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7889ec4829493c75e416b94063ce1e439e49843f_99ff2cf3-97f0-42f5-a908-74d78b715254.webp?v=1784097533","width":2000},{"alt":null,"id":27775700926563,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe28bbeebc790732733fa2cb65118713a9ef285_06b99dd4-8318-4eb0-a242-cee388e80241.webp?v=1784097533"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe28bbeebc790732733fa2cb65118713a9ef285_06b99dd4-8318-4eb0-a242-cee388e80241.webp?v=1784097533","width":2000},{"alt":null,"id":27775701155939,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ed42f8aa09637ab6abc9f7c8f4a929dd8794ee7_a9f4f1e8-bc43-43c0-9976-ff4b237624b1.webp?v=1784097534"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ed42f8aa09637ab6abc9f7c8f4a929dd8794ee7_a9f4f1e8-bc43-43c0-9976-ff4b237624b1.webp?v=1784097534","width":2000},{"alt":null,"id":27775701352547,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee2ce83ee5a44f1637ffb5217aa06ea32f54a0b_08bfd151-4667-4f9a-bd12-86a1c3a54a0a.webp?v=1784097534"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee2ce83ee5a44f1637ffb5217aa06ea32f54a0b_08bfd151-4667-4f9a-bd12-86a1c3a54a0a.webp?v=1784097534","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43882926702691,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012620J-CJY10","requires_shipping":true,"taxable":true,"featured_image":{"id":36271646048355,"product_id":7937547370595,"position":12,"created_at":"2026-07-15T14:38:52+08:00","updated_at":"2026-07-15T14:38:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee2ce83ee5a44f1637ffb5217aa06ea32f54a0b_08bfd151-4667-4f9a-bd12-86a1c3a54a0a.webp?v=1784097534","variant_ids":[43882926702691]},"available":true,"name":"iPhone 14 Pro Clear Jin Young Choi 蘭花貓 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620J-CJY10","featured_media":{"alt":null,"id":27775701352547,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee2ce83ee5a44f1637ffb5217aa06ea32f54a0b_08bfd151-4667-4f9a-bd12-86a1c3a54a0a.webp?v=1784097534"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43882928799843,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012620G-CJY10","requires_shipping":true,"taxable":true,"featured_image":{"id":36271645851747,"product_id":7937547370595,"position":11,"created_at":"2026-07-15T14:38:52+08:00","updated_at":"2026-07-15T14:38:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ed42f8aa09637ab6abc9f7c8f4a929dd8794ee7_a9f4f1e8-bc43-43c0-9976-ff4b237624b1.webp?v=1784097534","variant_ids":[43882928799843]},"available":true,"name":"iPhone 14 Pro Clear Jin Young Choi 蘭花貓 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620G-CJY10","featured_media":{"alt":null,"id":27775701155939,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ed42f8aa09637ab6abc9f7c8f4a929dd8794ee7_a9f4f1e8-bc43-43c0-9976-ff4b237624b1.webp?v=1784097534"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43882928832611,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012620I-CJY10","requires_shipping":true,"taxable":true,"featured_image":{"id":36271645327459,"product_id":7937547370595,"position":9,"created_at":"2026-07-15T14:38:50+08:00","updated_at":"2026-07-15T14:38:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7889ec4829493c75e416b94063ce1e439e49843f_99ff2cf3-97f0-42f5-a908-74d78b715254.webp?v=1784097533","variant_ids":[43882928832611]},"available":true,"name":"iPhone 14 Pro Clear Jin Young Choi 蘭花貓 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620I-CJY10","featured_media":{"alt":null,"id":27775700631651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7889ec4829493c75e416b94063ce1e439e49843f_99ff2cf3-97f0-42f5-a908-74d78b715254.webp?v=1784097533"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43882928865379,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012620H-CJY10","requires_shipping":true,"taxable":true,"featured_image":{"id":36271645622371,"product_id":7937547370595,"position":10,"created_at":"2026-07-15T14:38:51+08:00","updated_at":"2026-07-15T14:38:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe28bbeebc790732733fa2cb65118713a9ef285_06b99dd4-8318-4eb0-a242-cee388e80241.webp?v=1784097533","variant_ids":[43882928865379]},"available":true,"name":"iPhone 14 Pro Clear Jin Young Choi 蘭花貓 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620H-CJY10","featured_media":{"alt":null,"id":27775700926563,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe28bbeebc790732733fa2cb65118713a9ef285_06b99dd4-8318-4eb0-a242-cee388e80241.webp?v=1784097533"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43882926702691,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012620J-CJY10","requires_shipping":true,"taxable":true,"featured_image":{"id":36271646048355,"product_id":7937547370595,"position":12,"created_at":"2026-07-15T14:38:52+08:00","updated_at":"2026-07-15T14:38:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee2ce83ee5a44f1637ffb5217aa06ea32f54a0b_08bfd151-4667-4f9a-bd12-86a1c3a54a0a.webp?v=1784097534","variant_ids":[43882926702691]},"available":true,"name":"iPhone 14 Pro Clear Jin Young Choi 蘭花貓 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620J-CJY10","featured_media":{"alt":null,"id":27775701352547,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee2ce83ee5a44f1637ffb5217aa06ea32f54a0b_08bfd151-4667-4f9a-bd12-86a1c3a54a0a.webp?v=1784097534"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$brand_handle = null;
$type = "";
var sellingStatus
// 只有設計款(SKU 含 '-')才需要合圖
if ($isMerge && $defaultVariant.sku.includes('-')) {
$(document).ready(function() {
var productImg = $product.images[0];
var bumperImg = window.getProductImageUrl($defaultVariant.sku.split('-')[0]);
var layers = ($type === 'mod-nx-backplate' || $type === 'mod-backplate')
? [productImg, bumperImg]
: [bumperImg, productImg];
window.mergeProductImages(layers).then(function (mergedImg) {
$('.merged-img').attr('src', mergedImg);
});
});
};
var sellingStatusData
window.fetchSellingStatus().then(data => {
try {
sellingStatusData = data;
} catch (error) {
sellingStatusData = null
console.error('Unable to parse selling status', error)
}
$(document).ready(function() {
handleSellingStatus($defaultVariant.sku);
});
})
function handleSellingStatus(currentSku) {
if (!sellingStatusData) {
console.error('No selling status available!')
return
}
const sellingStatusElement = document.getElementById('selling-status')
const addToCartButton = document.getElementById('AddToCart-product-template')
const currentProductSku = currentSku.replace(/-(.*)$/, '-')
if ($variants) {
const flattenedSellingStatus = [...sellingStatusData.pending, ...sellingStatusData.preorder]
const matchSellingStatusProduct = flattenedSellingStatus.filter(product => currentProductSku === product.sku)
if (matchSellingStatusProduct.length > 0) {
const isProductPending = matchSellingStatusProduct[0].status === 'pending'
const matchDate = matchSellingStatusProduct[0].date
sellingStatus = isProductPending
? "缺貨中"
: "預購完成出貨日:" + matchDate
sellingStatusElement.textContent = sellingStatus
if (sellingStatus.includes("缺貨中")){
addToCartButton.disabled ='true';
addToCartButton.textContent = "缺貨中無法加入購物車"
} else {
addToCartButton.textContent = "加到購物車"
}
} else {
sellingStatusElement.textContent = ''
addToCartButton.textContent = "加到購物車"
};
};
};
document.addEventListener('DOMContentLoaded', function () {
var currentVariantSelect = document.getElementById('SingleOptionSelector-0')
currentVariantSelect.addEventListener('change', function() {
var currentSku = $('#current_sku').text()
var skuElement = document.getElementById('current-sku')
skuElement.textContent = currentSku
handleSellingStatus(currentSku)
});
});
// Override default values of shop.strings for each template.
// Alternate product templates can change values of
// add to cart button, sold out, and unavailable states here.
theme.productStrings = {
addToCart: "加到購物車",
soldOut: "售完",
unavailable: "停產"
}