$product = {"id":7868462432355,"title":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂","handle":"iphone-17-pro-max-solidx-ea66","description":null,"published_at":"2025-09-10T01:13:41+08:00","created_at":"2025-08-26T16:47:46+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-songsongmeow","device-iPhone 17 Pro Max","merge","reseller-songsongmeow"],"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":43635214385251,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213087895651,"product_id":7868462432355,"position":13,"created_at":"2026-07-08T17:57:57+08:00","updated_at":"2026-07-08T17:57:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bf81543d48c059e9900d1b732a93b63c96f3230.webp?v=1783504679","variant_ids":[43635214385251]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717881102435,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bf81543d48c059e9900d1b732a93b63c96f3230.webp?v=1783504679"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635216515171,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213088256099,"product_id":7868462432355,"position":14,"created_at":"2026-07-08T17:57:57+08:00","updated_at":"2026-07-08T17:57:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e4f3ac7cd1825df370bec4f61f1820e1e49e10b.webp?v=1783504679","variant_ids":[43635216515171]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717881462883,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e4f3ac7cd1825df370bec4f61f1820e1e49e10b.webp?v=1783504679"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635216547939,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213087600739,"product_id":7868462432355,"position":12,"created_at":"2026-07-08T17:57:56+08:00","updated_at":"2026-07-08T17:57:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db8d1666e9189adaad1edb16faefdedde6fa6e2e.webp?v=1783504678","variant_ids":[43635216547939]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717880807523,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db8d1666e9189adaad1edb16faefdedde6fa6e2e.webp?v=1783504678"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635216580707,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213088911459,"product_id":7868462432355,"position":16,"created_at":"2026-07-08T17:57:58+08:00","updated_at":"2026-07-08T17:58:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d02cd56c982e9a7c237029c5f6368551525bb08.webp?v=1783504680","variant_ids":[43635216580707]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717882118243,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d02cd56c982e9a7c237029c5f6368551525bb08.webp?v=1783504680"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635216613475,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213085831267,"product_id":7868462432355,"position":7,"created_at":"2026-07-08T17:57:53+08:00","updated_at":"2026-07-08T17:57:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5aebd84f9047ba2fd52efa6998043993a54d35b.webp?v=1783504675","variant_ids":[43635216613475]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717879300195,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5aebd84f9047ba2fd52efa6998043993a54d35b.webp?v=1783504675"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635216646243,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213086322787,"product_id":7868462432355,"position":8,"created_at":"2026-07-08T17:57:54+08:00","updated_at":"2026-07-08T17:57:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feee54fd5bb7384e30279f362b345cc431406f33.webp?v=1783504676","variant_ids":[43635216646243]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717879529571,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feee54fd5bb7384e30279f362b345cc431406f33.webp?v=1783504676"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799161602147,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213087273059,"product_id":7868462432355,"position":11,"created_at":"2026-07-08T17:57:56+08:00","updated_at":"2026-07-08T17:57:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ebe46ec0b290438ce555e3e8dde92d18420a230.webp?v=1783504677","variant_ids":[43799161602147]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717880479843,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ebe46ec0b290438ce555e3e8dde92d18420a230.webp?v=1783504677"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799161634915,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213085405283,"product_id":7868462432355,"position":5,"created_at":"2026-07-08T17:57:52+08:00","updated_at":"2026-07-08T17:57:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95ea0232b6b5eb67c2e402b88f1dcac26bf5adb2.webp?v=1783504674","variant_ids":[43799161634915]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717878874211,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95ea0232b6b5eb67c2e402b88f1dcac26bf5adb2.webp?v=1783504674"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199486455907,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213087010915,"product_id":7868462432355,"position":10,"created_at":"2026-07-08T17:57:55+08:00","updated_at":"2026-07-08T17:57:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0e54ca0b803ad8bdfa176c6ae85fe215a79be66.webp?v=1783504677","variant_ids":[44199486455907]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717880217699,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0e54ca0b803ad8bdfa176c6ae85fe215a79be66.webp?v=1783504677"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199487242339,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213085241443,"product_id":7868462432355,"position":4,"created_at":"2026-07-08T17:57:52+08:00","updated_at":"2026-07-08T17:57:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbd4701c533997ed4c5aecafc3db1049b3bc9478.webp?v=1783504674","variant_ids":[44199487242339]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717878710371,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbd4701c533997ed4c5aecafc3db1049b3bc9478.webp?v=1783504674"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199488159843,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213088583779,"product_id":7868462432355,"position":15,"created_at":"2026-07-08T17:57:58+08:00","updated_at":"2026-07-08T17:58:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fb9c6eb2462c193c2b0ae23a13b65e73412f910.webp?v=1783504680","variant_ids":[44199488159843]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717881790563,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fb9c6eb2462c193c2b0ae23a13b65e73412f910.webp?v=1783504680"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263794540643,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213086650467,"product_id":7868462432355,"position":9,"created_at":"2026-07-08T17:57:54+08:00","updated_at":"2026-07-08T17:57:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4abfe9cf5f079f549867f3151d823484198ce1.webp?v=1783504676","variant_ids":[44263794540643]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717879857251,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4abfe9cf5f079f549867f3151d823484198ce1.webp?v=1783504676"}},"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-EA66_ef0e63da-9d95-4684-ba11-6804116ff68a.png?v=1756198069","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-EA66_7be3dba4-6b85-4c07-aac6-b0d510c8732c.png?v=1779423820","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-EA66_42495c94-88f4-4412-8889-daeea5ef6eee.png?v=1781666198","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbd4701c533997ed4c5aecafc3db1049b3bc9478.webp?v=1783504674","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95ea0232b6b5eb67c2e402b88f1dcac26bf5adb2.webp?v=1783504674","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e28983161d5abf5625d737fd14da13a97637c38.webp?v=1783504675","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5aebd84f9047ba2fd52efa6998043993a54d35b.webp?v=1783504675","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feee54fd5bb7384e30279f362b345cc431406f33.webp?v=1783504676","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4abfe9cf5f079f549867f3151d823484198ce1.webp?v=1783504676","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0e54ca0b803ad8bdfa176c6ae85fe215a79be66.webp?v=1783504677","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ebe46ec0b290438ce555e3e8dde92d18420a230.webp?v=1783504677","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db8d1666e9189adaad1edb16faefdedde6fa6e2e.webp?v=1783504678","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bf81543d48c059e9900d1b732a93b63c96f3230.webp?v=1783504679","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e4f3ac7cd1825df370bec4f61f1820e1e49e10b.webp?v=1783504679","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fb9c6eb2462c193c2b0ae23a13b65e73412f910.webp?v=1783504680","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d02cd56c982e9a7c237029c5f6368551525bb08.webp?v=1783504680"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-EA66_ef0e63da-9d95-4684-ba11-6804116ff68a.png?v=1756198069","options":["color"],"media":[{"alt":null,"id":25961315795043,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-EA66_ef0e63da-9d95-4684-ba11-6804116ff68a.png?v=1756198069"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-EA66_ef0e63da-9d95-4684-ba11-6804116ff68a.png?v=1756198069","width":2000},{"alt":null,"id":27381864202339,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-EA66_7be3dba4-6b85-4c07-aac6-b0d510c8732c.png?v=1779423820"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-EA66_7be3dba4-6b85-4c07-aac6-b0d510c8732c.png?v=1779423820","width":2000},{"alt":null,"id":27528941240419,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-EA66_42495c94-88f4-4412-8889-daeea5ef6eee.png?v=1781666198"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-EA66_42495c94-88f4-4412-8889-daeea5ef6eee.png?v=1781666198","width":2000},{"alt":null,"id":27717878710371,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbd4701c533997ed4c5aecafc3db1049b3bc9478.webp?v=1783504674"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbd4701c533997ed4c5aecafc3db1049b3bc9478.webp?v=1783504674","width":2000},{"alt":null,"id":27717878874211,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95ea0232b6b5eb67c2e402b88f1dcac26bf5adb2.webp?v=1783504674"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95ea0232b6b5eb67c2e402b88f1dcac26bf5adb2.webp?v=1783504674","width":2000},{"alt":null,"id":27717879103587,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e28983161d5abf5625d737fd14da13a97637c38.webp?v=1783504675"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e28983161d5abf5625d737fd14da13a97637c38.webp?v=1783504675","width":2000},{"alt":null,"id":27717879300195,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5aebd84f9047ba2fd52efa6998043993a54d35b.webp?v=1783504675"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5aebd84f9047ba2fd52efa6998043993a54d35b.webp?v=1783504675","width":2000},{"alt":null,"id":27717879529571,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feee54fd5bb7384e30279f362b345cc431406f33.webp?v=1783504676"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feee54fd5bb7384e30279f362b345cc431406f33.webp?v=1783504676","width":2000},{"alt":null,"id":27717879857251,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4abfe9cf5f079f549867f3151d823484198ce1.webp?v=1783504676"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4abfe9cf5f079f549867f3151d823484198ce1.webp?v=1783504676","width":2000},{"alt":null,"id":27717880217699,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0e54ca0b803ad8bdfa176c6ae85fe215a79be66.webp?v=1783504677"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0e54ca0b803ad8bdfa176c6ae85fe215a79be66.webp?v=1783504677","width":2000},{"alt":null,"id":27717880479843,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ebe46ec0b290438ce555e3e8dde92d18420a230.webp?v=1783504677"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ebe46ec0b290438ce555e3e8dde92d18420a230.webp?v=1783504677","width":2000},{"alt":null,"id":27717880807523,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db8d1666e9189adaad1edb16faefdedde6fa6e2e.webp?v=1783504678"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db8d1666e9189adaad1edb16faefdedde6fa6e2e.webp?v=1783504678","width":2000},{"alt":null,"id":27717881102435,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bf81543d48c059e9900d1b732a93b63c96f3230.webp?v=1783504679"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bf81543d48c059e9900d1b732a93b63c96f3230.webp?v=1783504679","width":2000},{"alt":null,"id":27717881462883,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e4f3ac7cd1825df370bec4f61f1820e1e49e10b.webp?v=1783504679"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e4f3ac7cd1825df370bec4f61f1820e1e49e10b.webp?v=1783504679","width":2000},{"alt":null,"id":27717881790563,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fb9c6eb2462c193c2b0ae23a13b65e73412f910.webp?v=1783504680"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fb9c6eb2462c193c2b0ae23a13b65e73412f910.webp?v=1783504680","width":2000},{"alt":null,"id":27717882118243,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d02cd56c982e9a7c237029c5f6368551525bb08.webp?v=1783504680"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d02cd56c982e9a7c237029c5f6368551525bb08.webp?v=1783504680","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43635214385251,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213087895651,"product_id":7868462432355,"position":13,"created_at":"2026-07-08T17:57:57+08:00","updated_at":"2026-07-08T17:57:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bf81543d48c059e9900d1b732a93b63c96f3230.webp?v=1783504679","variant_ids":[43635214385251]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717881102435,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bf81543d48c059e9900d1b732a93b63c96f3230.webp?v=1783504679"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635216515171,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213088256099,"product_id":7868462432355,"position":14,"created_at":"2026-07-08T17:57:57+08:00","updated_at":"2026-07-08T17:57:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e4f3ac7cd1825df370bec4f61f1820e1e49e10b.webp?v=1783504679","variant_ids":[43635216515171]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717881462883,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e4f3ac7cd1825df370bec4f61f1820e1e49e10b.webp?v=1783504679"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635216547939,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213087600739,"product_id":7868462432355,"position":12,"created_at":"2026-07-08T17:57:56+08:00","updated_at":"2026-07-08T17:57:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db8d1666e9189adaad1edb16faefdedde6fa6e2e.webp?v=1783504678","variant_ids":[43635216547939]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717880807523,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db8d1666e9189adaad1edb16faefdedde6fa6e2e.webp?v=1783504678"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635216580707,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213088911459,"product_id":7868462432355,"position":16,"created_at":"2026-07-08T17:57:58+08:00","updated_at":"2026-07-08T17:58:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d02cd56c982e9a7c237029c5f6368551525bb08.webp?v=1783504680","variant_ids":[43635216580707]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717882118243,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d02cd56c982e9a7c237029c5f6368551525bb08.webp?v=1783504680"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635216613475,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213085831267,"product_id":7868462432355,"position":7,"created_at":"2026-07-08T17:57:53+08:00","updated_at":"2026-07-08T17:57:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5aebd84f9047ba2fd52efa6998043993a54d35b.webp?v=1783504675","variant_ids":[43635216613475]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717879300195,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5aebd84f9047ba2fd52efa6998043993a54d35b.webp?v=1783504675"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635216646243,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213086322787,"product_id":7868462432355,"position":8,"created_at":"2026-07-08T17:57:54+08:00","updated_at":"2026-07-08T17:57:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feee54fd5bb7384e30279f362b345cc431406f33.webp?v=1783504676","variant_ids":[43635216646243]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717879529571,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feee54fd5bb7384e30279f362b345cc431406f33.webp?v=1783504676"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799161602147,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213087273059,"product_id":7868462432355,"position":11,"created_at":"2026-07-08T17:57:56+08:00","updated_at":"2026-07-08T17:57:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ebe46ec0b290438ce555e3e8dde92d18420a230.webp?v=1783504677","variant_ids":[43799161602147]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717880479843,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ebe46ec0b290438ce555e3e8dde92d18420a230.webp?v=1783504677"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799161634915,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213085405283,"product_id":7868462432355,"position":5,"created_at":"2026-07-08T17:57:52+08:00","updated_at":"2026-07-08T17:57:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95ea0232b6b5eb67c2e402b88f1dcac26bf5adb2.webp?v=1783504674","variant_ids":[43799161634915]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717878874211,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95ea0232b6b5eb67c2e402b88f1dcac26bf5adb2.webp?v=1783504674"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199486455907,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213087010915,"product_id":7868462432355,"position":10,"created_at":"2026-07-08T17:57:55+08:00","updated_at":"2026-07-08T17:57:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0e54ca0b803ad8bdfa176c6ae85fe215a79be66.webp?v=1783504677","variant_ids":[44199486455907]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717880217699,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0e54ca0b803ad8bdfa176c6ae85fe215a79be66.webp?v=1783504677"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199487242339,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213085241443,"product_id":7868462432355,"position":4,"created_at":"2026-07-08T17:57:52+08:00","updated_at":"2026-07-08T17:57:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbd4701c533997ed4c5aecafc3db1049b3bc9478.webp?v=1783504674","variant_ids":[44199487242339]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717878710371,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbd4701c533997ed4c5aecafc3db1049b3bc9478.webp?v=1783504674"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199488159843,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213088583779,"product_id":7868462432355,"position":15,"created_at":"2026-07-08T17:57:58+08:00","updated_at":"2026-07-08T17:58:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fb9c6eb2462c193c2b0ae23a13b65e73412f910.webp?v=1783504680","variant_ids":[44199488159843]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717881790563,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fb9c6eb2462c193c2b0ae23a13b65e73412f910.webp?v=1783504680"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263794540643,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213086650467,"product_id":7868462432355,"position":9,"created_at":"2026-07-08T17:57:54+08:00","updated_at":"2026-07-08T17:57:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4abfe9cf5f079f549867f3151d823484198ce1.webp?v=1783504676","variant_ids":[44263794540643]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717879857251,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4abfe9cf5f079f549867f3151d823484198ce1.webp?v=1783504676"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43635214385251,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-EA66","requires_shipping":true,"taxable":true,"featured_image":{"id":36213087895651,"product_id":7868462432355,"position":13,"created_at":"2026-07-08T17:57:57+08:00","updated_at":"2026-07-08T17:57:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bf81543d48c059e9900d1b732a93b63c96f3230.webp?v=1783504679","variant_ids":[43635214385251]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 爽爽貓十周年快樂 - 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-EA66","featured_media":{"alt":null,"id":27717881102435,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bf81543d48c059e9900d1b732a93b63c96f3230.webp?v=1783504679"}},"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: "停產"
}