$product = {"id":8037663768675,"title":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba","handle":"iphone-17-pro-max-solidx-magsafe-bf06","description":null,"published_at":"2026-06-22T12:03:29+08:00","created_at":"2026-06-22T09:58:42+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-bebelfranco","device-iPhone 17 Pro Max","merge","reseller-bebelfranco"],"price":145000,"price_min":145000,"price_max":145000,"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":44273201578083,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034737078371,"product_id":8037663768675,"position":11,"created_at":"2026-06-22T09:59:28+08:00","updated_at":"2026-06-22T09:59:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/214c18a2a1fbc9dbb1c2f7296cbd05f41e2c1610.webp?v=1782093570","variant_ids":[44273201578083]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013534I-BF06","featured_media":{"alt":null,"id":27552508248163,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/214c18a2a1fbc9dbb1c2f7296cbd05f41e2c1610.webp?v=1782093570"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273210064995,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034737963107,"product_id":8037663768675,"position":12,"created_at":"2026-06-22T09:59:29+08:00","updated_at":"2026-06-22T09:59:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6265a1f6092890ca60d0fd94887d10cda2532b99.webp?v=1782093571","variant_ids":[44273210064995]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013536A-BF06","featured_media":{"alt":null,"id":27552509132899,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6265a1f6092890ca60d0fd94887d10cda2532b99.webp?v=1782093571"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273210523747,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034734784611,"product_id":8037663768675,"position":7,"created_at":"2026-06-22T09:59:26+08:00","updated_at":"2026-06-22T09:59:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0da75ef25ec484dc5b6defd1923c70e690b76aff.webp?v=1782093568","variant_ids":[44273210523747]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535Z-BF06","featured_media":{"alt":null,"id":27552505954403,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0da75ef25ec484dc5b6defd1923c70e690b76aff.webp?v=1782093568"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273210753123,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034738716771,"product_id":8037663768675,"position":13,"created_at":"2026-06-22T09:59:29+08:00","updated_at":"2026-06-22T09:59:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f84736c92b53ce6be1d883672f817afe1c3ea71.webp?v=1782093571","variant_ids":[44273210753123]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535Y-BF06","featured_media":{"alt":null,"id":27552509788259,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f84736c92b53ce6be1d883672f817afe1c3ea71.webp?v=1782093571"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273210949731,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034736029795,"product_id":8037663768675,"position":9,"created_at":"2026-06-22T09:59:27+08:00","updated_at":"2026-06-22T09:59:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1bf2c2c99d1ddf6693f346a14f0895f86555301.webp?v=1782093569","variant_ids":[44273210949731]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535X-BF06","featured_media":{"alt":null,"id":27552507199587,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1bf2c2c99d1ddf6693f346a14f0895f86555301.webp?v=1782093569"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273211211875,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034734194787,"product_id":8037663768675,"position":6,"created_at":"2026-06-22T09:59:25+08:00","updated_at":"2026-06-22T09:59:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/603522130832f3b328178c068b75ad07b7396f2b.webp?v=1782093567","variant_ids":[44273211211875]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535H-BF06","featured_media":{"alt":null,"id":27552505397347,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/603522130832f3b328178c068b75ad07b7396f2b.webp?v=1782093567"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273211408483,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034733146211,"product_id":8037663768675,"position":4,"created_at":"2026-06-22T09:59:24+08:00","updated_at":"2026-06-22T09:59:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60df51c8fa2f0463a896426268c5e2f734c2c7d9.webp?v=1782093566","variant_ids":[44273211408483]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013534H-BF06","featured_media":{"alt":null,"id":27552504316003,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60df51c8fa2f0463a896426268c5e2f734c2c7d9.webp?v=1782093566"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273211900003,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034736554083,"product_id":8037663768675,"position":10,"created_at":"2026-06-22T09:59:27+08:00","updated_at":"2026-06-22T09:59:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85f97cd216ae369d8bb444662691fad2465563b4.webp?v=1782093569","variant_ids":[44273211900003]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013533O-BF06","featured_media":{"alt":null,"id":27552507723875,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85f97cd216ae369d8bb444662691fad2465563b4.webp?v=1782093569"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273212457059,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034731933795,"product_id":8037663768675,"position":2,"created_at":"2026-06-22T09:59:23+08:00","updated_at":"2026-06-22T09:59:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1990f0dd024ee128f1a95501c598a82014f6673e.webp?v=1782093565","variant_ids":[44273212457059]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013530F-BF06","featured_media":{"alt":null,"id":27552503103587,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1990f0dd024ee128f1a95501c598a82014f6673e.webp?v=1782093565"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273212981347,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034733736035,"product_id":8037663768675,"position":5,"created_at":"2026-06-22T09:59:25+08:00","updated_at":"2026-06-22T09:59:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d110e3b7f3fa116e0f61269bf3642b78c29aa9ca.webp?v=1782093567","variant_ids":[44273212981347]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013530B-BF06","featured_media":{"alt":null,"id":27552504873059,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d110e3b7f3fa116e0f61269bf3642b78c29aa9ca.webp?v=1782093567"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273213505635,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034735407203,"product_id":8037663768675,"position":8,"created_at":"2026-06-22T09:59:26+08:00","updated_at":"2026-06-22T09:59:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db45361b6379afe81d93dfd2dc3246935a098ce4.webp?v=1782093568","variant_ids":[44273213505635]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135352-BF06","featured_media":{"alt":null,"id":27552506576995,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db45361b6379afe81d93dfd2dc3246935a098ce4.webp?v=1782093568"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273213997155,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034731475043,"product_id":8037663768675,"position":1,"created_at":"2026-06-22T09:59:23+08:00","updated_at":"2026-06-22T09:59:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/057406be1969344a3b084343e204f89867e9be37.webp?v=1782093565","variant_ids":[44273213997155]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01353O8-BF06","featured_media":{"alt":null,"id":27552502644835,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/057406be1969344a3b084343e204f89867e9be37.webp?v=1782093565"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273214619747,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034732294243,"product_id":8037663768675,"position":3,"created_at":"2026-06-22T09:59:24+08:00","updated_at":"2026-06-22T09:59:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/559e215a1236260ba62d7743127bacdee2959096.webp?v=1782093565","variant_ids":[44273214619747]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135353-BF06","featured_media":{"alt":null,"id":27552503464035,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/559e215a1236260ba62d7743127bacdee2959096.webp?v=1782093565"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/057406be1969344a3b084343e204f89867e9be37.webp?v=1782093565","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1990f0dd024ee128f1a95501c598a82014f6673e.webp?v=1782093565","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/559e215a1236260ba62d7743127bacdee2959096.webp?v=1782093565","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60df51c8fa2f0463a896426268c5e2f734c2c7d9.webp?v=1782093566","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d110e3b7f3fa116e0f61269bf3642b78c29aa9ca.webp?v=1782093567","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/603522130832f3b328178c068b75ad07b7396f2b.webp?v=1782093567","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0da75ef25ec484dc5b6defd1923c70e690b76aff.webp?v=1782093568","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db45361b6379afe81d93dfd2dc3246935a098ce4.webp?v=1782093568","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1bf2c2c99d1ddf6693f346a14f0895f86555301.webp?v=1782093569","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85f97cd216ae369d8bb444662691fad2465563b4.webp?v=1782093569","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/214c18a2a1fbc9dbb1c2f7296cbd05f41e2c1610.webp?v=1782093570","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6265a1f6092890ca60d0fd94887d10cda2532b99.webp?v=1782093571","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f84736c92b53ce6be1d883672f817afe1c3ea71.webp?v=1782093571"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/057406be1969344a3b084343e204f89867e9be37.webp?v=1782093565","options":["color"],"media":[{"alt":null,"id":27552502644835,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/057406be1969344a3b084343e204f89867e9be37.webp?v=1782093565"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/057406be1969344a3b084343e204f89867e9be37.webp?v=1782093565","width":2000},{"alt":null,"id":27552503103587,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1990f0dd024ee128f1a95501c598a82014f6673e.webp?v=1782093565"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1990f0dd024ee128f1a95501c598a82014f6673e.webp?v=1782093565","width":2000},{"alt":null,"id":27552503464035,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/559e215a1236260ba62d7743127bacdee2959096.webp?v=1782093565"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/559e215a1236260ba62d7743127bacdee2959096.webp?v=1782093565","width":2000},{"alt":null,"id":27552504316003,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60df51c8fa2f0463a896426268c5e2f734c2c7d9.webp?v=1782093566"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60df51c8fa2f0463a896426268c5e2f734c2c7d9.webp?v=1782093566","width":2000},{"alt":null,"id":27552504873059,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d110e3b7f3fa116e0f61269bf3642b78c29aa9ca.webp?v=1782093567"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d110e3b7f3fa116e0f61269bf3642b78c29aa9ca.webp?v=1782093567","width":2000},{"alt":null,"id":27552505397347,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/603522130832f3b328178c068b75ad07b7396f2b.webp?v=1782093567"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/603522130832f3b328178c068b75ad07b7396f2b.webp?v=1782093567","width":2000},{"alt":null,"id":27552505954403,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0da75ef25ec484dc5b6defd1923c70e690b76aff.webp?v=1782093568"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0da75ef25ec484dc5b6defd1923c70e690b76aff.webp?v=1782093568","width":2000},{"alt":null,"id":27552506576995,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db45361b6379afe81d93dfd2dc3246935a098ce4.webp?v=1782093568"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db45361b6379afe81d93dfd2dc3246935a098ce4.webp?v=1782093568","width":2000},{"alt":null,"id":27552507199587,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1bf2c2c99d1ddf6693f346a14f0895f86555301.webp?v=1782093569"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1bf2c2c99d1ddf6693f346a14f0895f86555301.webp?v=1782093569","width":2000},{"alt":null,"id":27552507723875,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85f97cd216ae369d8bb444662691fad2465563b4.webp?v=1782093569"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85f97cd216ae369d8bb444662691fad2465563b4.webp?v=1782093569","width":2000},{"alt":null,"id":27552508248163,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/214c18a2a1fbc9dbb1c2f7296cbd05f41e2c1610.webp?v=1782093570"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/214c18a2a1fbc9dbb1c2f7296cbd05f41e2c1610.webp?v=1782093570","width":2000},{"alt":null,"id":27552509132899,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6265a1f6092890ca60d0fd94887d10cda2532b99.webp?v=1782093571"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6265a1f6092890ca60d0fd94887d10cda2532b99.webp?v=1782093571","width":2000},{"alt":null,"id":27552509788259,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f84736c92b53ce6be1d883672f817afe1c3ea71.webp?v=1782093571"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f84736c92b53ce6be1d883672f817afe1c3ea71.webp?v=1782093571","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44273201578083,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034737078371,"product_id":8037663768675,"position":11,"created_at":"2026-06-22T09:59:28+08:00","updated_at":"2026-06-22T09:59:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/214c18a2a1fbc9dbb1c2f7296cbd05f41e2c1610.webp?v=1782093570","variant_ids":[44273201578083]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013534I-BF06","featured_media":{"alt":null,"id":27552508248163,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/214c18a2a1fbc9dbb1c2f7296cbd05f41e2c1610.webp?v=1782093570"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273210064995,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034737963107,"product_id":8037663768675,"position":12,"created_at":"2026-06-22T09:59:29+08:00","updated_at":"2026-06-22T09:59:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6265a1f6092890ca60d0fd94887d10cda2532b99.webp?v=1782093571","variant_ids":[44273210064995]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013536A-BF06","featured_media":{"alt":null,"id":27552509132899,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6265a1f6092890ca60d0fd94887d10cda2532b99.webp?v=1782093571"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273210523747,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034734784611,"product_id":8037663768675,"position":7,"created_at":"2026-06-22T09:59:26+08:00","updated_at":"2026-06-22T09:59:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0da75ef25ec484dc5b6defd1923c70e690b76aff.webp?v=1782093568","variant_ids":[44273210523747]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535Z-BF06","featured_media":{"alt":null,"id":27552505954403,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0da75ef25ec484dc5b6defd1923c70e690b76aff.webp?v=1782093568"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273210753123,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034738716771,"product_id":8037663768675,"position":13,"created_at":"2026-06-22T09:59:29+08:00","updated_at":"2026-06-22T09:59:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f84736c92b53ce6be1d883672f817afe1c3ea71.webp?v=1782093571","variant_ids":[44273210753123]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535Y-BF06","featured_media":{"alt":null,"id":27552509788259,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f84736c92b53ce6be1d883672f817afe1c3ea71.webp?v=1782093571"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273210949731,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034736029795,"product_id":8037663768675,"position":9,"created_at":"2026-06-22T09:59:27+08:00","updated_at":"2026-06-22T09:59:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1bf2c2c99d1ddf6693f346a14f0895f86555301.webp?v=1782093569","variant_ids":[44273210949731]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535X-BF06","featured_media":{"alt":null,"id":27552507199587,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1bf2c2c99d1ddf6693f346a14f0895f86555301.webp?v=1782093569"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273211211875,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034734194787,"product_id":8037663768675,"position":6,"created_at":"2026-06-22T09:59:25+08:00","updated_at":"2026-06-22T09:59:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/603522130832f3b328178c068b75ad07b7396f2b.webp?v=1782093567","variant_ids":[44273211211875]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535H-BF06","featured_media":{"alt":null,"id":27552505397347,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/603522130832f3b328178c068b75ad07b7396f2b.webp?v=1782093567"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273211408483,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034733146211,"product_id":8037663768675,"position":4,"created_at":"2026-06-22T09:59:24+08:00","updated_at":"2026-06-22T09:59:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60df51c8fa2f0463a896426268c5e2f734c2c7d9.webp?v=1782093566","variant_ids":[44273211408483]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013534H-BF06","featured_media":{"alt":null,"id":27552504316003,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60df51c8fa2f0463a896426268c5e2f734c2c7d9.webp?v=1782093566"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273211900003,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034736554083,"product_id":8037663768675,"position":10,"created_at":"2026-06-22T09:59:27+08:00","updated_at":"2026-06-22T09:59:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85f97cd216ae369d8bb444662691fad2465563b4.webp?v=1782093569","variant_ids":[44273211900003]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013533O-BF06","featured_media":{"alt":null,"id":27552507723875,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85f97cd216ae369d8bb444662691fad2465563b4.webp?v=1782093569"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273212457059,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034731933795,"product_id":8037663768675,"position":2,"created_at":"2026-06-22T09:59:23+08:00","updated_at":"2026-06-22T09:59:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1990f0dd024ee128f1a95501c598a82014f6673e.webp?v=1782093565","variant_ids":[44273212457059]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013530F-BF06","featured_media":{"alt":null,"id":27552503103587,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1990f0dd024ee128f1a95501c598a82014f6673e.webp?v=1782093565"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273212981347,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034733736035,"product_id":8037663768675,"position":5,"created_at":"2026-06-22T09:59:25+08:00","updated_at":"2026-06-22T09:59:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d110e3b7f3fa116e0f61269bf3642b78c29aa9ca.webp?v=1782093567","variant_ids":[44273212981347]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013530B-BF06","featured_media":{"alt":null,"id":27552504873059,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d110e3b7f3fa116e0f61269bf3642b78c29aa9ca.webp?v=1782093567"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273213505635,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034735407203,"product_id":8037663768675,"position":8,"created_at":"2026-06-22T09:59:26+08:00","updated_at":"2026-06-22T09:59:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db45361b6379afe81d93dfd2dc3246935a098ce4.webp?v=1782093568","variant_ids":[44273213505635]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135352-BF06","featured_media":{"alt":null,"id":27552506576995,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db45361b6379afe81d93dfd2dc3246935a098ce4.webp?v=1782093568"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273213997155,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034731475043,"product_id":8037663768675,"position":1,"created_at":"2026-06-22T09:59:23+08:00","updated_at":"2026-06-22T09:59:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/057406be1969344a3b084343e204f89867e9be37.webp?v=1782093565","variant_ids":[44273213997155]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01353O8-BF06","featured_media":{"alt":null,"id":27552502644835,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/057406be1969344a3b084343e204f89867e9be37.webp?v=1782093565"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273214619747,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034732294243,"product_id":8037663768675,"position":3,"created_at":"2026-06-22T09:59:24+08:00","updated_at":"2026-06-22T09:59:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/559e215a1236260ba62d7743127bacdee2959096.webp?v=1782093565","variant_ids":[44273214619747]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135353-BF06","featured_media":{"alt":null,"id":27552503464035,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/559e215a1236260ba62d7743127bacdee2959096.webp?v=1782093565"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44273201578083,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-BF06","requires_shipping":true,"taxable":true,"featured_image":{"id":36034737078371,"product_id":8037663768675,"position":11,"created_at":"2026-06-22T09:59:28+08:00","updated_at":"2026-06-22T09:59:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/214c18a2a1fbc9dbb1c2f7296cbd05f41e2c1610.webp?v=1782093570","variant_ids":[44273201578083]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Bebel Franco Samba - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013534I-BF06","featured_media":{"alt":null,"id":27552508248163,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/214c18a2a1fbc9dbb1c2f7296cbd05f41e2c1610.webp?v=1782093570"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(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: "停產"
}