$product = {"id":8099886432355,"title":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點","handle":"iphone-17-pro-max-solidx-bg16","description":null,"published_at":"2026-08-10T10:00:44+08:00","created_at":"2026-08-06T14:07:56+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer-pattern-play","device-iPhone 17 Pro Max","discountable-item","merge","original-design","reseller-pattern-play"],"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":44451179855971,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496799662179,"product_id":8099886432355,"position":3,"created_at":"2026-08-06T14:08:43+08:00","updated_at":"2026-08-06T14:08:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/462f573127a19826a5206831c0f159f0a361ed16.webp?v=1785996525","variant_ids":[44451179855971]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000082985059,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/462f573127a19826a5206831c0f159f0a361ed16.webp?v=1785996525"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451189325923,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496799498339,"product_id":8099886432355,"position":2,"created_at":"2026-08-06T14:08:43+08:00","updated_at":"2026-08-06T14:08:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f5d6be5333df560533df373b315579fbc3fcce.webp?v=1785996525","variant_ids":[44451189325923]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000082821219,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f5d6be5333df560533df373b315579fbc3fcce.webp?v=1785996525"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451189522531,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496801759331,"product_id":8099886432355,"position":10,"created_at":"2026-08-06T14:08:48+08:00","updated_at":"2026-08-06T14:08:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/479b90b9ddc7773b0a5075930bb2f8cfb11d876e.webp?v=1785996530","variant_ids":[44451189522531]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000085082211,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/479b90b9ddc7773b0a5075930bb2f8cfb11d876e.webp?v=1785996530"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451189719139,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496802676835,"product_id":8099886432355,"position":12,"created_at":"2026-08-06T14:08:50+08:00","updated_at":"2026-08-06T14:08:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e173ce8fe7d140be6b30f72f38e4637f95769ef.webp?v=1785996532","variant_ids":[44451189719139]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000085999715,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e173ce8fe7d140be6b30f72f38e4637f95769ef.webp?v=1785996532"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451189948515,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496802971747,"product_id":8099886432355,"position":13,"created_at":"2026-08-06T14:08:50+08:00","updated_at":"2026-08-06T14:08:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2da14d46b82888bcc1d283d432416647fe9a231.webp?v=1785996532","variant_ids":[44451189948515]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000086294627,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2da14d46b82888bcc1d283d432416647fe9a231.webp?v=1785996532"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451190243427,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496800907363,"product_id":8099886432355,"position":7,"created_at":"2026-08-06T14:08:47+08:00","updated_at":"2026-08-06T14:08:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e3df48128c94a9180238eefedabd6d33e41f03.webp?v=1785996529","variant_ids":[44451190243427]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000084230243,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e3df48128c94a9180238eefedabd6d33e41f03.webp?v=1785996529"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451190538339,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496800677987,"product_id":8099886432355,"position":6,"created_at":"2026-08-06T14:08:46+08:00","updated_at":"2026-08-06T14:08:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/276e4b4c58954df99cc34b29a34818e47facab11.webp?v=1785996529","variant_ids":[44451190538339]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000084000867,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/276e4b4c58954df99cc34b29a34818e47facab11.webp?v=1785996529"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451191193699,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496801431651,"product_id":8099886432355,"position":9,"created_at":"2026-08-06T14:08:48+08:00","updated_at":"2026-08-06T14:08:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f4d46c1e7b7e6ce7bd8eb9e4e8fec600e89109d.webp?v=1785996530","variant_ids":[44451191193699]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000084754531,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f4d46c1e7b7e6ce7bd8eb9e4e8fec600e89109d.webp?v=1785996530"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451191390307,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496800448611,"product_id":8099886432355,"position":5,"created_at":"2026-08-06T14:08:46+08:00","updated_at":"2026-08-06T14:08:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf740db5335b30890b356759e4f7b847f4f16d24.webp?v=1785996528","variant_ids":[44451191390307]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000083771491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf740db5335b30890b356759e4f7b847f4f16d24.webp?v=1785996528"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451192438883,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496800219235,"product_id":8099886432355,"position":4,"created_at":"2026-08-06T14:08:45+08:00","updated_at":"2026-08-06T14:08:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf79722d7e265f30299e6bbc2ca95897dfef2ddb.webp?v=1785996527","variant_ids":[44451192438883]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000083542115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf79722d7e265f30299e6bbc2ca95897dfef2ddb.webp?v=1785996527"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451192832099,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496799301731,"product_id":8099886432355,"position":1,"created_at":"2026-08-06T14:08:42+08:00","updated_at":"2026-08-06T14:08:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77ea2c592b415d873f4163b2d18716c84fc63c13.webp?v=1785996524","variant_ids":[44451192832099]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000082624611,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77ea2c592b415d873f4163b2d18716c84fc63c13.webp?v=1785996524"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451193159779,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496801169507,"product_id":8099886432355,"position":8,"created_at":"2026-08-06T14:08:47+08:00","updated_at":"2026-08-06T14:08:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccb66afec982a53a4ee0da6b66acc5d87c58224d.webp?v=1785996529","variant_ids":[44451193159779]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000084492387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccb66afec982a53a4ee0da6b66acc5d87c58224d.webp?v=1785996529"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451193454691,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496802119779,"product_id":8099886432355,"position":11,"created_at":"2026-08-06T14:08:49+08:00","updated_at":"2026-08-06T14:08:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17da510118997a65da47c22f9924ad4e67bb819b.webp?v=1785996531","variant_ids":[44451193454691]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000085442659,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17da510118997a65da47c22f9924ad4e67bb819b.webp?v=1785996531"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77ea2c592b415d873f4163b2d18716c84fc63c13.webp?v=1785996524","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f5d6be5333df560533df373b315579fbc3fcce.webp?v=1785996525","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/462f573127a19826a5206831c0f159f0a361ed16.webp?v=1785996525","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf79722d7e265f30299e6bbc2ca95897dfef2ddb.webp?v=1785996527","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf740db5335b30890b356759e4f7b847f4f16d24.webp?v=1785996528","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/276e4b4c58954df99cc34b29a34818e47facab11.webp?v=1785996529","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e3df48128c94a9180238eefedabd6d33e41f03.webp?v=1785996529","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccb66afec982a53a4ee0da6b66acc5d87c58224d.webp?v=1785996529","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f4d46c1e7b7e6ce7bd8eb9e4e8fec600e89109d.webp?v=1785996530","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/479b90b9ddc7773b0a5075930bb2f8cfb11d876e.webp?v=1785996530","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17da510118997a65da47c22f9924ad4e67bb819b.webp?v=1785996531","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e173ce8fe7d140be6b30f72f38e4637f95769ef.webp?v=1785996532","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2da14d46b82888bcc1d283d432416647fe9a231.webp?v=1785996532"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77ea2c592b415d873f4163b2d18716c84fc63c13.webp?v=1785996524","options":["color"],"media":[{"alt":null,"id":28000082624611,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77ea2c592b415d873f4163b2d18716c84fc63c13.webp?v=1785996524"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77ea2c592b415d873f4163b2d18716c84fc63c13.webp?v=1785996524","width":2000},{"alt":null,"id":28000082821219,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f5d6be5333df560533df373b315579fbc3fcce.webp?v=1785996525"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f5d6be5333df560533df373b315579fbc3fcce.webp?v=1785996525","width":2000},{"alt":null,"id":28000082985059,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/462f573127a19826a5206831c0f159f0a361ed16.webp?v=1785996525"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/462f573127a19826a5206831c0f159f0a361ed16.webp?v=1785996525","width":2000},{"alt":null,"id":28000083542115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf79722d7e265f30299e6bbc2ca95897dfef2ddb.webp?v=1785996527"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf79722d7e265f30299e6bbc2ca95897dfef2ddb.webp?v=1785996527","width":2000},{"alt":null,"id":28000083771491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf740db5335b30890b356759e4f7b847f4f16d24.webp?v=1785996528"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf740db5335b30890b356759e4f7b847f4f16d24.webp?v=1785996528","width":2000},{"alt":null,"id":28000084000867,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/276e4b4c58954df99cc34b29a34818e47facab11.webp?v=1785996529"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/276e4b4c58954df99cc34b29a34818e47facab11.webp?v=1785996529","width":2000},{"alt":null,"id":28000084230243,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e3df48128c94a9180238eefedabd6d33e41f03.webp?v=1785996529"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e3df48128c94a9180238eefedabd6d33e41f03.webp?v=1785996529","width":2000},{"alt":null,"id":28000084492387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccb66afec982a53a4ee0da6b66acc5d87c58224d.webp?v=1785996529"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccb66afec982a53a4ee0da6b66acc5d87c58224d.webp?v=1785996529","width":2000},{"alt":null,"id":28000084754531,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f4d46c1e7b7e6ce7bd8eb9e4e8fec600e89109d.webp?v=1785996530"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f4d46c1e7b7e6ce7bd8eb9e4e8fec600e89109d.webp?v=1785996530","width":2000},{"alt":null,"id":28000085082211,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/479b90b9ddc7773b0a5075930bb2f8cfb11d876e.webp?v=1785996530"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/479b90b9ddc7773b0a5075930bb2f8cfb11d876e.webp?v=1785996530","width":2000},{"alt":null,"id":28000085442659,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17da510118997a65da47c22f9924ad4e67bb819b.webp?v=1785996531"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17da510118997a65da47c22f9924ad4e67bb819b.webp?v=1785996531","width":2000},{"alt":null,"id":28000085999715,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e173ce8fe7d140be6b30f72f38e4637f95769ef.webp?v=1785996532"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e173ce8fe7d140be6b30f72f38e4637f95769ef.webp?v=1785996532","width":2000},{"alt":null,"id":28000086294627,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2da14d46b82888bcc1d283d432416647fe9a231.webp?v=1785996532"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2da14d46b82888bcc1d283d432416647fe9a231.webp?v=1785996532","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44451179855971,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496799662179,"product_id":8099886432355,"position":3,"created_at":"2026-08-06T14:08:43+08:00","updated_at":"2026-08-06T14:08:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/462f573127a19826a5206831c0f159f0a361ed16.webp?v=1785996525","variant_ids":[44451179855971]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000082985059,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/462f573127a19826a5206831c0f159f0a361ed16.webp?v=1785996525"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451189325923,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496799498339,"product_id":8099886432355,"position":2,"created_at":"2026-08-06T14:08:43+08:00","updated_at":"2026-08-06T14:08:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f5d6be5333df560533df373b315579fbc3fcce.webp?v=1785996525","variant_ids":[44451189325923]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000082821219,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f5d6be5333df560533df373b315579fbc3fcce.webp?v=1785996525"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451189522531,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496801759331,"product_id":8099886432355,"position":10,"created_at":"2026-08-06T14:08:48+08:00","updated_at":"2026-08-06T14:08:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/479b90b9ddc7773b0a5075930bb2f8cfb11d876e.webp?v=1785996530","variant_ids":[44451189522531]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000085082211,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/479b90b9ddc7773b0a5075930bb2f8cfb11d876e.webp?v=1785996530"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451189719139,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496802676835,"product_id":8099886432355,"position":12,"created_at":"2026-08-06T14:08:50+08:00","updated_at":"2026-08-06T14:08:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e173ce8fe7d140be6b30f72f38e4637f95769ef.webp?v=1785996532","variant_ids":[44451189719139]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000085999715,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e173ce8fe7d140be6b30f72f38e4637f95769ef.webp?v=1785996532"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451189948515,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496802971747,"product_id":8099886432355,"position":13,"created_at":"2026-08-06T14:08:50+08:00","updated_at":"2026-08-06T14:08:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2da14d46b82888bcc1d283d432416647fe9a231.webp?v=1785996532","variant_ids":[44451189948515]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000086294627,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2da14d46b82888bcc1d283d432416647fe9a231.webp?v=1785996532"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451190243427,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496800907363,"product_id":8099886432355,"position":7,"created_at":"2026-08-06T14:08:47+08:00","updated_at":"2026-08-06T14:08:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e3df48128c94a9180238eefedabd6d33e41f03.webp?v=1785996529","variant_ids":[44451190243427]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000084230243,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e3df48128c94a9180238eefedabd6d33e41f03.webp?v=1785996529"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451190538339,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496800677987,"product_id":8099886432355,"position":6,"created_at":"2026-08-06T14:08:46+08:00","updated_at":"2026-08-06T14:08:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/276e4b4c58954df99cc34b29a34818e47facab11.webp?v=1785996529","variant_ids":[44451190538339]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000084000867,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/276e4b4c58954df99cc34b29a34818e47facab11.webp?v=1785996529"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451191193699,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496801431651,"product_id":8099886432355,"position":9,"created_at":"2026-08-06T14:08:48+08:00","updated_at":"2026-08-06T14:08:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f4d46c1e7b7e6ce7bd8eb9e4e8fec600e89109d.webp?v=1785996530","variant_ids":[44451191193699]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000084754531,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f4d46c1e7b7e6ce7bd8eb9e4e8fec600e89109d.webp?v=1785996530"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451191390307,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496800448611,"product_id":8099886432355,"position":5,"created_at":"2026-08-06T14:08:46+08:00","updated_at":"2026-08-06T14:08:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf740db5335b30890b356759e4f7b847f4f16d24.webp?v=1785996528","variant_ids":[44451191390307]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000083771491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf740db5335b30890b356759e4f7b847f4f16d24.webp?v=1785996528"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451192438883,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496800219235,"product_id":8099886432355,"position":4,"created_at":"2026-08-06T14:08:45+08:00","updated_at":"2026-08-06T14:08:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf79722d7e265f30299e6bbc2ca95897dfef2ddb.webp?v=1785996527","variant_ids":[44451192438883]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000083542115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf79722d7e265f30299e6bbc2ca95897dfef2ddb.webp?v=1785996527"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451192832099,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496799301731,"product_id":8099886432355,"position":1,"created_at":"2026-08-06T14:08:42+08:00","updated_at":"2026-08-06T14:08:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77ea2c592b415d873f4163b2d18716c84fc63c13.webp?v=1785996524","variant_ids":[44451192832099]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000082624611,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77ea2c592b415d873f4163b2d18716c84fc63c13.webp?v=1785996524"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451193159779,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496801169507,"product_id":8099886432355,"position":8,"created_at":"2026-08-06T14:08:47+08:00","updated_at":"2026-08-06T14:08:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccb66afec982a53a4ee0da6b66acc5d87c58224d.webp?v=1785996529","variant_ids":[44451193159779]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000084492387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccb66afec982a53a4ee0da6b66acc5d87c58224d.webp?v=1785996529"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451193454691,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496802119779,"product_id":8099886432355,"position":11,"created_at":"2026-08-06T14:08:49+08:00","updated_at":"2026-08-06T14:08:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17da510118997a65da47c22f9924ad4e67bb819b.webp?v=1785996531","variant_ids":[44451193454691]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000085442659,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17da510118997a65da47c22f9924ad4e67bb819b.webp?v=1785996531"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44451179855971,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496799662179,"product_id":8099886432355,"position":3,"created_at":"2026-08-06T14:08:43+08:00","updated_at":"2026-08-06T14:08:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/462f573127a19826a5206831c0f159f0a361ed16.webp?v=1785996525","variant_ids":[44451179855971]},"available":true,"name":"iPhone 17 Pro Max SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000082985059,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/462f573127a19826a5206831c0f159f0a361ed16.webp?v=1785996525"}},"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: "停產"
}