$product = {"id":8041180627043,"title":"iPhone 17 Pro Max SolidX 懶散兔與啾先生 霓虹燈","handle":"iphone-17-pro-max-solidx-ec60","description":null,"published_at":"2026-07-14T09:37:05+08:00","created_at":"2026-06-23T10:50:15+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-bylobster","device-iPhone 17 Pro Max","merge","reseller-bylobster"],"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":44280010211427,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056186552419,"product_id":8041180627043,"position":12,"created_at":"2026-06-23T10:51:06+08:00","updated_at":"2026-06-23T10:51:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9138c5dd603bf09dede10ac3bc88113106536fb0.webp?v=1782183068","variant_ids":[44280010211427]},"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-EC60","featured_media":{"alt":null,"id":27569036689507,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9138c5dd603bf09dede10ac3bc88113106536fb0.webp?v=1782183068"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280013422691,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056185536611,"product_id":8041180627043,"position":7,"created_at":"2026-06-23T10:51:03+08:00","updated_at":"2026-06-23T10:51:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafae9fee66c84def7aa33c2fbd4f96e1fa15cfa.webp?v=1782183065","variant_ids":[44280013422691]},"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-EC60","featured_media":{"alt":null,"id":27569035673699,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafae9fee66c84def7aa33c2fbd4f96e1fa15cfa.webp?v=1782183065"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280013619299,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056185143395,"product_id":8041180627043,"position":6,"created_at":"2026-06-23T10:51:02+08:00","updated_at":"2026-06-23T10:51:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94654bacca8decb58611cd16c2efc7125ce9ea4f.webp?v=1782183064","variant_ids":[44280013619299]},"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-EC60","featured_media":{"alt":null,"id":27569035280483,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94654bacca8decb58611cd16c2efc7125ce9ea4f.webp?v=1782183064"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280013815907,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056186486883,"product_id":8041180627043,"position":11,"created_at":"2026-06-23T10:51:05+08:00","updated_at":"2026-06-23T10:51:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2be942c72934f34270c824362de9678c3f76f94c.webp?v=1782183067","variant_ids":[44280013815907]},"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-EC60","featured_media":{"alt":null,"id":27569036623971,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2be942c72934f34270c824362de9678c3f76f94c.webp?v=1782183067"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280014045283,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056186191971,"product_id":8041180627043,"position":10,"created_at":"2026-06-23T10:51:05+08:00","updated_at":"2026-06-23T10:51:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0045ae34eda714fd61f976f1796f83afe84aac5.webp?v=1782183067","variant_ids":[44280014045283]},"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-EC60","featured_media":{"alt":null,"id":27569036329059,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0045ae34eda714fd61f976f1796f83afe84aac5.webp?v=1782183067"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280014241891,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056183570531,"product_id":8041180627043,"position":3,"created_at":"2026-06-23T10:51:01+08:00","updated_at":"2026-06-23T10:51:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/736a33661ebc8a1b4f1fc28c8b00ad8b71391fc8.webp?v=1782183063","variant_ids":[44280014241891]},"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-EC60","featured_media":{"alt":null,"id":27569033773155,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/736a33661ebc8a1b4f1fc28c8b00ad8b71391fc8.webp?v=1782183063"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280014471267,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056186617955,"product_id":8041180627043,"position":13,"created_at":"2026-06-23T10:51:06+08:00","updated_at":"2026-06-23T10:51:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/989702e9c2eb372227d2294f0c1962c6f505df46.webp?v=1782183068","variant_ids":[44280014471267]},"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-EC60","featured_media":{"alt":null,"id":27569036722275,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/989702e9c2eb372227d2294f0c1962c6f505df46.webp?v=1782183068"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280014667875,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056181735523,"product_id":8041180627043,"position":1,"created_at":"2026-06-23T10:50:58+08:00","updated_at":"2026-06-23T10:51:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b87e8e02dbf45c959803187953922f5ab2f30c.webp?v=1782183060","variant_ids":[44280014667875]},"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-EC60","featured_media":{"alt":null,"id":27569031839843,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b87e8e02dbf45c959803187953922f5ab2f30c.webp?v=1782183060"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280014798947,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056184160355,"product_id":8041180627043,"position":4,"created_at":"2026-06-23T10:51:01+08:00","updated_at":"2026-06-23T10:51:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/facb3d15b5b9850163261312b6db38d2c78e6137.webp?v=1782183063","variant_ids":[44280014798947]},"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-EC60","featured_media":{"alt":null,"id":27569034297443,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/facb3d15b5b9850163261312b6db38d2c78e6137.webp?v=1782183063"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280014864483,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056186028131,"product_id":8041180627043,"position":8,"created_at":"2026-06-23T10:51:03+08:00","updated_at":"2026-06-23T10:51:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dcad910e347e0ec55e91a2fdea3ee2a1b9cbee6.webp?v=1782183065","variant_ids":[44280014864483]},"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-EC60","featured_media":{"alt":null,"id":27569036132451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dcad910e347e0ec55e91a2fdea3ee2a1b9cbee6.webp?v=1782183065"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280014962787,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056184881251,"product_id":8041180627043,"position":5,"created_at":"2026-06-23T10:51:02+08:00","updated_at":"2026-06-23T10:51:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2147af3896229d49c7033d260a36483bce94318.webp?v=1782183064","variant_ids":[44280014962787]},"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-EC60","featured_media":{"alt":null,"id":27569034985571,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2147af3896229d49c7033d260a36483bce94318.webp?v=1782183064"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280015061091,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056183144547,"product_id":8041180627043,"position":2,"created_at":"2026-06-23T10:51:00+08:00","updated_at":"2026-06-23T10:51:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12fd005281f27e7342fa403feea9ba30fedf6166.webp?v=1782183062","variant_ids":[44280015061091]},"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-EC60","featured_media":{"alt":null,"id":27569033248867,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12fd005281f27e7342fa403feea9ba30fedf6166.webp?v=1782183062"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280015159395,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056186093667,"product_id":8041180627043,"position":9,"created_at":"2026-06-23T10:51:04+08:00","updated_at":"2026-06-23T10:51:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/974bbfb510148700d259bcb668ed75996a733023.webp?v=1782183066","variant_ids":[44280015159395]},"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-EC60","featured_media":{"alt":null,"id":27569036263523,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/974bbfb510148700d259bcb668ed75996a733023.webp?v=1782183066"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b87e8e02dbf45c959803187953922f5ab2f30c.webp?v=1782183060","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12fd005281f27e7342fa403feea9ba30fedf6166.webp?v=1782183062","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/736a33661ebc8a1b4f1fc28c8b00ad8b71391fc8.webp?v=1782183063","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/facb3d15b5b9850163261312b6db38d2c78e6137.webp?v=1782183063","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2147af3896229d49c7033d260a36483bce94318.webp?v=1782183064","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94654bacca8decb58611cd16c2efc7125ce9ea4f.webp?v=1782183064","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafae9fee66c84def7aa33c2fbd4f96e1fa15cfa.webp?v=1782183065","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dcad910e347e0ec55e91a2fdea3ee2a1b9cbee6.webp?v=1782183065","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/974bbfb510148700d259bcb668ed75996a733023.webp?v=1782183066","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0045ae34eda714fd61f976f1796f83afe84aac5.webp?v=1782183067","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2be942c72934f34270c824362de9678c3f76f94c.webp?v=1782183067","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9138c5dd603bf09dede10ac3bc88113106536fb0.webp?v=1782183068","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/989702e9c2eb372227d2294f0c1962c6f505df46.webp?v=1782183068"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b87e8e02dbf45c959803187953922f5ab2f30c.webp?v=1782183060","options":["color"],"media":[{"alt":null,"id":27569031839843,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b87e8e02dbf45c959803187953922f5ab2f30c.webp?v=1782183060"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b87e8e02dbf45c959803187953922f5ab2f30c.webp?v=1782183060","width":2000},{"alt":null,"id":27569033248867,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12fd005281f27e7342fa403feea9ba30fedf6166.webp?v=1782183062"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12fd005281f27e7342fa403feea9ba30fedf6166.webp?v=1782183062","width":2000},{"alt":null,"id":27569033773155,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/736a33661ebc8a1b4f1fc28c8b00ad8b71391fc8.webp?v=1782183063"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/736a33661ebc8a1b4f1fc28c8b00ad8b71391fc8.webp?v=1782183063","width":2000},{"alt":null,"id":27569034297443,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/facb3d15b5b9850163261312b6db38d2c78e6137.webp?v=1782183063"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/facb3d15b5b9850163261312b6db38d2c78e6137.webp?v=1782183063","width":2000},{"alt":null,"id":27569034985571,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2147af3896229d49c7033d260a36483bce94318.webp?v=1782183064"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2147af3896229d49c7033d260a36483bce94318.webp?v=1782183064","width":2000},{"alt":null,"id":27569035280483,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94654bacca8decb58611cd16c2efc7125ce9ea4f.webp?v=1782183064"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94654bacca8decb58611cd16c2efc7125ce9ea4f.webp?v=1782183064","width":2000},{"alt":null,"id":27569035673699,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafae9fee66c84def7aa33c2fbd4f96e1fa15cfa.webp?v=1782183065"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafae9fee66c84def7aa33c2fbd4f96e1fa15cfa.webp?v=1782183065","width":2000},{"alt":null,"id":27569036132451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dcad910e347e0ec55e91a2fdea3ee2a1b9cbee6.webp?v=1782183065"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dcad910e347e0ec55e91a2fdea3ee2a1b9cbee6.webp?v=1782183065","width":2000},{"alt":null,"id":27569036263523,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/974bbfb510148700d259bcb668ed75996a733023.webp?v=1782183066"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/974bbfb510148700d259bcb668ed75996a733023.webp?v=1782183066","width":2000},{"alt":null,"id":27569036329059,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0045ae34eda714fd61f976f1796f83afe84aac5.webp?v=1782183067"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0045ae34eda714fd61f976f1796f83afe84aac5.webp?v=1782183067","width":2000},{"alt":null,"id":27569036623971,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2be942c72934f34270c824362de9678c3f76f94c.webp?v=1782183067"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2be942c72934f34270c824362de9678c3f76f94c.webp?v=1782183067","width":2000},{"alt":null,"id":27569036689507,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9138c5dd603bf09dede10ac3bc88113106536fb0.webp?v=1782183068"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9138c5dd603bf09dede10ac3bc88113106536fb0.webp?v=1782183068","width":2000},{"alt":null,"id":27569036722275,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/989702e9c2eb372227d2294f0c1962c6f505df46.webp?v=1782183068"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/989702e9c2eb372227d2294f0c1962c6f505df46.webp?v=1782183068","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44280010211427,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056186552419,"product_id":8041180627043,"position":12,"created_at":"2026-06-23T10:51:06+08:00","updated_at":"2026-06-23T10:51:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9138c5dd603bf09dede10ac3bc88113106536fb0.webp?v=1782183068","variant_ids":[44280010211427]},"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-EC60","featured_media":{"alt":null,"id":27569036689507,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9138c5dd603bf09dede10ac3bc88113106536fb0.webp?v=1782183068"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280013422691,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056185536611,"product_id":8041180627043,"position":7,"created_at":"2026-06-23T10:51:03+08:00","updated_at":"2026-06-23T10:51:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafae9fee66c84def7aa33c2fbd4f96e1fa15cfa.webp?v=1782183065","variant_ids":[44280013422691]},"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-EC60","featured_media":{"alt":null,"id":27569035673699,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafae9fee66c84def7aa33c2fbd4f96e1fa15cfa.webp?v=1782183065"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280013619299,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056185143395,"product_id":8041180627043,"position":6,"created_at":"2026-06-23T10:51:02+08:00","updated_at":"2026-06-23T10:51:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94654bacca8decb58611cd16c2efc7125ce9ea4f.webp?v=1782183064","variant_ids":[44280013619299]},"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-EC60","featured_media":{"alt":null,"id":27569035280483,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94654bacca8decb58611cd16c2efc7125ce9ea4f.webp?v=1782183064"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280013815907,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056186486883,"product_id":8041180627043,"position":11,"created_at":"2026-06-23T10:51:05+08:00","updated_at":"2026-06-23T10:51:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2be942c72934f34270c824362de9678c3f76f94c.webp?v=1782183067","variant_ids":[44280013815907]},"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-EC60","featured_media":{"alt":null,"id":27569036623971,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2be942c72934f34270c824362de9678c3f76f94c.webp?v=1782183067"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280014045283,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056186191971,"product_id":8041180627043,"position":10,"created_at":"2026-06-23T10:51:05+08:00","updated_at":"2026-06-23T10:51:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0045ae34eda714fd61f976f1796f83afe84aac5.webp?v=1782183067","variant_ids":[44280014045283]},"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-EC60","featured_media":{"alt":null,"id":27569036329059,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0045ae34eda714fd61f976f1796f83afe84aac5.webp?v=1782183067"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280014241891,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056183570531,"product_id":8041180627043,"position":3,"created_at":"2026-06-23T10:51:01+08:00","updated_at":"2026-06-23T10:51:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/736a33661ebc8a1b4f1fc28c8b00ad8b71391fc8.webp?v=1782183063","variant_ids":[44280014241891]},"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-EC60","featured_media":{"alt":null,"id":27569033773155,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/736a33661ebc8a1b4f1fc28c8b00ad8b71391fc8.webp?v=1782183063"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280014471267,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056186617955,"product_id":8041180627043,"position":13,"created_at":"2026-06-23T10:51:06+08:00","updated_at":"2026-06-23T10:51:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/989702e9c2eb372227d2294f0c1962c6f505df46.webp?v=1782183068","variant_ids":[44280014471267]},"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-EC60","featured_media":{"alt":null,"id":27569036722275,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/989702e9c2eb372227d2294f0c1962c6f505df46.webp?v=1782183068"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280014667875,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056181735523,"product_id":8041180627043,"position":1,"created_at":"2026-06-23T10:50:58+08:00","updated_at":"2026-06-23T10:51:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b87e8e02dbf45c959803187953922f5ab2f30c.webp?v=1782183060","variant_ids":[44280014667875]},"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-EC60","featured_media":{"alt":null,"id":27569031839843,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b87e8e02dbf45c959803187953922f5ab2f30c.webp?v=1782183060"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280014798947,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056184160355,"product_id":8041180627043,"position":4,"created_at":"2026-06-23T10:51:01+08:00","updated_at":"2026-06-23T10:51:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/facb3d15b5b9850163261312b6db38d2c78e6137.webp?v=1782183063","variant_ids":[44280014798947]},"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-EC60","featured_media":{"alt":null,"id":27569034297443,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/facb3d15b5b9850163261312b6db38d2c78e6137.webp?v=1782183063"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280014864483,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056186028131,"product_id":8041180627043,"position":8,"created_at":"2026-06-23T10:51:03+08:00","updated_at":"2026-06-23T10:51:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dcad910e347e0ec55e91a2fdea3ee2a1b9cbee6.webp?v=1782183065","variant_ids":[44280014864483]},"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-EC60","featured_media":{"alt":null,"id":27569036132451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dcad910e347e0ec55e91a2fdea3ee2a1b9cbee6.webp?v=1782183065"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280014962787,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056184881251,"product_id":8041180627043,"position":5,"created_at":"2026-06-23T10:51:02+08:00","updated_at":"2026-06-23T10:51:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2147af3896229d49c7033d260a36483bce94318.webp?v=1782183064","variant_ids":[44280014962787]},"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-EC60","featured_media":{"alt":null,"id":27569034985571,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2147af3896229d49c7033d260a36483bce94318.webp?v=1782183064"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280015061091,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056183144547,"product_id":8041180627043,"position":2,"created_at":"2026-06-23T10:51:00+08:00","updated_at":"2026-06-23T10:51:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12fd005281f27e7342fa403feea9ba30fedf6166.webp?v=1782183062","variant_ids":[44280015061091]},"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-EC60","featured_media":{"alt":null,"id":27569033248867,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12fd005281f27e7342fa403feea9ba30fedf6166.webp?v=1782183062"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280015159395,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056186093667,"product_id":8041180627043,"position":9,"created_at":"2026-06-23T10:51:04+08:00","updated_at":"2026-06-23T10:51:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/974bbfb510148700d259bcb668ed75996a733023.webp?v=1782183066","variant_ids":[44280015159395]},"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-EC60","featured_media":{"alt":null,"id":27569036263523,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/974bbfb510148700d259bcb668ed75996a733023.webp?v=1782183066"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44280010211427,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056186552419,"product_id":8041180627043,"position":12,"created_at":"2026-06-23T10:51:06+08:00","updated_at":"2026-06-23T10:51:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9138c5dd603bf09dede10ac3bc88113106536fb0.webp?v=1782183068","variant_ids":[44280010211427]},"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-EC60","featured_media":{"alt":null,"id":27569036689507,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9138c5dd603bf09dede10ac3bc88113106536fb0.webp?v=1782183068"}},"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: "停產"
}