$product = {"id":8050536513635,"title":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍","handle":"iphone-17-pro-solidx-magsafe-jo121","description":null,"published_at":"2026-07-20T15:09:19+08:00","created_at":"2026-07-01T11:14:46+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-kid","device-iPhone 17 Pro","merge","reseller-kid"],"price":145000,"price_min":145000,"price_max":145000,"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":44306681528419,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140624511075,"product_id":8050536513635,"position":12,"created_at":"2026-07-01T11:15:44+08:00","updated_at":"2026-07-01T11:15:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5760036ef8fb4eaacfec433f3614edca14ead6d.webp?v=1782875746","variant_ids":[44306681528419]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520F-JO121","featured_media":{"alt":null,"id":27645515595875,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5760036ef8fb4eaacfec433f3614edca14ead6d.webp?v=1782875746"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306684313699,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140624085091,"product_id":8050536513635,"position":11,"created_at":"2026-07-01T11:15:43+08:00","updated_at":"2026-07-01T11:15:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2cf1379f824ea208c451bb378364143c556357e.webp?v=1782875745","variant_ids":[44306684313699]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-JO121","featured_media":{"alt":null,"id":27645515104355,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2cf1379f824ea208c451bb378364143c556357e.webp?v=1782875745"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306684575843,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140620021859,"product_id":8050536513635,"position":5,"created_at":"2026-07-01T11:15:39+08:00","updated_at":"2026-07-01T11:15:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0f945049ae4764ed34ccb5a6d0676ea3cfafcf1.webp?v=1782875741","variant_ids":[44306684575843]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01352O8-JO121","featured_media":{"alt":null,"id":27645511008355,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0f945049ae4764ed34ccb5a6d0676ea3cfafcf1.webp?v=1782875741"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306684870755,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140621496419,"product_id":8050536513635,"position":7,"created_at":"2026-07-01T11:15:40+08:00","updated_at":"2026-07-01T11:15:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c2a129f89fdf679cbffb85de34db6bf5cb197d.webp?v=1782875743","variant_ids":[44306684870755]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-JO121","featured_media":{"alt":null,"id":27645512515683,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c2a129f89fdf679cbffb85de34db6bf5cb197d.webp?v=1782875743"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306685001827,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140625231971,"product_id":8050536513635,"position":13,"created_at":"2026-07-01T11:15:45+08:00","updated_at":"2026-07-01T11:15:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/753523df342ab108a0eafe3a5d81296464dbec03.webp?v=1782875747","variant_ids":[44306685001827]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520B-JO121","featured_media":{"alt":null,"id":27645516284003,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/753523df342ab108a0eafe3a5d81296464dbec03.webp?v=1782875747"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306685231203,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140620775523,"product_id":8050536513635,"position":6,"created_at":"2026-07-01T11:15:39+08:00","updated_at":"2026-07-01T11:15:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5af1052a23b58dfa403ef6dfc513e9c786ec4c52.webp?v=1782875742","variant_ids":[44306685231203]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013523O-JO121","featured_media":{"alt":null,"id":27645511794787,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5af1052a23b58dfa403ef6dfc513e9c786ec4c52.webp?v=1782875742"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306685624419,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140618842211,"product_id":8050536513635,"position":3,"created_at":"2026-07-01T11:15:37+08:00","updated_at":"2026-07-01T11:15:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17226bfb0069d312936b6178fdd4350c4790c708.webp?v=1782875740","variant_ids":[44306685624419]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524H-JO121","featured_media":{"alt":null,"id":27645509894243,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17226bfb0069d312936b6178fdd4350c4790c708.webp?v=1782875740"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306685853795,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140623462499,"product_id":8050536513635,"position":10,"created_at":"2026-07-01T11:15:42+08:00","updated_at":"2026-07-01T11:15:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4ac309ed541d0f21f95a66cec8da72184af1e53.webp?v=1782875744","variant_ids":[44306685853795]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524I-JO121","featured_media":{"alt":null,"id":27645514514531,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4ac309ed541d0f21f95a66cec8da72184af1e53.webp?v=1782875744"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306686083171,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140622839907,"product_id":8050536513635,"position":9,"created_at":"2026-07-01T11:15:41+08:00","updated_at":"2026-07-01T11:15:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd0f840d63a8dcd7af156a7bd0161e13481be9f8.webp?v=1782875744","variant_ids":[44306686083171]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525H-JO121","featured_media":{"alt":null,"id":27645513891939,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd0f840d63a8dcd7af156a7bd0161e13481be9f8.webp?v=1782875744"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306686312547,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140619464803,"product_id":8050536513635,"position":4,"created_at":"2026-07-01T11:15:38+08:00","updated_at":"2026-07-01T11:15:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cf95702c311a5de8a78636d5f6ec2149c74ffc8.webp?v=1782875740","variant_ids":[44306686312547]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525X-JO121","featured_media":{"alt":null,"id":27645510516835,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cf95702c311a5de8a78636d5f6ec2149c74ffc8.webp?v=1782875740"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306686541923,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140622348387,"product_id":8050536513635,"position":8,"created_at":"2026-07-01T11:15:41+08:00","updated_at":"2026-07-01T11:15:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2742ffe6e39a7222516d56ff9faa75ef94bd82d0.webp?v=1782875743","variant_ids":[44306686541923]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Y-JO121","featured_media":{"alt":null,"id":27645513367651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2742ffe6e39a7222516d56ff9faa75ef94bd82d0.webp?v=1782875743"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306686672995,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140618416227,"product_id":8050536513635,"position":2,"created_at":"2026-07-01T11:15:37+08:00","updated_at":"2026-07-01T11:15:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b92100f01d8cb91a2d8d53c805c65b12e41396d.webp?v=1782875739","variant_ids":[44306686672995]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Z-JO121","featured_media":{"alt":null,"id":27645509468259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b92100f01d8cb91a2d8d53c805c65b12e41396d.webp?v=1782875739"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306686902371,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140617826403,"product_id":8050536513635,"position":1,"created_at":"2026-07-01T11:15:36+08:00","updated_at":"2026-07-01T11:15:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8700dbb08ad8a49506104d07b386eb99ad8196ad.webp?v=1782875738","variant_ids":[44306686902371]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013526A-JO121","featured_media":{"alt":null,"id":27645508878435,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8700dbb08ad8a49506104d07b386eb99ad8196ad.webp?v=1782875738"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8700dbb08ad8a49506104d07b386eb99ad8196ad.webp?v=1782875738","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b92100f01d8cb91a2d8d53c805c65b12e41396d.webp?v=1782875739","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17226bfb0069d312936b6178fdd4350c4790c708.webp?v=1782875740","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cf95702c311a5de8a78636d5f6ec2149c74ffc8.webp?v=1782875740","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0f945049ae4764ed34ccb5a6d0676ea3cfafcf1.webp?v=1782875741","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5af1052a23b58dfa403ef6dfc513e9c786ec4c52.webp?v=1782875742","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c2a129f89fdf679cbffb85de34db6bf5cb197d.webp?v=1782875743","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2742ffe6e39a7222516d56ff9faa75ef94bd82d0.webp?v=1782875743","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd0f840d63a8dcd7af156a7bd0161e13481be9f8.webp?v=1782875744","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4ac309ed541d0f21f95a66cec8da72184af1e53.webp?v=1782875744","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2cf1379f824ea208c451bb378364143c556357e.webp?v=1782875745","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5760036ef8fb4eaacfec433f3614edca14ead6d.webp?v=1782875746","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/753523df342ab108a0eafe3a5d81296464dbec03.webp?v=1782875747"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8700dbb08ad8a49506104d07b386eb99ad8196ad.webp?v=1782875738","options":["color"],"media":[{"alt":null,"id":27645508878435,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8700dbb08ad8a49506104d07b386eb99ad8196ad.webp?v=1782875738"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8700dbb08ad8a49506104d07b386eb99ad8196ad.webp?v=1782875738","width":2000},{"alt":null,"id":27645509468259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b92100f01d8cb91a2d8d53c805c65b12e41396d.webp?v=1782875739"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b92100f01d8cb91a2d8d53c805c65b12e41396d.webp?v=1782875739","width":2000},{"alt":null,"id":27645509894243,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17226bfb0069d312936b6178fdd4350c4790c708.webp?v=1782875740"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17226bfb0069d312936b6178fdd4350c4790c708.webp?v=1782875740","width":2000},{"alt":null,"id":27645510516835,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cf95702c311a5de8a78636d5f6ec2149c74ffc8.webp?v=1782875740"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cf95702c311a5de8a78636d5f6ec2149c74ffc8.webp?v=1782875740","width":2000},{"alt":null,"id":27645511008355,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0f945049ae4764ed34ccb5a6d0676ea3cfafcf1.webp?v=1782875741"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0f945049ae4764ed34ccb5a6d0676ea3cfafcf1.webp?v=1782875741","width":2000},{"alt":null,"id":27645511794787,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5af1052a23b58dfa403ef6dfc513e9c786ec4c52.webp?v=1782875742"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5af1052a23b58dfa403ef6dfc513e9c786ec4c52.webp?v=1782875742","width":2000},{"alt":null,"id":27645512515683,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c2a129f89fdf679cbffb85de34db6bf5cb197d.webp?v=1782875743"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c2a129f89fdf679cbffb85de34db6bf5cb197d.webp?v=1782875743","width":2000},{"alt":null,"id":27645513367651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2742ffe6e39a7222516d56ff9faa75ef94bd82d0.webp?v=1782875743"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2742ffe6e39a7222516d56ff9faa75ef94bd82d0.webp?v=1782875743","width":2000},{"alt":null,"id":27645513891939,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd0f840d63a8dcd7af156a7bd0161e13481be9f8.webp?v=1782875744"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd0f840d63a8dcd7af156a7bd0161e13481be9f8.webp?v=1782875744","width":2000},{"alt":null,"id":27645514514531,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4ac309ed541d0f21f95a66cec8da72184af1e53.webp?v=1782875744"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4ac309ed541d0f21f95a66cec8da72184af1e53.webp?v=1782875744","width":2000},{"alt":null,"id":27645515104355,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2cf1379f824ea208c451bb378364143c556357e.webp?v=1782875745"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2cf1379f824ea208c451bb378364143c556357e.webp?v=1782875745","width":2000},{"alt":null,"id":27645515595875,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5760036ef8fb4eaacfec433f3614edca14ead6d.webp?v=1782875746"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5760036ef8fb4eaacfec433f3614edca14ead6d.webp?v=1782875746","width":2000},{"alt":null,"id":27645516284003,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/753523df342ab108a0eafe3a5d81296464dbec03.webp?v=1782875747"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/753523df342ab108a0eafe3a5d81296464dbec03.webp?v=1782875747","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44306681528419,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140624511075,"product_id":8050536513635,"position":12,"created_at":"2026-07-01T11:15:44+08:00","updated_at":"2026-07-01T11:15:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5760036ef8fb4eaacfec433f3614edca14ead6d.webp?v=1782875746","variant_ids":[44306681528419]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520F-JO121","featured_media":{"alt":null,"id":27645515595875,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5760036ef8fb4eaacfec433f3614edca14ead6d.webp?v=1782875746"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306684313699,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140624085091,"product_id":8050536513635,"position":11,"created_at":"2026-07-01T11:15:43+08:00","updated_at":"2026-07-01T11:15:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2cf1379f824ea208c451bb378364143c556357e.webp?v=1782875745","variant_ids":[44306684313699]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-JO121","featured_media":{"alt":null,"id":27645515104355,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2cf1379f824ea208c451bb378364143c556357e.webp?v=1782875745"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306684575843,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140620021859,"product_id":8050536513635,"position":5,"created_at":"2026-07-01T11:15:39+08:00","updated_at":"2026-07-01T11:15:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0f945049ae4764ed34ccb5a6d0676ea3cfafcf1.webp?v=1782875741","variant_ids":[44306684575843]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01352O8-JO121","featured_media":{"alt":null,"id":27645511008355,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0f945049ae4764ed34ccb5a6d0676ea3cfafcf1.webp?v=1782875741"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306684870755,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140621496419,"product_id":8050536513635,"position":7,"created_at":"2026-07-01T11:15:40+08:00","updated_at":"2026-07-01T11:15:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c2a129f89fdf679cbffb85de34db6bf5cb197d.webp?v=1782875743","variant_ids":[44306684870755]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-JO121","featured_media":{"alt":null,"id":27645512515683,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c2a129f89fdf679cbffb85de34db6bf5cb197d.webp?v=1782875743"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306685001827,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140625231971,"product_id":8050536513635,"position":13,"created_at":"2026-07-01T11:15:45+08:00","updated_at":"2026-07-01T11:15:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/753523df342ab108a0eafe3a5d81296464dbec03.webp?v=1782875747","variant_ids":[44306685001827]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520B-JO121","featured_media":{"alt":null,"id":27645516284003,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/753523df342ab108a0eafe3a5d81296464dbec03.webp?v=1782875747"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306685231203,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140620775523,"product_id":8050536513635,"position":6,"created_at":"2026-07-01T11:15:39+08:00","updated_at":"2026-07-01T11:15:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5af1052a23b58dfa403ef6dfc513e9c786ec4c52.webp?v=1782875742","variant_ids":[44306685231203]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013523O-JO121","featured_media":{"alt":null,"id":27645511794787,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5af1052a23b58dfa403ef6dfc513e9c786ec4c52.webp?v=1782875742"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306685624419,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140618842211,"product_id":8050536513635,"position":3,"created_at":"2026-07-01T11:15:37+08:00","updated_at":"2026-07-01T11:15:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17226bfb0069d312936b6178fdd4350c4790c708.webp?v=1782875740","variant_ids":[44306685624419]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524H-JO121","featured_media":{"alt":null,"id":27645509894243,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17226bfb0069d312936b6178fdd4350c4790c708.webp?v=1782875740"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306685853795,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140623462499,"product_id":8050536513635,"position":10,"created_at":"2026-07-01T11:15:42+08:00","updated_at":"2026-07-01T11:15:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4ac309ed541d0f21f95a66cec8da72184af1e53.webp?v=1782875744","variant_ids":[44306685853795]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524I-JO121","featured_media":{"alt":null,"id":27645514514531,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4ac309ed541d0f21f95a66cec8da72184af1e53.webp?v=1782875744"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306686083171,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140622839907,"product_id":8050536513635,"position":9,"created_at":"2026-07-01T11:15:41+08:00","updated_at":"2026-07-01T11:15:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd0f840d63a8dcd7af156a7bd0161e13481be9f8.webp?v=1782875744","variant_ids":[44306686083171]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525H-JO121","featured_media":{"alt":null,"id":27645513891939,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd0f840d63a8dcd7af156a7bd0161e13481be9f8.webp?v=1782875744"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306686312547,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140619464803,"product_id":8050536513635,"position":4,"created_at":"2026-07-01T11:15:38+08:00","updated_at":"2026-07-01T11:15:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cf95702c311a5de8a78636d5f6ec2149c74ffc8.webp?v=1782875740","variant_ids":[44306686312547]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525X-JO121","featured_media":{"alt":null,"id":27645510516835,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cf95702c311a5de8a78636d5f6ec2149c74ffc8.webp?v=1782875740"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306686541923,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140622348387,"product_id":8050536513635,"position":8,"created_at":"2026-07-01T11:15:41+08:00","updated_at":"2026-07-01T11:15:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2742ffe6e39a7222516d56ff9faa75ef94bd82d0.webp?v=1782875743","variant_ids":[44306686541923]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Y-JO121","featured_media":{"alt":null,"id":27645513367651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2742ffe6e39a7222516d56ff9faa75ef94bd82d0.webp?v=1782875743"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306686672995,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140618416227,"product_id":8050536513635,"position":2,"created_at":"2026-07-01T11:15:37+08:00","updated_at":"2026-07-01T11:15:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b92100f01d8cb91a2d8d53c805c65b12e41396d.webp?v=1782875739","variant_ids":[44306686672995]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Z-JO121","featured_media":{"alt":null,"id":27645509468259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b92100f01d8cb91a2d8d53c805c65b12e41396d.webp?v=1782875739"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306686902371,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140617826403,"product_id":8050536513635,"position":1,"created_at":"2026-07-01T11:15:36+08:00","updated_at":"2026-07-01T11:15:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8700dbb08ad8a49506104d07b386eb99ad8196ad.webp?v=1782875738","variant_ids":[44306686902371]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013526A-JO121","featured_media":{"alt":null,"id":27645508878435,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8700dbb08ad8a49506104d07b386eb99ad8196ad.webp?v=1782875738"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44306681528419,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140624511075,"product_id":8050536513635,"position":12,"created_at":"2026-07-01T11:15:44+08:00","updated_at":"2026-07-01T11:15:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5760036ef8fb4eaacfec433f3614edca14ead6d.webp?v=1782875746","variant_ids":[44306681528419]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 國王變色龍 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520F-JO121","featured_media":{"alt":null,"id":27645515595875,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5760036ef8fb4eaacfec433f3614edca14ead6d.webp?v=1782875746"}},"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: "停產" }