$product = {"id":7873225228387,"title":"iPhone 14 Pro Clear Keigo Sleepy Sloth","handle":"iphone-14-pro-jellytint-kei08","description":null,"published_at":"2025-09-01T11:12:19+08:00","created_at":"2025-09-01T09:28:30+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-keigo","device-iPhone 14 Pro","merge","reseller-keigo"],"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":43658381557859,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012620G-KEI08","requires_shipping":true,"taxable":true,"featured_image":{"id":36319234424931,"product_id":7873225228387,"position":10,"created_at":"2026-07-20T12:49:19+08:00","updated_at":"2026-07-20T12:49:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85a7e67b038fb08d8e6d26efa8fafa6c37e89cb_52b11fa8-7693-4b01-bc9a-cc0b3b999637.webp?v=1784522961","variant_ids":[43658381557859]},"available":true,"name":"iPhone 14 Pro Clear Keigo Sleepy Sloth - 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-KEI08","featured_media":{"alt":null,"id":27823186772067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85a7e67b038fb08d8e6d26efa8fafa6c37e89cb_52b11fa8-7693-4b01-bc9a-cc0b3b999637.webp?v=1784522961"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658383884387,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012620I-KEI08","requires_shipping":true,"taxable":true,"featured_image":{"id":36319234588771,"product_id":7873225228387,"position":11,"created_at":"2026-07-20T12:49:20+08:00","updated_at":"2026-07-20T12:49:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2187c493774a2a50dde2aa6d54e0c112a667d06_f8f8e515-d37d-4c90-907b-cf69d4122202.webp?v=1784522962","variant_ids":[43658383884387]},"available":true,"name":"iPhone 14 Pro Clear Keigo Sleepy Sloth - 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-KEI08","featured_media":{"alt":null,"id":27823186935907,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2187c493774a2a50dde2aa6d54e0c112a667d06_f8f8e515-d37d-4c90-907b-cf69d4122202.webp?v=1784522962"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658383917155,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012620H-KEI08","requires_shipping":true,"taxable":true,"featured_image":{"id":36319234719843,"product_id":7873225228387,"position":12,"created_at":"2026-07-20T12:49:21+08:00","updated_at":"2026-07-20T12:49:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239d757afbe4a01239d1da7b70712f3c34f52fa0_2101f90b-bd8a-4f54-96b5-f76efdbbd44a.webp?v=1784522963","variant_ids":[43658383917155]},"available":true,"name":"iPhone 14 Pro Clear Keigo Sleepy Sloth - 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-KEI08","featured_media":{"alt":null,"id":27823187066979,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239d757afbe4a01239d1da7b70712f3c34f52fa0_2101f90b-bd8a-4f54-96b5-f76efdbbd44a.webp?v=1784522963"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658383949923,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012620J-KEI08","requires_shipping":true,"taxable":true,"featured_image":{"id":36319234195555,"product_id":7873225228387,"position":9,"created_at":"2026-07-20T12:49:19+08:00","updated_at":"2026-07-20T12:49:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca382fa758597e6916dfeb24f487ecbf8f9e5166_932ba594-2d65-484f-8cb3-c4a18138482c.webp?v=1784522961","variant_ids":[43658383949923]},"available":true,"name":"iPhone 14 Pro Clear Keigo Sleepy Sloth - 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-KEI08","featured_media":{"alt":null,"id":27823186542691,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca382fa758597e6916dfeb24f487ecbf8f9e5166_932ba594-2d65-484f-8cb3-c4a18138482c.webp?v=1784522961"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85a7e67b038fb08d8e6d26efa8fafa6c37e89cb.webp?v=1756690116","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239d757afbe4a01239d1da7b70712f3c34f52fa0.webp?v=1756690117","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca382fa758597e6916dfeb24f487ecbf8f9e5166.webp?v=1756690117","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2187c493774a2a50dde2aa6d54e0c112a667d06.webp?v=1756690118","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca382fa758597e6916dfeb24f487ecbf8f9e5166_dee753dc-2c2e-4082-b275-15e41ceefe88.webp?v=1784107106","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85a7e67b038fb08d8e6d26efa8fafa6c37e89cb_63a5e7fd-eb0b-4748-a1a4-50124ed76002.webp?v=1784107106","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239d757afbe4a01239d1da7b70712f3c34f52fa0_c60f2dd7-df91-4db1-9074-566213263a1f.webp?v=1784107107","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2187c493774a2a50dde2aa6d54e0c112a667d06_ac9b94c1-4c75-4d8a-9e08-ed3fdd8a85a3.webp?v=1784107108","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca382fa758597e6916dfeb24f487ecbf8f9e5166_932ba594-2d65-484f-8cb3-c4a18138482c.webp?v=1784522961","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85a7e67b038fb08d8e6d26efa8fafa6c37e89cb_52b11fa8-7693-4b01-bc9a-cc0b3b999637.webp?v=1784522961","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2187c493774a2a50dde2aa6d54e0c112a667d06_f8f8e515-d37d-4c90-907b-cf69d4122202.webp?v=1784522962","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239d757afbe4a01239d1da7b70712f3c34f52fa0_2101f90b-bd8a-4f54-96b5-f76efdbbd44a.webp?v=1784522963"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85a7e67b038fb08d8e6d26efa8fafa6c37e89cb.webp?v=1756690116","options":["color"],"media":[{"alt":null,"id":25982054465635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85a7e67b038fb08d8e6d26efa8fafa6c37e89cb.webp?v=1756690116"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85a7e67b038fb08d8e6d26efa8fafa6c37e89cb.webp?v=1756690116","width":2000},{"alt":null,"id":25982054727779,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239d757afbe4a01239d1da7b70712f3c34f52fa0.webp?v=1756690117"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239d757afbe4a01239d1da7b70712f3c34f52fa0.webp?v=1756690117","width":2000},{"alt":null,"id":25982054826083,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca382fa758597e6916dfeb24f487ecbf8f9e5166.webp?v=1756690117"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca382fa758597e6916dfeb24f487ecbf8f9e5166.webp?v=1756690117","width":2000},{"alt":null,"id":25982055022691,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2187c493774a2a50dde2aa6d54e0c112a667d06.webp?v=1756690118"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2187c493774a2a50dde2aa6d54e0c112a667d06.webp?v=1756690118","width":2000},{"alt":null,"id":27777119256675,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca382fa758597e6916dfeb24f487ecbf8f9e5166_dee753dc-2c2e-4082-b275-15e41ceefe88.webp?v=1784107106"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca382fa758597e6916dfeb24f487ecbf8f9e5166_dee753dc-2c2e-4082-b275-15e41ceefe88.webp?v=1784107106","width":2000},{"alt":null,"id":27777119813731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85a7e67b038fb08d8e6d26efa8fafa6c37e89cb_63a5e7fd-eb0b-4748-a1a4-50124ed76002.webp?v=1784107106"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85a7e67b038fb08d8e6d26efa8fafa6c37e89cb_63a5e7fd-eb0b-4748-a1a4-50124ed76002.webp?v=1784107106","width":2000},{"alt":null,"id":27777120239715,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239d757afbe4a01239d1da7b70712f3c34f52fa0_c60f2dd7-df91-4db1-9074-566213263a1f.webp?v=1784107107"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239d757afbe4a01239d1da7b70712f3c34f52fa0_c60f2dd7-df91-4db1-9074-566213263a1f.webp?v=1784107107","width":2000},{"alt":null,"id":27777120764003,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2187c493774a2a50dde2aa6d54e0c112a667d06_ac9b94c1-4c75-4d8a-9e08-ed3fdd8a85a3.webp?v=1784107108"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2187c493774a2a50dde2aa6d54e0c112a667d06_ac9b94c1-4c75-4d8a-9e08-ed3fdd8a85a3.webp?v=1784107108","width":2000},{"alt":null,"id":27823186542691,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca382fa758597e6916dfeb24f487ecbf8f9e5166_932ba594-2d65-484f-8cb3-c4a18138482c.webp?v=1784522961"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca382fa758597e6916dfeb24f487ecbf8f9e5166_932ba594-2d65-484f-8cb3-c4a18138482c.webp?v=1784522961","width":2000},{"alt":null,"id":27823186772067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85a7e67b038fb08d8e6d26efa8fafa6c37e89cb_52b11fa8-7693-4b01-bc9a-cc0b3b999637.webp?v=1784522961"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85a7e67b038fb08d8e6d26efa8fafa6c37e89cb_52b11fa8-7693-4b01-bc9a-cc0b3b999637.webp?v=1784522961","width":2000},{"alt":null,"id":27823186935907,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2187c493774a2a50dde2aa6d54e0c112a667d06_f8f8e515-d37d-4c90-907b-cf69d4122202.webp?v=1784522962"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2187c493774a2a50dde2aa6d54e0c112a667d06_f8f8e515-d37d-4c90-907b-cf69d4122202.webp?v=1784522962","width":2000},{"alt":null,"id":27823187066979,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239d757afbe4a01239d1da7b70712f3c34f52fa0_2101f90b-bd8a-4f54-96b5-f76efdbbd44a.webp?v=1784522963"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239d757afbe4a01239d1da7b70712f3c34f52fa0_2101f90b-bd8a-4f54-96b5-f76efdbbd44a.webp?v=1784522963","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43658381557859,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012620G-KEI08","requires_shipping":true,"taxable":true,"featured_image":{"id":36319234424931,"product_id":7873225228387,"position":10,"created_at":"2026-07-20T12:49:19+08:00","updated_at":"2026-07-20T12:49:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85a7e67b038fb08d8e6d26efa8fafa6c37e89cb_52b11fa8-7693-4b01-bc9a-cc0b3b999637.webp?v=1784522961","variant_ids":[43658381557859]},"available":true,"name":"iPhone 14 Pro Clear Keigo Sleepy Sloth - 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-KEI08","featured_media":{"alt":null,"id":27823186772067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85a7e67b038fb08d8e6d26efa8fafa6c37e89cb_52b11fa8-7693-4b01-bc9a-cc0b3b999637.webp?v=1784522961"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658383884387,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012620I-KEI08","requires_shipping":true,"taxable":true,"featured_image":{"id":36319234588771,"product_id":7873225228387,"position":11,"created_at":"2026-07-20T12:49:20+08:00","updated_at":"2026-07-20T12:49:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2187c493774a2a50dde2aa6d54e0c112a667d06_f8f8e515-d37d-4c90-907b-cf69d4122202.webp?v=1784522962","variant_ids":[43658383884387]},"available":true,"name":"iPhone 14 Pro Clear Keigo Sleepy Sloth - 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-KEI08","featured_media":{"alt":null,"id":27823186935907,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2187c493774a2a50dde2aa6d54e0c112a667d06_f8f8e515-d37d-4c90-907b-cf69d4122202.webp?v=1784522962"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658383917155,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012620H-KEI08","requires_shipping":true,"taxable":true,"featured_image":{"id":36319234719843,"product_id":7873225228387,"position":12,"created_at":"2026-07-20T12:49:21+08:00","updated_at":"2026-07-20T12:49:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239d757afbe4a01239d1da7b70712f3c34f52fa0_2101f90b-bd8a-4f54-96b5-f76efdbbd44a.webp?v=1784522963","variant_ids":[43658383917155]},"available":true,"name":"iPhone 14 Pro Clear Keigo Sleepy Sloth - 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-KEI08","featured_media":{"alt":null,"id":27823187066979,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239d757afbe4a01239d1da7b70712f3c34f52fa0_2101f90b-bd8a-4f54-96b5-f76efdbbd44a.webp?v=1784522963"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658383949923,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012620J-KEI08","requires_shipping":true,"taxable":true,"featured_image":{"id":36319234195555,"product_id":7873225228387,"position":9,"created_at":"2026-07-20T12:49:19+08:00","updated_at":"2026-07-20T12:49:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca382fa758597e6916dfeb24f487ecbf8f9e5166_932ba594-2d65-484f-8cb3-c4a18138482c.webp?v=1784522961","variant_ids":[43658383949923]},"available":true,"name":"iPhone 14 Pro Clear Keigo Sleepy Sloth - 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-KEI08","featured_media":{"alt":null,"id":27823186542691,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca382fa758597e6916dfeb24f487ecbf8f9e5166_932ba594-2d65-484f-8cb3-c4a18138482c.webp?v=1784522961"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43658381557859,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012620G-KEI08","requires_shipping":true,"taxable":true,"featured_image":{"id":36319234424931,"product_id":7873225228387,"position":10,"created_at":"2026-07-20T12:49:19+08:00","updated_at":"2026-07-20T12:49:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85a7e67b038fb08d8e6d26efa8fafa6c37e89cb_52b11fa8-7693-4b01-bc9a-cc0b3b999637.webp?v=1784522961","variant_ids":[43658381557859]},"available":true,"name":"iPhone 14 Pro Clear Keigo Sleepy Sloth - 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-KEI08","featured_media":{"alt":null,"id":27823186772067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85a7e67b038fb08d8e6d26efa8fafa6c37e89cb_52b11fa8-7693-4b01-bc9a-cc0b3b999637.webp?v=1784522961"}},"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: "停產" }