$product = {"id":7868203597923,"title":"iPhone 17 Pro SolidX KID 黑色小鴨淺潛水款","handle":"iphone-17-pro-solidx-jo01","description":null,"published_at":"2025-09-10T02:18:43+08:00","created_at":"2025-08-26T16:02:18+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":43633675567203,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140587581539,"product_id":7868203597923,"position":8,"created_at":"2026-07-01T11:14:19+08:00","updated_at":"2026-07-01T11:14:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bed06695ba47b9fddeef324c3ffaa6c55dd6e929.webp?v=1782875660","variant_ids":[43633675567203]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645478633571,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bed06695ba47b9fddeef324c3ffaa6c55dd6e929.webp?v=1782875660"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633677598819,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140586991715,"product_id":7868203597923,"position":5,"created_at":"2026-07-01T11:14:17+08:00","updated_at":"2026-07-01T11:14:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43c8e95be3edcee3ee1fcc3d8a556400fc69f3d6.webp?v=1782875659","variant_ids":[43633677598819]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645478043747,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43c8e95be3edcee3ee1fcc3d8a556400fc69f3d6.webp?v=1782875659"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633677631587,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140588564579,"product_id":7868203597923,"position":12,"created_at":"2026-07-01T11:14:21+08:00","updated_at":"2026-07-01T11:14:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cca888aeeaf9d610bca2122d81e24fdb7840f0f.webp?v=1782875663","variant_ids":[43633677631587]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645479616611,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cca888aeeaf9d610bca2122d81e24fdb7840f0f.webp?v=1782875663"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633677664355,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140587286627,"product_id":7868203597923,"position":7,"created_at":"2026-07-01T11:14:18+08:00","updated_at":"2026-07-01T11:14:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aac2398ff72d9deb3a2676c989175351b596f21.webp?v=1782875660","variant_ids":[43633677664355]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645478338659,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aac2398ff72d9deb3a2676c989175351b596f21.webp?v=1782875660"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633677697123,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140586860643,"product_id":7868203597923,"position":4,"created_at":"2026-07-01T11:14:16+08:00","updated_at":"2026-07-01T11:14:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ea47ddb7fd7cbf4799c51a070afc5e32203d444.webp?v=1782875658","variant_ids":[43633677697123]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645477912675,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ea47ddb7fd7cbf4799c51a070afc5e32203d444.webp?v=1782875658"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633677729891,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140587974755,"product_id":7868203597923,"position":10,"created_at":"2026-07-01T11:14:20+08:00","updated_at":"2026-07-01T11:14:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37b5a3a5fa4b192e0c3d6023d01bf8fe31d0e112.webp?v=1782875662","variant_ids":[43633677729891]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645479026787,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37b5a3a5fa4b192e0c3d6023d01bf8fe31d0e112.webp?v=1782875662"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798256124003,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140587090019,"product_id":7868203597923,"position":6,"created_at":"2026-07-01T11:14:17+08:00","updated_at":"2026-07-01T11:14:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831e1178a64029b4aced8ce4dc0aadc7bc18677c.webp?v=1782875659","variant_ids":[43798256124003]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645478142051,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831e1178a64029b4aced8ce4dc0aadc7bc18677c.webp?v=1782875659"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798256156771,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140588826723,"product_id":7868203597923,"position":13,"created_at":"2026-07-01T11:14:22+08:00","updated_at":"2026-07-01T11:14:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ab5c5eadda71d08a8d08d2586de839a095c2b34.webp?v=1782875664","variant_ids":[43798256156771]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645479878755,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ab5c5eadda71d08a8d08d2586de839a095c2b34.webp?v=1782875664"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198420873315,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140589154403,"product_id":7868203597923,"position":14,"created_at":"2026-07-01T11:14:22+08:00","updated_at":"2026-07-01T11:14:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ce539eea4b0808918cee5361bcd37038f0fa0d8.webp?v=1782875664","variant_ids":[44198420873315]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645480206435,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ce539eea4b0808918cee5361bcd37038f0fa0d8.webp?v=1782875664"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198421856355,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140586696803,"product_id":7868203597923,"position":3,"created_at":"2026-07-01T11:14:16+08:00","updated_at":"2026-07-01T11:14:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50c20dba422ee106197fabe6aceff6e8ccb11be6.webp?v=1782875658","variant_ids":[44198421856355]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645477748835,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50c20dba422ee106197fabe6aceff6e8ccb11be6.webp?v=1782875658"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198422642787,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140586598499,"product_id":7868203597923,"position":2,"created_at":"2026-07-01T11:14:15+08:00","updated_at":"2026-07-01T11:14:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f01d7a93aecd201bddc37c609b9e2ab62c552bf.webp?v=1782875657","variant_ids":[44198422642787]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645477650531,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f01d7a93aecd201bddc37c609b9e2ab62c552bf.webp?v=1782875657"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198423822435,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140588269667,"product_id":7868203597923,"position":11,"created_at":"2026-07-01T11:14:20+08:00","updated_at":"2026-07-01T11:14:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d93b47b13241e98621f2a7ae3ce00b4a2ddfac25.webp?v=1782875662","variant_ids":[44198423822435]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645479321699,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d93b47b13241e98621f2a7ae3ce00b4a2ddfac25.webp?v=1782875662"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264085979235,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140587712611,"product_id":7868203597923,"position":9,"created_at":"2026-07-01T11:14:19+08:00","updated_at":"2026-07-01T11:14:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c20532bf92789894f42b70d0a73aeed06f4165e5.webp?v=1782875661","variant_ids":[44264085979235]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645478830179,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c20532bf92789894f42b70d0a73aeed06f4165e5.webp?v=1782875661"}},"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-JO01.png?v=1756195341","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f01d7a93aecd201bddc37c609b9e2ab62c552bf.webp?v=1782875657","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50c20dba422ee106197fabe6aceff6e8ccb11be6.webp?v=1782875658","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ea47ddb7fd7cbf4799c51a070afc5e32203d444.webp?v=1782875658","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43c8e95be3edcee3ee1fcc3d8a556400fc69f3d6.webp?v=1782875659","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831e1178a64029b4aced8ce4dc0aadc7bc18677c.webp?v=1782875659","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aac2398ff72d9deb3a2676c989175351b596f21.webp?v=1782875660","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bed06695ba47b9fddeef324c3ffaa6c55dd6e929.webp?v=1782875660","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c20532bf92789894f42b70d0a73aeed06f4165e5.webp?v=1782875661","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37b5a3a5fa4b192e0c3d6023d01bf8fe31d0e112.webp?v=1782875662","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d93b47b13241e98621f2a7ae3ce00b4a2ddfac25.webp?v=1782875662","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cca888aeeaf9d610bca2122d81e24fdb7840f0f.webp?v=1782875663","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ab5c5eadda71d08a8d08d2586de839a095c2b34.webp?v=1782875664","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ce539eea4b0808918cee5361bcd37038f0fa0d8.webp?v=1782875664"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-JO01.png?v=1756195341","options":["color"],"media":[{"alt":null,"id":25960975466595,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-JO01.png?v=1756195341"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-JO01.png?v=1756195341","width":2000},{"alt":null,"id":27645477650531,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f01d7a93aecd201bddc37c609b9e2ab62c552bf.webp?v=1782875657"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f01d7a93aecd201bddc37c609b9e2ab62c552bf.webp?v=1782875657","width":2000},{"alt":null,"id":27645477748835,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50c20dba422ee106197fabe6aceff6e8ccb11be6.webp?v=1782875658"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50c20dba422ee106197fabe6aceff6e8ccb11be6.webp?v=1782875658","width":2000},{"alt":null,"id":27645477912675,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ea47ddb7fd7cbf4799c51a070afc5e32203d444.webp?v=1782875658"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ea47ddb7fd7cbf4799c51a070afc5e32203d444.webp?v=1782875658","width":2000},{"alt":null,"id":27645478043747,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43c8e95be3edcee3ee1fcc3d8a556400fc69f3d6.webp?v=1782875659"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43c8e95be3edcee3ee1fcc3d8a556400fc69f3d6.webp?v=1782875659","width":2000},{"alt":null,"id":27645478142051,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831e1178a64029b4aced8ce4dc0aadc7bc18677c.webp?v=1782875659"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831e1178a64029b4aced8ce4dc0aadc7bc18677c.webp?v=1782875659","width":2000},{"alt":null,"id":27645478338659,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aac2398ff72d9deb3a2676c989175351b596f21.webp?v=1782875660"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aac2398ff72d9deb3a2676c989175351b596f21.webp?v=1782875660","width":2000},{"alt":null,"id":27645478633571,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bed06695ba47b9fddeef324c3ffaa6c55dd6e929.webp?v=1782875660"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bed06695ba47b9fddeef324c3ffaa6c55dd6e929.webp?v=1782875660","width":2000},{"alt":null,"id":27645478830179,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c20532bf92789894f42b70d0a73aeed06f4165e5.webp?v=1782875661"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c20532bf92789894f42b70d0a73aeed06f4165e5.webp?v=1782875661","width":2000},{"alt":null,"id":27645479026787,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37b5a3a5fa4b192e0c3d6023d01bf8fe31d0e112.webp?v=1782875662"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37b5a3a5fa4b192e0c3d6023d01bf8fe31d0e112.webp?v=1782875662","width":2000},{"alt":null,"id":27645479321699,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d93b47b13241e98621f2a7ae3ce00b4a2ddfac25.webp?v=1782875662"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d93b47b13241e98621f2a7ae3ce00b4a2ddfac25.webp?v=1782875662","width":2000},{"alt":null,"id":27645479616611,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cca888aeeaf9d610bca2122d81e24fdb7840f0f.webp?v=1782875663"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cca888aeeaf9d610bca2122d81e24fdb7840f0f.webp?v=1782875663","width":2000},{"alt":null,"id":27645479878755,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ab5c5eadda71d08a8d08d2586de839a095c2b34.webp?v=1782875664"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ab5c5eadda71d08a8d08d2586de839a095c2b34.webp?v=1782875664","width":2000},{"alt":null,"id":27645480206435,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ce539eea4b0808918cee5361bcd37038f0fa0d8.webp?v=1782875664"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ce539eea4b0808918cee5361bcd37038f0fa0d8.webp?v=1782875664","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43633675567203,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140587581539,"product_id":7868203597923,"position":8,"created_at":"2026-07-01T11:14:19+08:00","updated_at":"2026-07-01T11:14:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bed06695ba47b9fddeef324c3ffaa6c55dd6e929.webp?v=1782875660","variant_ids":[43633675567203]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645478633571,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bed06695ba47b9fddeef324c3ffaa6c55dd6e929.webp?v=1782875660"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633677598819,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140586991715,"product_id":7868203597923,"position":5,"created_at":"2026-07-01T11:14:17+08:00","updated_at":"2026-07-01T11:14:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43c8e95be3edcee3ee1fcc3d8a556400fc69f3d6.webp?v=1782875659","variant_ids":[43633677598819]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645478043747,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43c8e95be3edcee3ee1fcc3d8a556400fc69f3d6.webp?v=1782875659"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633677631587,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140588564579,"product_id":7868203597923,"position":12,"created_at":"2026-07-01T11:14:21+08:00","updated_at":"2026-07-01T11:14:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cca888aeeaf9d610bca2122d81e24fdb7840f0f.webp?v=1782875663","variant_ids":[43633677631587]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645479616611,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cca888aeeaf9d610bca2122d81e24fdb7840f0f.webp?v=1782875663"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633677664355,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140587286627,"product_id":7868203597923,"position":7,"created_at":"2026-07-01T11:14:18+08:00","updated_at":"2026-07-01T11:14:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aac2398ff72d9deb3a2676c989175351b596f21.webp?v=1782875660","variant_ids":[43633677664355]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645478338659,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aac2398ff72d9deb3a2676c989175351b596f21.webp?v=1782875660"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633677697123,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140586860643,"product_id":7868203597923,"position":4,"created_at":"2026-07-01T11:14:16+08:00","updated_at":"2026-07-01T11:14:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ea47ddb7fd7cbf4799c51a070afc5e32203d444.webp?v=1782875658","variant_ids":[43633677697123]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645477912675,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ea47ddb7fd7cbf4799c51a070afc5e32203d444.webp?v=1782875658"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633677729891,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140587974755,"product_id":7868203597923,"position":10,"created_at":"2026-07-01T11:14:20+08:00","updated_at":"2026-07-01T11:14:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37b5a3a5fa4b192e0c3d6023d01bf8fe31d0e112.webp?v=1782875662","variant_ids":[43633677729891]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645479026787,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37b5a3a5fa4b192e0c3d6023d01bf8fe31d0e112.webp?v=1782875662"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798256124003,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140587090019,"product_id":7868203597923,"position":6,"created_at":"2026-07-01T11:14:17+08:00","updated_at":"2026-07-01T11:14:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831e1178a64029b4aced8ce4dc0aadc7bc18677c.webp?v=1782875659","variant_ids":[43798256124003]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645478142051,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831e1178a64029b4aced8ce4dc0aadc7bc18677c.webp?v=1782875659"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798256156771,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140588826723,"product_id":7868203597923,"position":13,"created_at":"2026-07-01T11:14:22+08:00","updated_at":"2026-07-01T11:14:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ab5c5eadda71d08a8d08d2586de839a095c2b34.webp?v=1782875664","variant_ids":[43798256156771]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645479878755,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ab5c5eadda71d08a8d08d2586de839a095c2b34.webp?v=1782875664"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198420873315,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140589154403,"product_id":7868203597923,"position":14,"created_at":"2026-07-01T11:14:22+08:00","updated_at":"2026-07-01T11:14:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ce539eea4b0808918cee5361bcd37038f0fa0d8.webp?v=1782875664","variant_ids":[44198420873315]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645480206435,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ce539eea4b0808918cee5361bcd37038f0fa0d8.webp?v=1782875664"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198421856355,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140586696803,"product_id":7868203597923,"position":3,"created_at":"2026-07-01T11:14:16+08:00","updated_at":"2026-07-01T11:14:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50c20dba422ee106197fabe6aceff6e8ccb11be6.webp?v=1782875658","variant_ids":[44198421856355]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645477748835,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50c20dba422ee106197fabe6aceff6e8ccb11be6.webp?v=1782875658"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198422642787,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140586598499,"product_id":7868203597923,"position":2,"created_at":"2026-07-01T11:14:15+08:00","updated_at":"2026-07-01T11:14:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f01d7a93aecd201bddc37c609b9e2ab62c552bf.webp?v=1782875657","variant_ids":[44198422642787]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645477650531,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f01d7a93aecd201bddc37c609b9e2ab62c552bf.webp?v=1782875657"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198423822435,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140588269667,"product_id":7868203597923,"position":11,"created_at":"2026-07-01T11:14:20+08:00","updated_at":"2026-07-01T11:14:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d93b47b13241e98621f2a7ae3ce00b4a2ddfac25.webp?v=1782875662","variant_ids":[44198423822435]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645479321699,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d93b47b13241e98621f2a7ae3ce00b4a2ddfac25.webp?v=1782875662"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264085979235,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140587712611,"product_id":7868203597923,"position":9,"created_at":"2026-07-01T11:14:19+08:00","updated_at":"2026-07-01T11:14:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c20532bf92789894f42b70d0a73aeed06f4165e5.webp?v=1782875661","variant_ids":[44264085979235]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645478830179,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c20532bf92789894f42b70d0a73aeed06f4165e5.webp?v=1782875661"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43633675567203,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-JO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36140587581539,"product_id":7868203597923,"position":8,"created_at":"2026-07-01T11:14:19+08:00","updated_at":"2026-07-01T11:14:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bed06695ba47b9fddeef324c3ffaa6c55dd6e929.webp?v=1782875660","variant_ids":[43633675567203]},"available":true,"name":"iPhone 17 Pro SolidX 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-JO01","featured_media":{"alt":null,"id":27645478633571,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bed06695ba47b9fddeef324c3ffaa6c55dd6e929.webp?v=1782875660"}},"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: "停產" }