$product = {"id":7868547465315,"title":"iPhone 17 Pro Max SolidX KID KID黃色行李箱款","handle":"iphone-17-pro-max-solidx-jo04","description":null,"published_at":"2025-09-10T00:52:26+08:00","created_at":"2025-08-26T16:57:12+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-kid","device-iPhone 17 Pro Max","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":43635716227171,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140536856675,"product_id":7868547465315,"position":12,"created_at":"2026-07-01T11:11:14+08:00","updated_at":"2026-07-01T11:11:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08b0dce54c74de221bf98c19d13782a50ef5ca78.webp?v=1782875477","variant_ids":[43635716227171]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST0135352-JO04","featured_media":{"alt":null,"id":27645427941475,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08b0dce54c74de221bf98c19d13782a50ef5ca78.webp?v=1782875477"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635718422627,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140531449955,"product_id":7868547465315,"position":2,"created_at":"2026-07-01T11:11:03+08:00","updated_at":"2026-07-01T11:11:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecef8b22dc4a0b28f1ace1acb0b85c679a259f8b.webp?v=1782875465","variant_ids":[43635718422627]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST013534H-JO04","featured_media":{"alt":null,"id":27645422567523,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecef8b22dc4a0b28f1ace1acb0b85c679a259f8b.webp?v=1782875465"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635718455395,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140532891747,"product_id":7868547465315,"position":4,"created_at":"2026-07-01T11:11:08+08:00","updated_at":"2026-07-01T11:11:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b456f3ad665412ff8e241aaf88646bed34d8d1cd.webp?v=1782875470","variant_ids":[43635718455395]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST013530B-JO04","featured_media":{"alt":null,"id":27645424009315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b456f3ad665412ff8e241aaf88646bed34d8d1cd.webp?v=1782875470"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635718488163,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140533907555,"product_id":7868547465315,"position":5,"created_at":"2026-07-01T11:11:08+08:00","updated_at":"2026-07-01T11:11:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd555970dcd3a9ed73693f091cd378265a1a8ded.webp?v=1782875471","variant_ids":[43635718488163]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST013534I-JO04","featured_media":{"alt":null,"id":27645424992355,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd555970dcd3a9ed73693f091cd378265a1a8ded.webp?v=1782875471"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635718520931,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140535251043,"product_id":7868547465315,"position":8,"created_at":"2026-07-01T11:11:12+08:00","updated_at":"2026-07-01T11:11:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4d7a6e865125da1682832ed63495b7ff903fac1.webp?v=1782875474","variant_ids":[43635718520931]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST0135353-JO04","featured_media":{"alt":null,"id":27645426368611,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4d7a6e865125da1682832ed63495b7ff903fac1.webp?v=1782875474"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635718553699,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140535709795,"product_id":7868547465315,"position":9,"created_at":"2026-07-01T11:11:12+08:00","updated_at":"2026-07-01T11:11:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf1545fa04639698534475d48664b2eca52e9f66.webp?v=1782875475","variant_ids":[43635718553699]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST01353O8-JO04","featured_media":{"alt":null,"id":27645426958435,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf1545fa04639698534475d48664b2eca52e9f66.webp?v=1782875475"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799147184227,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140532236387,"product_id":7868547465315,"position":3,"created_at":"2026-07-01T11:11:04+08:00","updated_at":"2026-07-01T11:11:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e6abc7494ac677ffd621d47a0ff0a577c66746.webp?v=1782875466","variant_ids":[43799147184227]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST013530F-JO04","featured_media":{"alt":null,"id":27645423288419,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e6abc7494ac677ffd621d47a0ff0a577c66746.webp?v=1782875466"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799147216995,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140537086051,"product_id":7868547465315,"position":13,"created_at":"2026-07-01T11:11:15+08:00","updated_at":"2026-07-01T11:11:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aeb962fd62ce2a380666bc94ec9ce7cfda9e353.webp?v=1782875477","variant_ids":[43799147216995]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST013533O-JO04","featured_media":{"alt":null,"id":27645428170851,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aeb962fd62ce2a380666bc94ec9ce7cfda9e353.webp?v=1782875477"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200723841123,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140537380963,"product_id":7868547465315,"position":14,"created_at":"2026-07-01T11:11:16+08:00","updated_at":"2026-07-01T11:11:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbac54532a3cd6330b76f5c6ce3b85926793cd13.webp?v=1782875478","variant_ids":[44200723841123]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST013536A-JO04","featured_media":{"alt":null,"id":27645428498531,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbac54532a3cd6330b76f5c6ce3b85926793cd13.webp?v=1782875478"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200724299875,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140534726755,"product_id":7868547465315,"position":7,"created_at":"2026-07-01T11:11:11+08:00","updated_at":"2026-07-01T11:11:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2a8241905656e3e4386e1acf49e9177ec695d21.webp?v=1782875473","variant_ids":[44200724299875]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST013535X-JO04","featured_media":{"alt":null,"id":27645426040931,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2a8241905656e3e4386e1acf49e9177ec695d21.webp?v=1782875473"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200724758627,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140534628451,"product_id":7868547465315,"position":6,"created_at":"2026-07-01T11:11:10+08:00","updated_at":"2026-07-01T11:11:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfa469dfb19042403c5e346e61e973908910d4c2.webp?v=1782875472","variant_ids":[44200724758627]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST013535Y-JO04","featured_media":{"alt":null,"id":27645425746019,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfa469dfb19042403c5e346e61e973908910d4c2.webp?v=1782875472"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200725446755,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140536627299,"product_id":7868547465315,"position":11,"created_at":"2026-07-01T11:11:14+08:00","updated_at":"2026-07-01T11:11:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6d01be69a767d6504c2927cc8aa35d80f55b9d1.webp?v=1782875476","variant_ids":[44200725446755]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST013535Z-JO04","featured_media":{"alt":null,"id":27645427744867,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6d01be69a767d6504c2927cc8aa35d80f55b9d1.webp?v=1782875476"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263821672547,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140536234083,"product_id":7868547465315,"position":10,"created_at":"2026-07-01T11:11:13+08:00","updated_at":"2026-07-01T11:11:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17a712ee629433843f2fc274ac38c567d3441505.webp?v=1782875475","variant_ids":[44263821672547]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST013535H-JO04","featured_media":{"alt":null,"id":27645427351651,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17a712ee629433843f2fc274ac38c567d3441505.webp?v=1782875475"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-JO04.png?v=1756198635","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecef8b22dc4a0b28f1ace1acb0b85c679a259f8b.webp?v=1782875465","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e6abc7494ac677ffd621d47a0ff0a577c66746.webp?v=1782875466","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b456f3ad665412ff8e241aaf88646bed34d8d1cd.webp?v=1782875470","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd555970dcd3a9ed73693f091cd378265a1a8ded.webp?v=1782875471","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfa469dfb19042403c5e346e61e973908910d4c2.webp?v=1782875472","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2a8241905656e3e4386e1acf49e9177ec695d21.webp?v=1782875473","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4d7a6e865125da1682832ed63495b7ff903fac1.webp?v=1782875474","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf1545fa04639698534475d48664b2eca52e9f66.webp?v=1782875475","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17a712ee629433843f2fc274ac38c567d3441505.webp?v=1782875475","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6d01be69a767d6504c2927cc8aa35d80f55b9d1.webp?v=1782875476","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08b0dce54c74de221bf98c19d13782a50ef5ca78.webp?v=1782875477","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aeb962fd62ce2a380666bc94ec9ce7cfda9e353.webp?v=1782875477","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbac54532a3cd6330b76f5c6ce3b85926793cd13.webp?v=1782875478"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-JO04.png?v=1756198635","options":["color"],"media":[{"alt":null,"id":25961414819939,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-JO04.png?v=1756198635"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-JO04.png?v=1756198635","width":2000},{"alt":null,"id":27645422567523,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecef8b22dc4a0b28f1ace1acb0b85c679a259f8b.webp?v=1782875465"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecef8b22dc4a0b28f1ace1acb0b85c679a259f8b.webp?v=1782875465","width":2000},{"alt":null,"id":27645423288419,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e6abc7494ac677ffd621d47a0ff0a577c66746.webp?v=1782875466"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e6abc7494ac677ffd621d47a0ff0a577c66746.webp?v=1782875466","width":2000},{"alt":null,"id":27645424009315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b456f3ad665412ff8e241aaf88646bed34d8d1cd.webp?v=1782875470"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b456f3ad665412ff8e241aaf88646bed34d8d1cd.webp?v=1782875470","width":2000},{"alt":null,"id":27645424992355,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd555970dcd3a9ed73693f091cd378265a1a8ded.webp?v=1782875471"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd555970dcd3a9ed73693f091cd378265a1a8ded.webp?v=1782875471","width":2000},{"alt":null,"id":27645425746019,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfa469dfb19042403c5e346e61e973908910d4c2.webp?v=1782875472"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfa469dfb19042403c5e346e61e973908910d4c2.webp?v=1782875472","width":2000},{"alt":null,"id":27645426040931,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2a8241905656e3e4386e1acf49e9177ec695d21.webp?v=1782875473"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2a8241905656e3e4386e1acf49e9177ec695d21.webp?v=1782875473","width":2000},{"alt":null,"id":27645426368611,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4d7a6e865125da1682832ed63495b7ff903fac1.webp?v=1782875474"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4d7a6e865125da1682832ed63495b7ff903fac1.webp?v=1782875474","width":2000},{"alt":null,"id":27645426958435,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf1545fa04639698534475d48664b2eca52e9f66.webp?v=1782875475"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf1545fa04639698534475d48664b2eca52e9f66.webp?v=1782875475","width":2000},{"alt":null,"id":27645427351651,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17a712ee629433843f2fc274ac38c567d3441505.webp?v=1782875475"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17a712ee629433843f2fc274ac38c567d3441505.webp?v=1782875475","width":2000},{"alt":null,"id":27645427744867,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6d01be69a767d6504c2927cc8aa35d80f55b9d1.webp?v=1782875476"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6d01be69a767d6504c2927cc8aa35d80f55b9d1.webp?v=1782875476","width":2000},{"alt":null,"id":27645427941475,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08b0dce54c74de221bf98c19d13782a50ef5ca78.webp?v=1782875477"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08b0dce54c74de221bf98c19d13782a50ef5ca78.webp?v=1782875477","width":2000},{"alt":null,"id":27645428170851,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aeb962fd62ce2a380666bc94ec9ce7cfda9e353.webp?v=1782875477"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aeb962fd62ce2a380666bc94ec9ce7cfda9e353.webp?v=1782875477","width":2000},{"alt":null,"id":27645428498531,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbac54532a3cd6330b76f5c6ce3b85926793cd13.webp?v=1782875478"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbac54532a3cd6330b76f5c6ce3b85926793cd13.webp?v=1782875478","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43635716227171,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140536856675,"product_id":7868547465315,"position":12,"created_at":"2026-07-01T11:11:14+08:00","updated_at":"2026-07-01T11:11:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08b0dce54c74de221bf98c19d13782a50ef5ca78.webp?v=1782875477","variant_ids":[43635716227171]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST0135352-JO04","featured_media":{"alt":null,"id":27645427941475,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08b0dce54c74de221bf98c19d13782a50ef5ca78.webp?v=1782875477"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635718422627,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140531449955,"product_id":7868547465315,"position":2,"created_at":"2026-07-01T11:11:03+08:00","updated_at":"2026-07-01T11:11:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecef8b22dc4a0b28f1ace1acb0b85c679a259f8b.webp?v=1782875465","variant_ids":[43635718422627]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST013534H-JO04","featured_media":{"alt":null,"id":27645422567523,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecef8b22dc4a0b28f1ace1acb0b85c679a259f8b.webp?v=1782875465"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635718455395,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140532891747,"product_id":7868547465315,"position":4,"created_at":"2026-07-01T11:11:08+08:00","updated_at":"2026-07-01T11:11:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b456f3ad665412ff8e241aaf88646bed34d8d1cd.webp?v=1782875470","variant_ids":[43635718455395]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST013530B-JO04","featured_media":{"alt":null,"id":27645424009315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b456f3ad665412ff8e241aaf88646bed34d8d1cd.webp?v=1782875470"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635718488163,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140533907555,"product_id":7868547465315,"position":5,"created_at":"2026-07-01T11:11:08+08:00","updated_at":"2026-07-01T11:11:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd555970dcd3a9ed73693f091cd378265a1a8ded.webp?v=1782875471","variant_ids":[43635718488163]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST013534I-JO04","featured_media":{"alt":null,"id":27645424992355,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd555970dcd3a9ed73693f091cd378265a1a8ded.webp?v=1782875471"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635718520931,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140535251043,"product_id":7868547465315,"position":8,"created_at":"2026-07-01T11:11:12+08:00","updated_at":"2026-07-01T11:11:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4d7a6e865125da1682832ed63495b7ff903fac1.webp?v=1782875474","variant_ids":[43635718520931]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST0135353-JO04","featured_media":{"alt":null,"id":27645426368611,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4d7a6e865125da1682832ed63495b7ff903fac1.webp?v=1782875474"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635718553699,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140535709795,"product_id":7868547465315,"position":9,"created_at":"2026-07-01T11:11:12+08:00","updated_at":"2026-07-01T11:11:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf1545fa04639698534475d48664b2eca52e9f66.webp?v=1782875475","variant_ids":[43635718553699]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST01353O8-JO04","featured_media":{"alt":null,"id":27645426958435,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf1545fa04639698534475d48664b2eca52e9f66.webp?v=1782875475"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799147184227,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140532236387,"product_id":7868547465315,"position":3,"created_at":"2026-07-01T11:11:04+08:00","updated_at":"2026-07-01T11:11:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e6abc7494ac677ffd621d47a0ff0a577c66746.webp?v=1782875466","variant_ids":[43799147184227]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST013530F-JO04","featured_media":{"alt":null,"id":27645423288419,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e6abc7494ac677ffd621d47a0ff0a577c66746.webp?v=1782875466"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799147216995,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140537086051,"product_id":7868547465315,"position":13,"created_at":"2026-07-01T11:11:15+08:00","updated_at":"2026-07-01T11:11:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aeb962fd62ce2a380666bc94ec9ce7cfda9e353.webp?v=1782875477","variant_ids":[43799147216995]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST013533O-JO04","featured_media":{"alt":null,"id":27645428170851,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aeb962fd62ce2a380666bc94ec9ce7cfda9e353.webp?v=1782875477"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200723841123,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140537380963,"product_id":7868547465315,"position":14,"created_at":"2026-07-01T11:11:16+08:00","updated_at":"2026-07-01T11:11:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbac54532a3cd6330b76f5c6ce3b85926793cd13.webp?v=1782875478","variant_ids":[44200723841123]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST013536A-JO04","featured_media":{"alt":null,"id":27645428498531,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbac54532a3cd6330b76f5c6ce3b85926793cd13.webp?v=1782875478"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200724299875,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140534726755,"product_id":7868547465315,"position":7,"created_at":"2026-07-01T11:11:11+08:00","updated_at":"2026-07-01T11:11:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2a8241905656e3e4386e1acf49e9177ec695d21.webp?v=1782875473","variant_ids":[44200724299875]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST013535X-JO04","featured_media":{"alt":null,"id":27645426040931,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2a8241905656e3e4386e1acf49e9177ec695d21.webp?v=1782875473"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200724758627,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140534628451,"product_id":7868547465315,"position":6,"created_at":"2026-07-01T11:11:10+08:00","updated_at":"2026-07-01T11:11:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfa469dfb19042403c5e346e61e973908910d4c2.webp?v=1782875472","variant_ids":[44200724758627]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST013535Y-JO04","featured_media":{"alt":null,"id":27645425746019,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfa469dfb19042403c5e346e61e973908910d4c2.webp?v=1782875472"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200725446755,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140536627299,"product_id":7868547465315,"position":11,"created_at":"2026-07-01T11:11:14+08:00","updated_at":"2026-07-01T11:11:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6d01be69a767d6504c2927cc8aa35d80f55b9d1.webp?v=1782875476","variant_ids":[44200725446755]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST013535Z-JO04","featured_media":{"alt":null,"id":27645427744867,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6d01be69a767d6504c2927cc8aa35d80f55b9d1.webp?v=1782875476"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263821672547,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140536234083,"product_id":7868547465315,"position":10,"created_at":"2026-07-01T11:11:13+08:00","updated_at":"2026-07-01T11:11:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17a712ee629433843f2fc274ac38c567d3441505.webp?v=1782875475","variant_ids":[44263821672547]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST013535H-JO04","featured_media":{"alt":null,"id":27645427351651,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17a712ee629433843f2fc274ac38c567d3441505.webp?v=1782875475"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43635716227171,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-JO04","requires_shipping":true,"taxable":true,"featured_image":{"id":36140536856675,"product_id":7868547465315,"position":12,"created_at":"2026-07-01T11:11:14+08:00","updated_at":"2026-07-01T11:11:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08b0dce54c74de221bf98c19d13782a50ef5ca78.webp?v=1782875477","variant_ids":[43635716227171]},"available":true,"name":"iPhone 17 Pro Max SolidX KID 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":"NST0135352-JO04","featured_media":{"alt":null,"id":27645427941475,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08b0dce54c74de221bf98c19d13782a50ef5ca78.webp?v=1782875477"}},"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: "停產"
}