$product = {"id":7868271100003,"title":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款","handle":"iphone-17-pro-solidx-jo08","description":null,"published_at":"2025-09-10T02:00:53+08:00","created_at":"2025-08-26T16:10:33+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":125000,"price_min":125000,"price_max":125000,"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":43634076876899,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140586139747,"product_id":7868271100003,"position":11,"created_at":"2026-07-01T11:14:13+08:00","updated_at":"2026-07-01T11:14:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2356fd4ce74e90376f460bbdccdeda979271577e.webp?v=1782875654","variant_ids":[43634076876899]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135252-JO08","featured_media":{"alt":null,"id":27645477191779,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2356fd4ce74e90376f460bbdccdeda979271577e.webp?v=1782875654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634078875747,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140585910371,"product_id":7868271100003,"position":9,"created_at":"2026-07-01T11:14:11+08:00","updated_at":"2026-07-01T11:14:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4124296a5ed7b555b4da628ea425f3e3ef823ad.webp?v=1782875654","variant_ids":[43634078875747]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01352O8-JO08","featured_media":{"alt":null,"id":27645476962403,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4124296a5ed7b555b4da628ea425f3e3ef823ad.webp?v=1782875654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634078908515,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140585746531,"product_id":7868271100003,"position":5,"created_at":"2026-07-01T11:14:09+08:00","updated_at":"2026-07-01T11:14:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c74db190049801db14c14c3c72914ec0c1974c21.webp?v=1782875651","variant_ids":[43634078908515]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013520B-JO08","featured_media":{"alt":null,"id":27645476798563,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c74db190049801db14c14c3c72914ec0c1974c21.webp?v=1782875651"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634078941283,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140586041443,"product_id":7868271100003,"position":10,"created_at":"2026-07-01T11:14:12+08:00","updated_at":"2026-07-01T11:14:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7545b8e673e8937d3b4062f29ef8d46c4fd1655c.webp?v=1782875654","variant_ids":[43634078941283]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013524I-JO08","featured_media":{"alt":null,"id":27645477093475,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7545b8e673e8937d3b4062f29ef8d46c4fd1655c.webp?v=1782875654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634078974051,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140585779299,"product_id":7868271100003,"position":6,"created_at":"2026-07-01T11:14:10+08:00","updated_at":"2026-07-01T11:14:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbae1af7a69ce05d9c59b15d9d3d201dce062864.webp?v=1782875652","variant_ids":[43634078974051]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013524H-JO08","featured_media":{"alt":null,"id":27645476831331,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbae1af7a69ce05d9c59b15d9d3d201dce062864.webp?v=1782875652"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634079006819,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140585648227,"product_id":7868271100003,"position":2,"created_at":"2026-07-01T11:14:07+08:00","updated_at":"2026-07-01T11:14:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b163c7a9a0c34a5f7ad26d8d73509a443eefe39b.webp?v=1782875649","variant_ids":[43634079006819]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135253-JO08","featured_media":{"alt":null,"id":27645476700259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b163c7a9a0c34a5f7ad26d8d73509a443eefe39b.webp?v=1782875649"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798320382051,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140586401891,"product_id":7868271100003,"position":14,"created_at":"2026-07-01T11:14:14+08:00","updated_at":"2026-07-01T11:14:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1299530b09cd8571be69d3865508fd540f0873c3.webp?v=1782875656","variant_ids":[43798320382051]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013523O-JO08","featured_media":{"alt":null,"id":27645477453923,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1299530b09cd8571be69d3865508fd540f0873c3.webp?v=1782875656"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798320414819,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140585812067,"product_id":7868271100003,"position":7,"created_at":"2026-07-01T11:14:10+08:00","updated_at":"2026-07-01T11:14:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/720122e42adee9d9cff832393cd141e0c2a8bfa9.webp?v=1782875652","variant_ids":[43798320414819]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013520F-JO08","featured_media":{"alt":null,"id":27645476864099,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/720122e42adee9d9cff832393cd141e0c2a8bfa9.webp?v=1782875652"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200019296355,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140586336355,"product_id":7868271100003,"position":13,"created_at":"2026-07-01T11:14:14+08:00","updated_at":"2026-07-01T11:14:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05b5869c486b926822ad312ad3d2b3b42ca9451e.webp?v=1782875656","variant_ids":[44200019296355]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013526A-JO08","featured_media":{"alt":null,"id":27645477355619,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05b5869c486b926822ad312ad3d2b3b42ca9451e.webp?v=1782875656"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200020246627,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140586238051,"product_id":7868271100003,"position":12,"created_at":"2026-07-01T11:14:13+08:00","updated_at":"2026-07-01T11:14:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/037e8bf7a774021c93e980e376cd7e7a71ff9a47.webp?v=1782875655","variant_ids":[44200020246627]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525X-JO08","featured_media":{"alt":null,"id":27645477290083,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/037e8bf7a774021c93e980e376cd7e7a71ff9a47.webp?v=1782875655"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200021131363,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140585713763,"product_id":7868271100003,"position":4,"created_at":"2026-07-01T11:14:09+08:00","updated_at":"2026-07-01T11:14:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/935566f4db661d5ab03d24b28ba9b1515f618af6.webp?v=1782875651","variant_ids":[44200021131363]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Field Green","public_title":"Field Green","options":["Field Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525Y-JO08","featured_media":{"alt":null,"id":27645476765795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/935566f4db661d5ab03d24b28ba9b1515f618af6.webp?v=1782875651"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200021819491,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140585844835,"product_id":7868271100003,"position":8,"created_at":"2026-07-01T11:14:11+08:00","updated_at":"2026-07-01T11:14:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bfcbbf6d27216e2c7f591e2eb11b28f0bb5cf37.webp?v=1782875653","variant_ids":[44200021819491]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525Z-JO08","featured_media":{"alt":null,"id":27645476896867,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bfcbbf6d27216e2c7f591e2eb11b28f0bb5cf37.webp?v=1782875653"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264086208611,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140585680995,"product_id":7868271100003,"position":3,"created_at":"2026-07-01T11:14:08+08:00","updated_at":"2026-07-01T11:14:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c33b35fc409a372839d77f0984764b47a507d163.webp?v=1782875650","variant_ids":[44264086208611]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525H-JO08","featured_media":{"alt":null,"id":27645476733027,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c33b35fc409a372839d77f0984764b47a507d163.webp?v=1782875650"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-JO08.png?v=1756195836","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b163c7a9a0c34a5f7ad26d8d73509a443eefe39b.webp?v=1782875649","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c33b35fc409a372839d77f0984764b47a507d163.webp?v=1782875650","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/935566f4db661d5ab03d24b28ba9b1515f618af6.webp?v=1782875651","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c74db190049801db14c14c3c72914ec0c1974c21.webp?v=1782875651","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbae1af7a69ce05d9c59b15d9d3d201dce062864.webp?v=1782875652","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/720122e42adee9d9cff832393cd141e0c2a8bfa9.webp?v=1782875652","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bfcbbf6d27216e2c7f591e2eb11b28f0bb5cf37.webp?v=1782875653","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4124296a5ed7b555b4da628ea425f3e3ef823ad.webp?v=1782875654","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7545b8e673e8937d3b4062f29ef8d46c4fd1655c.webp?v=1782875654","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2356fd4ce74e90376f460bbdccdeda979271577e.webp?v=1782875654","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/037e8bf7a774021c93e980e376cd7e7a71ff9a47.webp?v=1782875655","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05b5869c486b926822ad312ad3d2b3b42ca9451e.webp?v=1782875656","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1299530b09cd8571be69d3865508fd540f0873c3.webp?v=1782875656"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-JO08.png?v=1756195836","options":["color"],"media":[{"alt":null,"id":25961055289443,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-JO08.png?v=1756195836"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-JO08.png?v=1756195836","width":2000},{"alt":null,"id":27645476700259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b163c7a9a0c34a5f7ad26d8d73509a443eefe39b.webp?v=1782875649"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b163c7a9a0c34a5f7ad26d8d73509a443eefe39b.webp?v=1782875649","width":2000},{"alt":null,"id":27645476733027,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c33b35fc409a372839d77f0984764b47a507d163.webp?v=1782875650"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c33b35fc409a372839d77f0984764b47a507d163.webp?v=1782875650","width":2000},{"alt":null,"id":27645476765795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/935566f4db661d5ab03d24b28ba9b1515f618af6.webp?v=1782875651"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/935566f4db661d5ab03d24b28ba9b1515f618af6.webp?v=1782875651","width":2000},{"alt":null,"id":27645476798563,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c74db190049801db14c14c3c72914ec0c1974c21.webp?v=1782875651"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c74db190049801db14c14c3c72914ec0c1974c21.webp?v=1782875651","width":2000},{"alt":null,"id":27645476831331,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbae1af7a69ce05d9c59b15d9d3d201dce062864.webp?v=1782875652"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbae1af7a69ce05d9c59b15d9d3d201dce062864.webp?v=1782875652","width":2000},{"alt":null,"id":27645476864099,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/720122e42adee9d9cff832393cd141e0c2a8bfa9.webp?v=1782875652"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/720122e42adee9d9cff832393cd141e0c2a8bfa9.webp?v=1782875652","width":2000},{"alt":null,"id":27645476896867,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bfcbbf6d27216e2c7f591e2eb11b28f0bb5cf37.webp?v=1782875653"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bfcbbf6d27216e2c7f591e2eb11b28f0bb5cf37.webp?v=1782875653","width":2000},{"alt":null,"id":27645476962403,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4124296a5ed7b555b4da628ea425f3e3ef823ad.webp?v=1782875654"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4124296a5ed7b555b4da628ea425f3e3ef823ad.webp?v=1782875654","width":2000},{"alt":null,"id":27645477093475,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7545b8e673e8937d3b4062f29ef8d46c4fd1655c.webp?v=1782875654"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7545b8e673e8937d3b4062f29ef8d46c4fd1655c.webp?v=1782875654","width":2000},{"alt":null,"id":27645477191779,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2356fd4ce74e90376f460bbdccdeda979271577e.webp?v=1782875654"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2356fd4ce74e90376f460bbdccdeda979271577e.webp?v=1782875654","width":2000},{"alt":null,"id":27645477290083,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/037e8bf7a774021c93e980e376cd7e7a71ff9a47.webp?v=1782875655"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/037e8bf7a774021c93e980e376cd7e7a71ff9a47.webp?v=1782875655","width":2000},{"alt":null,"id":27645477355619,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05b5869c486b926822ad312ad3d2b3b42ca9451e.webp?v=1782875656"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05b5869c486b926822ad312ad3d2b3b42ca9451e.webp?v=1782875656","width":2000},{"alt":null,"id":27645477453923,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1299530b09cd8571be69d3865508fd540f0873c3.webp?v=1782875656"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1299530b09cd8571be69d3865508fd540f0873c3.webp?v=1782875656","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43634076876899,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140586139747,"product_id":7868271100003,"position":11,"created_at":"2026-07-01T11:14:13+08:00","updated_at":"2026-07-01T11:14:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2356fd4ce74e90376f460bbdccdeda979271577e.webp?v=1782875654","variant_ids":[43634076876899]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135252-JO08","featured_media":{"alt":null,"id":27645477191779,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2356fd4ce74e90376f460bbdccdeda979271577e.webp?v=1782875654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634078875747,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140585910371,"product_id":7868271100003,"position":9,"created_at":"2026-07-01T11:14:11+08:00","updated_at":"2026-07-01T11:14:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4124296a5ed7b555b4da628ea425f3e3ef823ad.webp?v=1782875654","variant_ids":[43634078875747]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01352O8-JO08","featured_media":{"alt":null,"id":27645476962403,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4124296a5ed7b555b4da628ea425f3e3ef823ad.webp?v=1782875654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634078908515,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140585746531,"product_id":7868271100003,"position":5,"created_at":"2026-07-01T11:14:09+08:00","updated_at":"2026-07-01T11:14:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c74db190049801db14c14c3c72914ec0c1974c21.webp?v=1782875651","variant_ids":[43634078908515]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013520B-JO08","featured_media":{"alt":null,"id":27645476798563,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c74db190049801db14c14c3c72914ec0c1974c21.webp?v=1782875651"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634078941283,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140586041443,"product_id":7868271100003,"position":10,"created_at":"2026-07-01T11:14:12+08:00","updated_at":"2026-07-01T11:14:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7545b8e673e8937d3b4062f29ef8d46c4fd1655c.webp?v=1782875654","variant_ids":[43634078941283]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013524I-JO08","featured_media":{"alt":null,"id":27645477093475,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7545b8e673e8937d3b4062f29ef8d46c4fd1655c.webp?v=1782875654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634078974051,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140585779299,"product_id":7868271100003,"position":6,"created_at":"2026-07-01T11:14:10+08:00","updated_at":"2026-07-01T11:14:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbae1af7a69ce05d9c59b15d9d3d201dce062864.webp?v=1782875652","variant_ids":[43634078974051]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013524H-JO08","featured_media":{"alt":null,"id":27645476831331,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbae1af7a69ce05d9c59b15d9d3d201dce062864.webp?v=1782875652"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634079006819,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140585648227,"product_id":7868271100003,"position":2,"created_at":"2026-07-01T11:14:07+08:00","updated_at":"2026-07-01T11:14:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b163c7a9a0c34a5f7ad26d8d73509a443eefe39b.webp?v=1782875649","variant_ids":[43634079006819]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135253-JO08","featured_media":{"alt":null,"id":27645476700259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b163c7a9a0c34a5f7ad26d8d73509a443eefe39b.webp?v=1782875649"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798320382051,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140586401891,"product_id":7868271100003,"position":14,"created_at":"2026-07-01T11:14:14+08:00","updated_at":"2026-07-01T11:14:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1299530b09cd8571be69d3865508fd540f0873c3.webp?v=1782875656","variant_ids":[43798320382051]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013523O-JO08","featured_media":{"alt":null,"id":27645477453923,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1299530b09cd8571be69d3865508fd540f0873c3.webp?v=1782875656"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798320414819,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140585812067,"product_id":7868271100003,"position":7,"created_at":"2026-07-01T11:14:10+08:00","updated_at":"2026-07-01T11:14:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/720122e42adee9d9cff832393cd141e0c2a8bfa9.webp?v=1782875652","variant_ids":[43798320414819]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013520F-JO08","featured_media":{"alt":null,"id":27645476864099,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/720122e42adee9d9cff832393cd141e0c2a8bfa9.webp?v=1782875652"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200019296355,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140586336355,"product_id":7868271100003,"position":13,"created_at":"2026-07-01T11:14:14+08:00","updated_at":"2026-07-01T11:14:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05b5869c486b926822ad312ad3d2b3b42ca9451e.webp?v=1782875656","variant_ids":[44200019296355]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013526A-JO08","featured_media":{"alt":null,"id":27645477355619,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05b5869c486b926822ad312ad3d2b3b42ca9451e.webp?v=1782875656"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200020246627,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140586238051,"product_id":7868271100003,"position":12,"created_at":"2026-07-01T11:14:13+08:00","updated_at":"2026-07-01T11:14:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/037e8bf7a774021c93e980e376cd7e7a71ff9a47.webp?v=1782875655","variant_ids":[44200020246627]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525X-JO08","featured_media":{"alt":null,"id":27645477290083,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/037e8bf7a774021c93e980e376cd7e7a71ff9a47.webp?v=1782875655"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200021131363,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140585713763,"product_id":7868271100003,"position":4,"created_at":"2026-07-01T11:14:09+08:00","updated_at":"2026-07-01T11:14:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/935566f4db661d5ab03d24b28ba9b1515f618af6.webp?v=1782875651","variant_ids":[44200021131363]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Field Green","public_title":"Field Green","options":["Field Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525Y-JO08","featured_media":{"alt":null,"id":27645476765795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/935566f4db661d5ab03d24b28ba9b1515f618af6.webp?v=1782875651"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200021819491,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140585844835,"product_id":7868271100003,"position":8,"created_at":"2026-07-01T11:14:11+08:00","updated_at":"2026-07-01T11:14:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bfcbbf6d27216e2c7f591e2eb11b28f0bb5cf37.webp?v=1782875653","variant_ids":[44200021819491]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525Z-JO08","featured_media":{"alt":null,"id":27645476896867,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bfcbbf6d27216e2c7f591e2eb11b28f0bb5cf37.webp?v=1782875653"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264086208611,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140585680995,"product_id":7868271100003,"position":3,"created_at":"2026-07-01T11:14:08+08:00","updated_at":"2026-07-01T11:14:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c33b35fc409a372839d77f0984764b47a507d163.webp?v=1782875650","variant_ids":[44264086208611]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525H-JO08","featured_media":{"alt":null,"id":27645476733027,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c33b35fc409a372839d77f0984764b47a507d163.webp?v=1782875650"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43634076876899,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-JO08","requires_shipping":true,"taxable":true,"featured_image":{"id":36140586139747,"product_id":7868271100003,"position":11,"created_at":"2026-07-01T11:14:13+08:00","updated_at":"2026-07-01T11:14:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2356fd4ce74e90376f460bbdccdeda979271577e.webp?v=1782875654","variant_ids":[43634076876899]},"available":true,"name":"iPhone 17 Pro SolidX KID STAY WRINKLY-鯊魚KID款 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135252-JO08","featured_media":{"alt":null,"id":27645477191779,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2356fd4ce74e90376f460bbdccdeda979271577e.webp?v=1782875654"}},"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: "停產" }