$product = {"id":8048508567651,"title":"iPhone 17 Pro Max SolidX 迪士尼公主系列 啟程冒險","handle":"iphone-17-pro-max-solidx-sf64","description":null,"published_at":"2026-06-29T15:16:14+08:00","created_at":"2026-06-29T10:21:24+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":44300498403427,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123165524067,"product_id":8048508567651,"position":7,"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\/6a0d91d35349d385b76d381b5857218a122a031c.webp?v=1782699732","variant_ids":[44300498403427]},"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-SF64","featured_media":{"alt":null,"id":27628410241123,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a0d91d35349d385b76d381b5857218a122a031c.webp?v=1782699732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300503875683,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163164771,"product_id":8048508567651,"position":1,"created_at":"2026-06-29T10:22:06+08:00","updated_at":"2026-06-29T10:22:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856bb11455e16a90a8468c45ec036df056f2e1f2.webp?v=1782699729","variant_ids":[44300503875683]},"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-SF64","featured_media":{"alt":null,"id":27628407881827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856bb11455e16a90a8468c45ec036df056f2e1f2.webp?v=1782699729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300504105059,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123166048355,"product_id":8048508567651,"position":8,"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\/357a8dfd88a7615b011fdc22031707bb2ebd4443.webp?v=1782699733","variant_ids":[44300504105059]},"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-SF64","featured_media":{"alt":null,"id":27628410798179,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/357a8dfd88a7615b011fdc22031707bb2ebd4443.webp?v=1782699733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300504596579,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123165130851,"product_id":8048508567651,"position":6,"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\/e2eeead64e9bbccc9f1386139b75ab135147ccd4.webp?v=1782699731","variant_ids":[44300504596579]},"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-SF64","featured_media":{"alt":null,"id":27628409847907,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2eeead64e9bbccc9f1386139b75ab135147ccd4.webp?v=1782699731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300505383011,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123167850595,"product_id":8048508567651,"position":11,"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\/2ac96c17002c57b4a6f8fb68e644325abf2ed980.webp?v=1782699734","variant_ids":[44300505383011]},"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-SF64","featured_media":{"alt":null,"id":27628412600419,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac96c17002c57b4a6f8fb68e644325abf2ed980.webp?v=1782699734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300505808995,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163820131,"product_id":8048508567651,"position":3,"created_at":"2026-06-29T10:22:07+08:00","updated_at":"2026-06-29T10:22:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c056af6d7cb3fdeb3e4ba7ee2b1143e6f65ef19c.webp?v=1782699730","variant_ids":[44300505808995]},"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-SF64","featured_media":{"alt":null,"id":27628408569955,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c056af6d7cb3fdeb3e4ba7ee2b1143e6f65ef19c.webp?v=1782699730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300506333283,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123164180579,"product_id":8048508567651,"position":4,"created_at":"2026-06-29T10:22:08+08:00","updated_at":"2026-06-29T10:22:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48640fc82c72f8b89f8926c6e08c55c2f1109857.webp?v=1782699730","variant_ids":[44300506333283]},"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-SF64","featured_media":{"alt":null,"id":27628408897635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48640fc82c72f8b89f8926c6e08c55c2f1109857.webp?v=1782699730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300506923107,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123166638179,"product_id":8048508567651,"position":9,"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\/0f59fa682a66431d992a366c45f1445148c29ab8.webp?v=1782699733","variant_ids":[44300506923107]},"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-SF64","featured_media":{"alt":null,"id":27628411388003,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f59fa682a66431d992a366c45f1445148c29ab8.webp?v=1782699733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300507578467,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163459683,"product_id":8048508567651,"position":2,"created_at":"2026-06-29T10:22:07+08:00","updated_at":"2026-06-29T10:22:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07165e3b0c0be001d8d41d2457c81eec6d4bcff9.webp?v=1782699729","variant_ids":[44300507578467]},"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-SF64","featured_media":{"alt":null,"id":27628408209507,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07165e3b0c0be001d8d41d2457c81eec6d4bcff9.webp?v=1782699729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300508201059,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123167162467,"product_id":8048508567651,"position":10,"created_at":"2026-06-29T10:22:11+08:00","updated_at":"2026-06-29T10:22:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5a4025d9132ed4e6635d82a3e61a9eb78161624.webp?v=1782699734","variant_ids":[44300508201059]},"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-SF64","featured_media":{"alt":null,"id":27628411912291,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5a4025d9132ed4e6635d82a3e61a9eb78161624.webp?v=1782699734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300508889187,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123164672099,"product_id":8048508567651,"position":5,"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\/0f58c61838785b62a23bca842ce4e82e6e7d49f0.webp?v=1782699731","variant_ids":[44300508889187]},"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-SF64","featured_media":{"alt":null,"id":27628409454691,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f58c61838785b62a23bca842ce4e82e6e7d49f0.webp?v=1782699731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300509577315,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123168505955,"product_id":8048508567651,"position":12,"created_at":"2026-06-29T10:22:12+08:00","updated_at":"2026-06-29T10:22:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c890ffe5bbabcf2657f97e4210c63f149265e80.webp?v=1782699735","variant_ids":[44300509577315]},"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-SF64","featured_media":{"alt":null,"id":27628413223011,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c890ffe5bbabcf2657f97e4210c63f149265e80.webp?v=1782699735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300510265443,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123169226851,"product_id":8048508567651,"position":13,"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\/1bf354f4b3cf012af68595f3149f5a2043609c44.webp?v=1782699735","variant_ids":[44300510265443]},"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-SF64","featured_media":{"alt":null,"id":27628413943907,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bf354f4b3cf012af68595f3149f5a2043609c44.webp?v=1782699735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856bb11455e16a90a8468c45ec036df056f2e1f2.webp?v=1782699729","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07165e3b0c0be001d8d41d2457c81eec6d4bcff9.webp?v=1782699729","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c056af6d7cb3fdeb3e4ba7ee2b1143e6f65ef19c.webp?v=1782699730","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48640fc82c72f8b89f8926c6e08c55c2f1109857.webp?v=1782699730","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f58c61838785b62a23bca842ce4e82e6e7d49f0.webp?v=1782699731","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2eeead64e9bbccc9f1386139b75ab135147ccd4.webp?v=1782699731","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a0d91d35349d385b76d381b5857218a122a031c.webp?v=1782699732","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/357a8dfd88a7615b011fdc22031707bb2ebd4443.webp?v=1782699733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f59fa682a66431d992a366c45f1445148c29ab8.webp?v=1782699733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5a4025d9132ed4e6635d82a3e61a9eb78161624.webp?v=1782699734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac96c17002c57b4a6f8fb68e644325abf2ed980.webp?v=1782699734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c890ffe5bbabcf2657f97e4210c63f149265e80.webp?v=1782699735","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bf354f4b3cf012af68595f3149f5a2043609c44.webp?v=1782699735"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856bb11455e16a90a8468c45ec036df056f2e1f2.webp?v=1782699729","options":["color"],"media":[{"alt":null,"id":27628407881827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856bb11455e16a90a8468c45ec036df056f2e1f2.webp?v=1782699729"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856bb11455e16a90a8468c45ec036df056f2e1f2.webp?v=1782699729","width":2000},{"alt":null,"id":27628408209507,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07165e3b0c0be001d8d41d2457c81eec6d4bcff9.webp?v=1782699729"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07165e3b0c0be001d8d41d2457c81eec6d4bcff9.webp?v=1782699729","width":2000},{"alt":null,"id":27628408569955,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c056af6d7cb3fdeb3e4ba7ee2b1143e6f65ef19c.webp?v=1782699730"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c056af6d7cb3fdeb3e4ba7ee2b1143e6f65ef19c.webp?v=1782699730","width":2000},{"alt":null,"id":27628408897635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48640fc82c72f8b89f8926c6e08c55c2f1109857.webp?v=1782699730"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48640fc82c72f8b89f8926c6e08c55c2f1109857.webp?v=1782699730","width":2000},{"alt":null,"id":27628409454691,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f58c61838785b62a23bca842ce4e82e6e7d49f0.webp?v=1782699731"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f58c61838785b62a23bca842ce4e82e6e7d49f0.webp?v=1782699731","width":2000},{"alt":null,"id":27628409847907,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2eeead64e9bbccc9f1386139b75ab135147ccd4.webp?v=1782699731"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2eeead64e9bbccc9f1386139b75ab135147ccd4.webp?v=1782699731","width":2000},{"alt":null,"id":27628410241123,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a0d91d35349d385b76d381b5857218a122a031c.webp?v=1782699732"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a0d91d35349d385b76d381b5857218a122a031c.webp?v=1782699732","width":2000},{"alt":null,"id":27628410798179,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/357a8dfd88a7615b011fdc22031707bb2ebd4443.webp?v=1782699733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/357a8dfd88a7615b011fdc22031707bb2ebd4443.webp?v=1782699733","width":2000},{"alt":null,"id":27628411388003,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f59fa682a66431d992a366c45f1445148c29ab8.webp?v=1782699733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f59fa682a66431d992a366c45f1445148c29ab8.webp?v=1782699733","width":2000},{"alt":null,"id":27628411912291,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5a4025d9132ed4e6635d82a3e61a9eb78161624.webp?v=1782699734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5a4025d9132ed4e6635d82a3e61a9eb78161624.webp?v=1782699734","width":2000},{"alt":null,"id":27628412600419,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac96c17002c57b4a6f8fb68e644325abf2ed980.webp?v=1782699734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac96c17002c57b4a6f8fb68e644325abf2ed980.webp?v=1782699734","width":2000},{"alt":null,"id":27628413223011,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c890ffe5bbabcf2657f97e4210c63f149265e80.webp?v=1782699735"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c890ffe5bbabcf2657f97e4210c63f149265e80.webp?v=1782699735","width":2000},{"alt":null,"id":27628413943907,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bf354f4b3cf012af68595f3149f5a2043609c44.webp?v=1782699735"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bf354f4b3cf012af68595f3149f5a2043609c44.webp?v=1782699735","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44300498403427,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123165524067,"product_id":8048508567651,"position":7,"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\/6a0d91d35349d385b76d381b5857218a122a031c.webp?v=1782699732","variant_ids":[44300498403427]},"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-SF64","featured_media":{"alt":null,"id":27628410241123,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a0d91d35349d385b76d381b5857218a122a031c.webp?v=1782699732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300503875683,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163164771,"product_id":8048508567651,"position":1,"created_at":"2026-06-29T10:22:06+08:00","updated_at":"2026-06-29T10:22:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856bb11455e16a90a8468c45ec036df056f2e1f2.webp?v=1782699729","variant_ids":[44300503875683]},"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-SF64","featured_media":{"alt":null,"id":27628407881827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856bb11455e16a90a8468c45ec036df056f2e1f2.webp?v=1782699729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300504105059,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123166048355,"product_id":8048508567651,"position":8,"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\/357a8dfd88a7615b011fdc22031707bb2ebd4443.webp?v=1782699733","variant_ids":[44300504105059]},"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-SF64","featured_media":{"alt":null,"id":27628410798179,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/357a8dfd88a7615b011fdc22031707bb2ebd4443.webp?v=1782699733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300504596579,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123165130851,"product_id":8048508567651,"position":6,"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\/e2eeead64e9bbccc9f1386139b75ab135147ccd4.webp?v=1782699731","variant_ids":[44300504596579]},"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-SF64","featured_media":{"alt":null,"id":27628409847907,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2eeead64e9bbccc9f1386139b75ab135147ccd4.webp?v=1782699731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300505383011,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123167850595,"product_id":8048508567651,"position":11,"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\/2ac96c17002c57b4a6f8fb68e644325abf2ed980.webp?v=1782699734","variant_ids":[44300505383011]},"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-SF64","featured_media":{"alt":null,"id":27628412600419,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac96c17002c57b4a6f8fb68e644325abf2ed980.webp?v=1782699734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300505808995,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163820131,"product_id":8048508567651,"position":3,"created_at":"2026-06-29T10:22:07+08:00","updated_at":"2026-06-29T10:22:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c056af6d7cb3fdeb3e4ba7ee2b1143e6f65ef19c.webp?v=1782699730","variant_ids":[44300505808995]},"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-SF64","featured_media":{"alt":null,"id":27628408569955,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c056af6d7cb3fdeb3e4ba7ee2b1143e6f65ef19c.webp?v=1782699730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300506333283,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123164180579,"product_id":8048508567651,"position":4,"created_at":"2026-06-29T10:22:08+08:00","updated_at":"2026-06-29T10:22:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48640fc82c72f8b89f8926c6e08c55c2f1109857.webp?v=1782699730","variant_ids":[44300506333283]},"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-SF64","featured_media":{"alt":null,"id":27628408897635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48640fc82c72f8b89f8926c6e08c55c2f1109857.webp?v=1782699730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300506923107,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123166638179,"product_id":8048508567651,"position":9,"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\/0f59fa682a66431d992a366c45f1445148c29ab8.webp?v=1782699733","variant_ids":[44300506923107]},"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-SF64","featured_media":{"alt":null,"id":27628411388003,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f59fa682a66431d992a366c45f1445148c29ab8.webp?v=1782699733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300507578467,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163459683,"product_id":8048508567651,"position":2,"created_at":"2026-06-29T10:22:07+08:00","updated_at":"2026-06-29T10:22:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07165e3b0c0be001d8d41d2457c81eec6d4bcff9.webp?v=1782699729","variant_ids":[44300507578467]},"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-SF64","featured_media":{"alt":null,"id":27628408209507,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07165e3b0c0be001d8d41d2457c81eec6d4bcff9.webp?v=1782699729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300508201059,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123167162467,"product_id":8048508567651,"position":10,"created_at":"2026-06-29T10:22:11+08:00","updated_at":"2026-06-29T10:22:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5a4025d9132ed4e6635d82a3e61a9eb78161624.webp?v=1782699734","variant_ids":[44300508201059]},"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-SF64","featured_media":{"alt":null,"id":27628411912291,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5a4025d9132ed4e6635d82a3e61a9eb78161624.webp?v=1782699734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300508889187,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123164672099,"product_id":8048508567651,"position":5,"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\/0f58c61838785b62a23bca842ce4e82e6e7d49f0.webp?v=1782699731","variant_ids":[44300508889187]},"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-SF64","featured_media":{"alt":null,"id":27628409454691,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f58c61838785b62a23bca842ce4e82e6e7d49f0.webp?v=1782699731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300509577315,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123168505955,"product_id":8048508567651,"position":12,"created_at":"2026-06-29T10:22:12+08:00","updated_at":"2026-06-29T10:22:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c890ffe5bbabcf2657f97e4210c63f149265e80.webp?v=1782699735","variant_ids":[44300509577315]},"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-SF64","featured_media":{"alt":null,"id":27628413223011,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c890ffe5bbabcf2657f97e4210c63f149265e80.webp?v=1782699735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300510265443,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123169226851,"product_id":8048508567651,"position":13,"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\/1bf354f4b3cf012af68595f3149f5a2043609c44.webp?v=1782699735","variant_ids":[44300510265443]},"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-SF64","featured_media":{"alt":null,"id":27628413943907,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bf354f4b3cf012af68595f3149f5a2043609c44.webp?v=1782699735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44300498403427,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-SF64","requires_shipping":true,"taxable":true,"featured_image":{"id":36123165524067,"product_id":8048508567651,"position":7,"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\/6a0d91d35349d385b76d381b5857218a122a031c.webp?v=1782699732","variant_ids":[44300498403427]},"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-SF64","featured_media":{"alt":null,"id":27628410241123,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a0d91d35349d385b76d381b5857218a122a031c.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: "停產"
}