$product = {"id":8037666979939,"title":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble","handle":"iphone-17-pro-solidx-magsafe-bf05","description":null,"published_at":"2026-06-22T12:02:59+08:00","created_at":"2026-06-22T09:59:29+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-bebelfranco","device-iPhone 17 Pro","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":44273209606243,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034754543715,"product_id":8037666979939,"position":3,"created_at":"2026-06-22T10:00:14+08:00","updated_at":"2026-06-22T10:00:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957edcb7940b48980fa0620b01f39e3343c03894.webp?v=1782093616","variant_ids":[44273209606243]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS013524I-BF05","featured_media":{"alt":null,"id":27552525680739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957edcb7940b48980fa0620b01f39e3343c03894.webp?v=1782093616"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273223729251,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034759884899,"product_id":8037666979939,"position":13,"created_at":"2026-06-22T10:00:21+08:00","updated_at":"2026-06-22T10:00:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67bcd88a03fd8e403f7f646f9b4a79b298aabb37.webp?v=1782093623","variant_ids":[44273223729251]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS013526A-BF05","featured_media":{"alt":null,"id":27552531021923,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67bcd88a03fd8e403f7f646f9b4a79b298aabb37.webp?v=1782093623"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273224056931,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034755788899,"product_id":8037666979939,"position":6,"created_at":"2026-06-22T10:00:16+08:00","updated_at":"2026-06-22T10:00:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658ba803a39551af70d33a5758c4e7397999a265.webp?v=1782093618","variant_ids":[44273224056931]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS013525Z-BF05","featured_media":{"alt":null,"id":27552526925923,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658ba803a39551af70d33a5758c4e7397999a265.webp?v=1782093618"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273224286307,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034754740323,"product_id":8037666979939,"position":4,"created_at":"2026-06-22T10:00:14+08:00","updated_at":"2026-06-22T10:00:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c1b6918289f528e58fc9b2776e2d95eeaa6db9.webp?v=1782093617","variant_ids":[44273224286307]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS013525Y-BF05","featured_media":{"alt":null,"id":27552525877347,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c1b6918289f528e58fc9b2776e2d95eeaa6db9.webp?v=1782093617"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273224548451,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034759196771,"product_id":8037666979939,"position":12,"created_at":"2026-06-22T10:00:19+08:00","updated_at":"2026-06-22T10:00:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1d3d57141c1db57b0e9a8387a64690ce6a0f24d.webp?v=1782093621","variant_ids":[44273224548451]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS013525X-BF05","featured_media":{"alt":null,"id":27552530333795,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1d3d57141c1db57b0e9a8387a64690ce6a0f24d.webp?v=1782093621"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273224974435,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034758672483,"product_id":8037666979939,"position":11,"created_at":"2026-06-22T10:00:19+08:00","updated_at":"2026-06-22T10:00:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e43453b382c40fa2e34c8a85448fdc03051568b.webp?v=1782093621","variant_ids":[44273224974435]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS013525H-BF05","featured_media":{"alt":null,"id":27552529809507,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e43453b382c40fa2e34c8a85448fdc03051568b.webp?v=1782093621"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273225465955,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034754216035,"product_id":8037666979939,"position":2,"created_at":"2026-06-22T10:00:13+08:00","updated_at":"2026-06-22T10:00:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3d9ba1356ef81e9b42f027079ce315005e75f1c.webp?v=1782093616","variant_ids":[44273225465955]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS013524H-BF05","featured_media":{"alt":null,"id":27552525353059,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3d9ba1356ef81e9b42f027079ce315005e75f1c.webp?v=1782093616"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273225859171,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034753822819,"product_id":8037666979939,"position":1,"created_at":"2026-06-22T10:00:13+08:00","updated_at":"2026-06-22T10:00:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/816574cd7a92ef1e5b7bceb3485c635b88287150.webp?v=1782093615","variant_ids":[44273225859171]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS013523O-BF05","featured_media":{"alt":null,"id":27552524959843,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/816574cd7a92ef1e5b7bceb3485c635b88287150.webp?v=1782093615"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273226285155,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034757165155,"product_id":8037666979939,"position":8,"created_at":"2026-06-22T10:00:17+08:00","updated_at":"2026-06-22T10:00:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff13275ada49c2167b86882b7afca8874cf47693.webp?v=1782093619","variant_ids":[44273226285155]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS013520F-BF05","featured_media":{"alt":null,"id":27552528334947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff13275ada49c2167b86882b7afca8874cf47693.webp?v=1782093619"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273226645603,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034757591139,"product_id":8037666979939,"position":9,"created_at":"2026-06-22T10:00:18+08:00","updated_at":"2026-06-22T10:00:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f649d8c18aa611e0e271ed0ec6aaf4bd7969da8c.webp?v=1782093620","variant_ids":[44273226645603]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS013520B-BF05","featured_media":{"alt":null,"id":27552528728163,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f649d8c18aa611e0e271ed0ec6aaf4bd7969da8c.webp?v=1782093620"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273227137123,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034755395683,"product_id":8037666979939,"position":5,"created_at":"2026-06-22T10:00:15+08:00","updated_at":"2026-06-22T10:00:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79e1c2689c13d30dce079aa812733ff4d2ad7c0c.webp?v=1782093617","variant_ids":[44273227137123]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-BF05","featured_media":{"alt":null,"id":27552526565475,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79e1c2689c13d30dce079aa812733ff4d2ad7c0c.webp?v=1782093617"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273227628643,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034756477027,"product_id":8037666979939,"position":7,"created_at":"2026-06-22T10:00:17+08:00","updated_at":"2026-06-22T10:00:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c25f8b6572d6694afcba5a22af27203496f81c7.webp?v=1782093619","variant_ids":[44273227628643]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS01352O8-BF05","featured_media":{"alt":null,"id":27552527614051,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c25f8b6572d6694afcba5a22af27203496f81c7.webp?v=1782093619"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273227956323,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034757984355,"product_id":8037666979939,"position":10,"created_at":"2026-06-22T10:00:18+08:00","updated_at":"2026-06-22T10:00:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a05d2a21acae66d00fce1287ccfbfbf8452f1c4c.webp?v=1782093621","variant_ids":[44273227956323]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-BF05","featured_media":{"alt":null,"id":27552529121379,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a05d2a21acae66d00fce1287ccfbfbf8452f1c4c.webp?v=1782093621"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/816574cd7a92ef1e5b7bceb3485c635b88287150.webp?v=1782093615","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3d9ba1356ef81e9b42f027079ce315005e75f1c.webp?v=1782093616","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957edcb7940b48980fa0620b01f39e3343c03894.webp?v=1782093616","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c1b6918289f528e58fc9b2776e2d95eeaa6db9.webp?v=1782093617","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79e1c2689c13d30dce079aa812733ff4d2ad7c0c.webp?v=1782093617","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658ba803a39551af70d33a5758c4e7397999a265.webp?v=1782093618","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c25f8b6572d6694afcba5a22af27203496f81c7.webp?v=1782093619","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff13275ada49c2167b86882b7afca8874cf47693.webp?v=1782093619","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f649d8c18aa611e0e271ed0ec6aaf4bd7969da8c.webp?v=1782093620","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a05d2a21acae66d00fce1287ccfbfbf8452f1c4c.webp?v=1782093621","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e43453b382c40fa2e34c8a85448fdc03051568b.webp?v=1782093621","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1d3d57141c1db57b0e9a8387a64690ce6a0f24d.webp?v=1782093621","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67bcd88a03fd8e403f7f646f9b4a79b298aabb37.webp?v=1782093623"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/816574cd7a92ef1e5b7bceb3485c635b88287150.webp?v=1782093615","options":["color"],"media":[{"alt":null,"id":27552524959843,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/816574cd7a92ef1e5b7bceb3485c635b88287150.webp?v=1782093615"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/816574cd7a92ef1e5b7bceb3485c635b88287150.webp?v=1782093615","width":2000},{"alt":null,"id":27552525353059,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3d9ba1356ef81e9b42f027079ce315005e75f1c.webp?v=1782093616"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3d9ba1356ef81e9b42f027079ce315005e75f1c.webp?v=1782093616","width":2000},{"alt":null,"id":27552525680739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957edcb7940b48980fa0620b01f39e3343c03894.webp?v=1782093616"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957edcb7940b48980fa0620b01f39e3343c03894.webp?v=1782093616","width":2000},{"alt":null,"id":27552525877347,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c1b6918289f528e58fc9b2776e2d95eeaa6db9.webp?v=1782093617"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c1b6918289f528e58fc9b2776e2d95eeaa6db9.webp?v=1782093617","width":2000},{"alt":null,"id":27552526565475,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79e1c2689c13d30dce079aa812733ff4d2ad7c0c.webp?v=1782093617"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79e1c2689c13d30dce079aa812733ff4d2ad7c0c.webp?v=1782093617","width":2000},{"alt":null,"id":27552526925923,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658ba803a39551af70d33a5758c4e7397999a265.webp?v=1782093618"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658ba803a39551af70d33a5758c4e7397999a265.webp?v=1782093618","width":2000},{"alt":null,"id":27552527614051,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c25f8b6572d6694afcba5a22af27203496f81c7.webp?v=1782093619"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c25f8b6572d6694afcba5a22af27203496f81c7.webp?v=1782093619","width":2000},{"alt":null,"id":27552528334947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff13275ada49c2167b86882b7afca8874cf47693.webp?v=1782093619"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff13275ada49c2167b86882b7afca8874cf47693.webp?v=1782093619","width":2000},{"alt":null,"id":27552528728163,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f649d8c18aa611e0e271ed0ec6aaf4bd7969da8c.webp?v=1782093620"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f649d8c18aa611e0e271ed0ec6aaf4bd7969da8c.webp?v=1782093620","width":2000},{"alt":null,"id":27552529121379,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a05d2a21acae66d00fce1287ccfbfbf8452f1c4c.webp?v=1782093621"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a05d2a21acae66d00fce1287ccfbfbf8452f1c4c.webp?v=1782093621","width":2000},{"alt":null,"id":27552529809507,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e43453b382c40fa2e34c8a85448fdc03051568b.webp?v=1782093621"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e43453b382c40fa2e34c8a85448fdc03051568b.webp?v=1782093621","width":2000},{"alt":null,"id":27552530333795,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1d3d57141c1db57b0e9a8387a64690ce6a0f24d.webp?v=1782093621"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1d3d57141c1db57b0e9a8387a64690ce6a0f24d.webp?v=1782093621","width":2000},{"alt":null,"id":27552531021923,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67bcd88a03fd8e403f7f646f9b4a79b298aabb37.webp?v=1782093623"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67bcd88a03fd8e403f7f646f9b4a79b298aabb37.webp?v=1782093623","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44273209606243,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034754543715,"product_id":8037666979939,"position":3,"created_at":"2026-06-22T10:00:14+08:00","updated_at":"2026-06-22T10:00:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957edcb7940b48980fa0620b01f39e3343c03894.webp?v=1782093616","variant_ids":[44273209606243]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS013524I-BF05","featured_media":{"alt":null,"id":27552525680739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957edcb7940b48980fa0620b01f39e3343c03894.webp?v=1782093616"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273223729251,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034759884899,"product_id":8037666979939,"position":13,"created_at":"2026-06-22T10:00:21+08:00","updated_at":"2026-06-22T10:00:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67bcd88a03fd8e403f7f646f9b4a79b298aabb37.webp?v=1782093623","variant_ids":[44273223729251]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS013526A-BF05","featured_media":{"alt":null,"id":27552531021923,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67bcd88a03fd8e403f7f646f9b4a79b298aabb37.webp?v=1782093623"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273224056931,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034755788899,"product_id":8037666979939,"position":6,"created_at":"2026-06-22T10:00:16+08:00","updated_at":"2026-06-22T10:00:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658ba803a39551af70d33a5758c4e7397999a265.webp?v=1782093618","variant_ids":[44273224056931]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS013525Z-BF05","featured_media":{"alt":null,"id":27552526925923,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658ba803a39551af70d33a5758c4e7397999a265.webp?v=1782093618"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273224286307,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034754740323,"product_id":8037666979939,"position":4,"created_at":"2026-06-22T10:00:14+08:00","updated_at":"2026-06-22T10:00:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c1b6918289f528e58fc9b2776e2d95eeaa6db9.webp?v=1782093617","variant_ids":[44273224286307]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS013525Y-BF05","featured_media":{"alt":null,"id":27552525877347,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c1b6918289f528e58fc9b2776e2d95eeaa6db9.webp?v=1782093617"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273224548451,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034759196771,"product_id":8037666979939,"position":12,"created_at":"2026-06-22T10:00:19+08:00","updated_at":"2026-06-22T10:00:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1d3d57141c1db57b0e9a8387a64690ce6a0f24d.webp?v=1782093621","variant_ids":[44273224548451]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS013525X-BF05","featured_media":{"alt":null,"id":27552530333795,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1d3d57141c1db57b0e9a8387a64690ce6a0f24d.webp?v=1782093621"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273224974435,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034758672483,"product_id":8037666979939,"position":11,"created_at":"2026-06-22T10:00:19+08:00","updated_at":"2026-06-22T10:00:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e43453b382c40fa2e34c8a85448fdc03051568b.webp?v=1782093621","variant_ids":[44273224974435]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS013525H-BF05","featured_media":{"alt":null,"id":27552529809507,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e43453b382c40fa2e34c8a85448fdc03051568b.webp?v=1782093621"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273225465955,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034754216035,"product_id":8037666979939,"position":2,"created_at":"2026-06-22T10:00:13+08:00","updated_at":"2026-06-22T10:00:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3d9ba1356ef81e9b42f027079ce315005e75f1c.webp?v=1782093616","variant_ids":[44273225465955]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS013524H-BF05","featured_media":{"alt":null,"id":27552525353059,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3d9ba1356ef81e9b42f027079ce315005e75f1c.webp?v=1782093616"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273225859171,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034753822819,"product_id":8037666979939,"position":1,"created_at":"2026-06-22T10:00:13+08:00","updated_at":"2026-06-22T10:00:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/816574cd7a92ef1e5b7bceb3485c635b88287150.webp?v=1782093615","variant_ids":[44273225859171]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS013523O-BF05","featured_media":{"alt":null,"id":27552524959843,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/816574cd7a92ef1e5b7bceb3485c635b88287150.webp?v=1782093615"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273226285155,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034757165155,"product_id":8037666979939,"position":8,"created_at":"2026-06-22T10:00:17+08:00","updated_at":"2026-06-22T10:00:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff13275ada49c2167b86882b7afca8874cf47693.webp?v=1782093619","variant_ids":[44273226285155]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS013520F-BF05","featured_media":{"alt":null,"id":27552528334947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff13275ada49c2167b86882b7afca8874cf47693.webp?v=1782093619"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273226645603,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034757591139,"product_id":8037666979939,"position":9,"created_at":"2026-06-22T10:00:18+08:00","updated_at":"2026-06-22T10:00:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f649d8c18aa611e0e271ed0ec6aaf4bd7969da8c.webp?v=1782093620","variant_ids":[44273226645603]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS013520B-BF05","featured_media":{"alt":null,"id":27552528728163,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f649d8c18aa611e0e271ed0ec6aaf4bd7969da8c.webp?v=1782093620"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273227137123,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034755395683,"product_id":8037666979939,"position":5,"created_at":"2026-06-22T10:00:15+08:00","updated_at":"2026-06-22T10:00:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79e1c2689c13d30dce079aa812733ff4d2ad7c0c.webp?v=1782093617","variant_ids":[44273227137123]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-BF05","featured_media":{"alt":null,"id":27552526565475,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79e1c2689c13d30dce079aa812733ff4d2ad7c0c.webp?v=1782093617"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273227628643,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034756477027,"product_id":8037666979939,"position":7,"created_at":"2026-06-22T10:00:17+08:00","updated_at":"2026-06-22T10:00:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c25f8b6572d6694afcba5a22af27203496f81c7.webp?v=1782093619","variant_ids":[44273227628643]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS01352O8-BF05","featured_media":{"alt":null,"id":27552527614051,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c25f8b6572d6694afcba5a22af27203496f81c7.webp?v=1782093619"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273227956323,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034757984355,"product_id":8037666979939,"position":10,"created_at":"2026-06-22T10:00:18+08:00","updated_at":"2026-06-22T10:00:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a05d2a21acae66d00fce1287ccfbfbf8452f1c4c.webp?v=1782093621","variant_ids":[44273227956323]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-BF05","featured_media":{"alt":null,"id":27552529121379,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a05d2a21acae66d00fce1287ccfbfbf8452f1c4c.webp?v=1782093621"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44273209606243,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-BF05","requires_shipping":true,"taxable":true,"featured_image":{"id":36034754543715,"product_id":8037666979939,"position":3,"created_at":"2026-06-22T10:00:14+08:00","updated_at":"2026-06-22T10:00:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957edcb7940b48980fa0620b01f39e3343c03894.webp?v=1782093616","variant_ids":[44273209606243]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Bubble - 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":"MNS013524I-BF05","featured_media":{"alt":null,"id":27552525680739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957edcb7940b48980fa0620b01f39e3343c03894.webp?v=1782093616"}},"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: "停產" }