$product = {"id":8048508731491,"title":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會","handle":"iphone-17-pro-max-solidx-sf66","description":null,"published_at":"2026-06-29T15:16:12+08:00","created_at":"2026-06-29T10:21:25+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-disney-princess","device-iPhone 17 Pro Max","merge","reseller-disney-princess"],"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":44300498829411,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123165720675,"product_id":8048508731491,"position":3,"created_at":"2026-06-29T10:22:10+08:00","updated_at":"2026-06-29T10:22:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/850943c7cf6736891fbce6ece8f43bb34004413c.webp?v=1782699732","variant_ids":[44300498829411]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628410470499,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/850943c7cf6736891fbce6ece8f43bb34004413c.webp?v=1782699732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300506136675,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123165360227,"product_id":8048508731491,"position":2,"created_at":"2026-06-29T10:22:09+08:00","updated_at":"2026-06-29T10:22:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/365f0bfda7f3189a66d38c4bcf3ecc7f1ce3f1ca.webp?v=1782699731","variant_ids":[44300506136675]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628410110051,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/365f0bfda7f3189a66d38c4bcf3ecc7f1ce3f1ca.webp?v=1782699731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300506693731,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123171094627,"product_id":8048508731491,"position":11,"created_at":"2026-06-29T10:22:15+08:00","updated_at":"2026-06-29T10:22:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1afc05e680d6bc5eb1bf4d598199b350af0de3d7.webp?v=1782699737","variant_ids":[44300506693731]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628415844451,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1afc05e680d6bc5eb1bf4d598199b350af0de3d7.webp?v=1782699737"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300507775075,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123173781603,"product_id":8048508731491,"position":13,"created_at":"2026-06-29T10:22:20+08:00","updated_at":"2026-06-29T10:22:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d9e7c50a8014598cbcd9be03aaa15862ff398c3.webp?v=1782699742","variant_ids":[44300507775075]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628418531427,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d9e7c50a8014598cbcd9be03aaa15862ff398c3.webp?v=1782699742"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300508233827,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123168374883,"product_id":8048508731491,"position":7,"created_at":"2026-06-29T10:22:12+08:00","updated_at":"2026-06-29T10:22:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a55e8ac5791cc392e822e9e054d3cd384d77c14.webp?v=1782699734","variant_ids":[44300508233827]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628413124707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a55e8ac5791cc392e822e9e054d3cd384d77c14.webp?v=1782699734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300509053027,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123169914979,"product_id":8048508731491,"position":9,"created_at":"2026-06-29T10:22:14+08:00","updated_at":"2026-06-29T10:22:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/108efa0b8603fac2666a741002304138134ab30b.webp?v=1782699736","variant_ids":[44300509053027]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628414664803,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/108efa0b8603fac2666a741002304138134ab30b.webp?v=1782699736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300509806691,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123171749987,"product_id":8048508731491,"position":12,"created_at":"2026-06-29T10:22:16+08:00","updated_at":"2026-06-29T10:22:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49c91da695d9269ac764836ac874e17de1bd1ef2.webp?v=1782699738","variant_ids":[44300509806691]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628416532579,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49c91da695d9269ac764836ac874e17de1bd1ef2.webp?v=1782699738"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300510429283,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123170537571,"product_id":8048508731491,"position":10,"created_at":"2026-06-29T10:22:14+08:00","updated_at":"2026-06-29T10:22:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bbef5ce21159f511340e55031d8de2c6cc6149c.webp?v=1782699736","variant_ids":[44300510429283]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628415254627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bbef5ce21159f511340e55031d8de2c6cc6149c.webp?v=1782699736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300511117411,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123164803171,"product_id":8048508731491,"position":1,"created_at":"2026-06-29T10:22:09+08:00","updated_at":"2026-06-29T10:22:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89d7ca02aedad1dcb216c7728d51e6762a679b24.webp?v=1782699731","variant_ids":[44300511117411]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628409552995,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89d7ca02aedad1dcb216c7728d51e6762a679b24.webp?v=1782699731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300511903843,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123166376035,"product_id":8048508731491,"position":4,"created_at":"2026-06-29T10:22:10+08:00","updated_at":"2026-06-29T10:22:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a696389200a4b7a04b3c2ee2c59da1291e66a8c1.webp?v=1782699733","variant_ids":[44300511903843]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628411125859,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a696389200a4b7a04b3c2ee2c59da1291e66a8c1.webp?v=1782699733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300512559203,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123169030243,"product_id":8048508731491,"position":8,"created_at":"2026-06-29T10:22:13+08:00","updated_at":"2026-06-29T10:22:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69c13e8f490531e2eb17285fbba185a2301a698b.webp?v=1782699735","variant_ids":[44300512559203]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628413976675,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69c13e8f490531e2eb17285fbba185a2301a698b.webp?v=1782699735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300513706083,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123166998627,"product_id":8048508731491,"position":5,"created_at":"2026-06-29T10:22:11+08:00","updated_at":"2026-06-29T10:22:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acbc7cf015b8f98b868db62e6535d2892258f0ca.webp?v=1782699733","variant_ids":[44300513706083]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628411748451,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acbc7cf015b8f98b868db62e6535d2892258f0ca.webp?v=1782699733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300514525283,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123167621219,"product_id":8048508731491,"position":6,"created_at":"2026-06-29T10:22:12+08:00","updated_at":"2026-06-29T10:22:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b35e1680d0689d3da97142464c75d06c820446b.webp?v=1782699734","variant_ids":[44300514525283]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628412371043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b35e1680d0689d3da97142464c75d06c820446b.webp?v=1782699734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89d7ca02aedad1dcb216c7728d51e6762a679b24.webp?v=1782699731","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/365f0bfda7f3189a66d38c4bcf3ecc7f1ce3f1ca.webp?v=1782699731","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/850943c7cf6736891fbce6ece8f43bb34004413c.webp?v=1782699732","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a696389200a4b7a04b3c2ee2c59da1291e66a8c1.webp?v=1782699733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acbc7cf015b8f98b868db62e6535d2892258f0ca.webp?v=1782699733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b35e1680d0689d3da97142464c75d06c820446b.webp?v=1782699734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a55e8ac5791cc392e822e9e054d3cd384d77c14.webp?v=1782699734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69c13e8f490531e2eb17285fbba185a2301a698b.webp?v=1782699735","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/108efa0b8603fac2666a741002304138134ab30b.webp?v=1782699736","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bbef5ce21159f511340e55031d8de2c6cc6149c.webp?v=1782699736","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1afc05e680d6bc5eb1bf4d598199b350af0de3d7.webp?v=1782699737","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49c91da695d9269ac764836ac874e17de1bd1ef2.webp?v=1782699738","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d9e7c50a8014598cbcd9be03aaa15862ff398c3.webp?v=1782699742"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89d7ca02aedad1dcb216c7728d51e6762a679b24.webp?v=1782699731","options":["color"],"media":[{"alt":null,"id":27628409552995,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89d7ca02aedad1dcb216c7728d51e6762a679b24.webp?v=1782699731"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89d7ca02aedad1dcb216c7728d51e6762a679b24.webp?v=1782699731","width":2000},{"alt":null,"id":27628410110051,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/365f0bfda7f3189a66d38c4bcf3ecc7f1ce3f1ca.webp?v=1782699731"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/365f0bfda7f3189a66d38c4bcf3ecc7f1ce3f1ca.webp?v=1782699731","width":2000},{"alt":null,"id":27628410470499,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/850943c7cf6736891fbce6ece8f43bb34004413c.webp?v=1782699732"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/850943c7cf6736891fbce6ece8f43bb34004413c.webp?v=1782699732","width":2000},{"alt":null,"id":27628411125859,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a696389200a4b7a04b3c2ee2c59da1291e66a8c1.webp?v=1782699733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a696389200a4b7a04b3c2ee2c59da1291e66a8c1.webp?v=1782699733","width":2000},{"alt":null,"id":27628411748451,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acbc7cf015b8f98b868db62e6535d2892258f0ca.webp?v=1782699733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acbc7cf015b8f98b868db62e6535d2892258f0ca.webp?v=1782699733","width":2000},{"alt":null,"id":27628412371043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b35e1680d0689d3da97142464c75d06c820446b.webp?v=1782699734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b35e1680d0689d3da97142464c75d06c820446b.webp?v=1782699734","width":2000},{"alt":null,"id":27628413124707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a55e8ac5791cc392e822e9e054d3cd384d77c14.webp?v=1782699734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a55e8ac5791cc392e822e9e054d3cd384d77c14.webp?v=1782699734","width":2000},{"alt":null,"id":27628413976675,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69c13e8f490531e2eb17285fbba185a2301a698b.webp?v=1782699735"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69c13e8f490531e2eb17285fbba185a2301a698b.webp?v=1782699735","width":2000},{"alt":null,"id":27628414664803,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/108efa0b8603fac2666a741002304138134ab30b.webp?v=1782699736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/108efa0b8603fac2666a741002304138134ab30b.webp?v=1782699736","width":2000},{"alt":null,"id":27628415254627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bbef5ce21159f511340e55031d8de2c6cc6149c.webp?v=1782699736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bbef5ce21159f511340e55031d8de2c6cc6149c.webp?v=1782699736","width":2000},{"alt":null,"id":27628415844451,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1afc05e680d6bc5eb1bf4d598199b350af0de3d7.webp?v=1782699737"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1afc05e680d6bc5eb1bf4d598199b350af0de3d7.webp?v=1782699737","width":2000},{"alt":null,"id":27628416532579,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49c91da695d9269ac764836ac874e17de1bd1ef2.webp?v=1782699738"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49c91da695d9269ac764836ac874e17de1bd1ef2.webp?v=1782699738","width":2000},{"alt":null,"id":27628418531427,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d9e7c50a8014598cbcd9be03aaa15862ff398c3.webp?v=1782699742"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d9e7c50a8014598cbcd9be03aaa15862ff398c3.webp?v=1782699742","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44300498829411,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123165720675,"product_id":8048508731491,"position":3,"created_at":"2026-06-29T10:22:10+08:00","updated_at":"2026-06-29T10:22:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/850943c7cf6736891fbce6ece8f43bb34004413c.webp?v=1782699732","variant_ids":[44300498829411]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628410470499,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/850943c7cf6736891fbce6ece8f43bb34004413c.webp?v=1782699732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300506136675,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123165360227,"product_id":8048508731491,"position":2,"created_at":"2026-06-29T10:22:09+08:00","updated_at":"2026-06-29T10:22:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/365f0bfda7f3189a66d38c4bcf3ecc7f1ce3f1ca.webp?v=1782699731","variant_ids":[44300506136675]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628410110051,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/365f0bfda7f3189a66d38c4bcf3ecc7f1ce3f1ca.webp?v=1782699731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300506693731,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123171094627,"product_id":8048508731491,"position":11,"created_at":"2026-06-29T10:22:15+08:00","updated_at":"2026-06-29T10:22:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1afc05e680d6bc5eb1bf4d598199b350af0de3d7.webp?v=1782699737","variant_ids":[44300506693731]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628415844451,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1afc05e680d6bc5eb1bf4d598199b350af0de3d7.webp?v=1782699737"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300507775075,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123173781603,"product_id":8048508731491,"position":13,"created_at":"2026-06-29T10:22:20+08:00","updated_at":"2026-06-29T10:22:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d9e7c50a8014598cbcd9be03aaa15862ff398c3.webp?v=1782699742","variant_ids":[44300507775075]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628418531427,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d9e7c50a8014598cbcd9be03aaa15862ff398c3.webp?v=1782699742"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300508233827,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123168374883,"product_id":8048508731491,"position":7,"created_at":"2026-06-29T10:22:12+08:00","updated_at":"2026-06-29T10:22:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a55e8ac5791cc392e822e9e054d3cd384d77c14.webp?v=1782699734","variant_ids":[44300508233827]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628413124707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a55e8ac5791cc392e822e9e054d3cd384d77c14.webp?v=1782699734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300509053027,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123169914979,"product_id":8048508731491,"position":9,"created_at":"2026-06-29T10:22:14+08:00","updated_at":"2026-06-29T10:22:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/108efa0b8603fac2666a741002304138134ab30b.webp?v=1782699736","variant_ids":[44300509053027]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628414664803,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/108efa0b8603fac2666a741002304138134ab30b.webp?v=1782699736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300509806691,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123171749987,"product_id":8048508731491,"position":12,"created_at":"2026-06-29T10:22:16+08:00","updated_at":"2026-06-29T10:22:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49c91da695d9269ac764836ac874e17de1bd1ef2.webp?v=1782699738","variant_ids":[44300509806691]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628416532579,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49c91da695d9269ac764836ac874e17de1bd1ef2.webp?v=1782699738"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300510429283,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123170537571,"product_id":8048508731491,"position":10,"created_at":"2026-06-29T10:22:14+08:00","updated_at":"2026-06-29T10:22:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bbef5ce21159f511340e55031d8de2c6cc6149c.webp?v=1782699736","variant_ids":[44300510429283]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628415254627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bbef5ce21159f511340e55031d8de2c6cc6149c.webp?v=1782699736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300511117411,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123164803171,"product_id":8048508731491,"position":1,"created_at":"2026-06-29T10:22:09+08:00","updated_at":"2026-06-29T10:22:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89d7ca02aedad1dcb216c7728d51e6762a679b24.webp?v=1782699731","variant_ids":[44300511117411]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628409552995,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89d7ca02aedad1dcb216c7728d51e6762a679b24.webp?v=1782699731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300511903843,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123166376035,"product_id":8048508731491,"position":4,"created_at":"2026-06-29T10:22:10+08:00","updated_at":"2026-06-29T10:22:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a696389200a4b7a04b3c2ee2c59da1291e66a8c1.webp?v=1782699733","variant_ids":[44300511903843]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628411125859,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a696389200a4b7a04b3c2ee2c59da1291e66a8c1.webp?v=1782699733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300512559203,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123169030243,"product_id":8048508731491,"position":8,"created_at":"2026-06-29T10:22:13+08:00","updated_at":"2026-06-29T10:22:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69c13e8f490531e2eb17285fbba185a2301a698b.webp?v=1782699735","variant_ids":[44300512559203]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628413976675,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69c13e8f490531e2eb17285fbba185a2301a698b.webp?v=1782699735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300513706083,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123166998627,"product_id":8048508731491,"position":5,"created_at":"2026-06-29T10:22:11+08:00","updated_at":"2026-06-29T10:22:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acbc7cf015b8f98b868db62e6535d2892258f0ca.webp?v=1782699733","variant_ids":[44300513706083]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628411748451,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acbc7cf015b8f98b868db62e6535d2892258f0ca.webp?v=1782699733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300514525283,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123167621219,"product_id":8048508731491,"position":6,"created_at":"2026-06-29T10:22:12+08:00","updated_at":"2026-06-29T10:22:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b35e1680d0689d3da97142464c75d06c820446b.webp?v=1782699734","variant_ids":[44300514525283]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628412371043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b35e1680d0689d3da97142464c75d06c820446b.webp?v=1782699734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44300498829411,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123165720675,"product_id":8048508731491,"position":3,"created_at":"2026-06-29T10:22:10+08:00","updated_at":"2026-06-29T10:22:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/850943c7cf6736891fbce6ece8f43bb34004413c.webp?v=1782699732","variant_ids":[44300498829411]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 公主聚會 - 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-SF66","featured_media":{"alt":null,"id":27628410470499,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/850943c7cf6736891fbce6ece8f43bb34004413c.webp?v=1782699732"}},"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: "停產"
}