$product = {"id":8037667209315,"title":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu","handle":"iphone-17-pro-solidx-magsafe-bf12","description":null,"published_at":"2026-06-22T12:02:57+08:00","created_at":"2026-06-22T09:59:31+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":44273210458211,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034759393379,"product_id":8037667209315,"position":8,"created_at":"2026-06-22T10:00:20+08:00","updated_at":"2026-06-22T10:00:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/315a696567508932f6d3c0c3807053e26799c51c.webp?v=1782093622","variant_ids":[44273210458211]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552530530403,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/315a696567508932f6d3c0c3807053e26799c51c.webp?v=1782093622"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273224450147,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034757918819,"product_id":8037667209315,"position":5,"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\/7cd7e3a46728748c44b7d30b02c7ecc896ac7149.webp?v=1782093620","variant_ids":[44273224450147]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552529088611,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cd7e3a46728748c44b7d30b02c7ecc896ac7149.webp?v=1782093620"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273224908899,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034760638563,"product_id":8037667209315,"position":11,"created_at":"2026-06-22T10:00:22+08:00","updated_at":"2026-06-22T10:00:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9b3dc8bd6f13e511c2814cf406705c0b8a7b7b0.webp?v=1782093624","variant_ids":[44273224908899]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552531742819,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9b3dc8bd6f13e511c2814cf406705c0b8a7b7b0.webp?v=1782093624"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273225400419,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034757001315,"product_id":8037667209315,"position":3,"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\/b6e24f0896741f88b4a80b0495004ea7310855ba.webp?v=1782093619","variant_ids":[44273225400419]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552528138339,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6e24f0896741f88b4a80b0495004ea7310855ba.webp?v=1782093619"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273225597027,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034759819363,"product_id":8037667209315,"position":9,"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\/6c621c7866e586197fa0bd63a0c7624e21b3e028.webp?v=1782093623","variant_ids":[44273225597027]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552530956387,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c621c7866e586197fa0bd63a0c7624e21b3e028.webp?v=1782093623"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273226088547,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034756444259,"product_id":8037667209315,"position":2,"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\/23f5c962e3aeb3e541d44cb8dfa7bfdbf116e7ed.webp?v=1782093619","variant_ids":[44273226088547]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552527581283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23f5c962e3aeb3e541d44cb8dfa7bfdbf116e7ed.webp?v=1782093619"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273226874979,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034761162851,"product_id":8037667209315,"position":12,"created_at":"2026-06-22T10:00:22+08:00","updated_at":"2026-06-22T10:00:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/289df0c0322400d29df148a6e8a8b2f1a579700b.webp?v=1782093624","variant_ids":[44273226874979]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552532299875,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/289df0c0322400d29df148a6e8a8b2f1a579700b.webp?v=1782093624"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273227235427,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034756018275,"product_id":8037667209315,"position":1,"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\/616b15a9e695196042370afeb92ca2a850433d9a.webp?v=1782093618","variant_ids":[44273227235427]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552527155299,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/616b15a9e695196042370afeb92ca2a850433d9a.webp?v=1782093618"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273227595875,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034757460067,"product_id":8037667209315,"position":4,"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\/7df4ca9ed68a2f9cc1301044d7b3cc6d21dd48d3.webp?v=1782093620","variant_ids":[44273227595875]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552528597091,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7df4ca9ed68a2f9cc1301044d7b3cc6d21dd48d3.webp?v=1782093620"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273228021859,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034758639715,"product_id":8037667209315,"position":6,"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\/0ae333a0b5d8f5a1a2a1159a82560755d72609cf.webp?v=1782093621","variant_ids":[44273228021859]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552529776739,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ae333a0b5d8f5a1a2a1159a82560755d72609cf.webp?v=1782093621"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273228480611,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034761523299,"product_id":8037667209315,"position":13,"created_at":"2026-06-22T10:00:23+08:00","updated_at":"2026-06-22T10:00:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2863115974c7136a88566d3a5af45167db13d2cc.webp?v=1782093625","variant_ids":[44273228480611]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552532660323,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2863115974c7136a88566d3a5af45167db13d2cc.webp?v=1782093625"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273229004899,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034759032931,"product_id":8037667209315,"position":7,"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\/faa5c1b4f90d471e2db96ccd27f3d73ac64879c3.webp?v=1782093621","variant_ids":[44273229004899]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552530202723,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa5c1b4f90d471e2db96ccd27f3d73ac64879c3.webp?v=1782093621"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273229430883,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034760278115,"product_id":8037667209315,"position":10,"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\/d119e15caf6d6540c6efb56f479e4cdda0f7cea2.webp?v=1782093623","variant_ids":[44273229430883]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552531415139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d119e15caf6d6540c6efb56f479e4cdda0f7cea2.webp?v=1782093623"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/616b15a9e695196042370afeb92ca2a850433d9a.webp?v=1782093618","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23f5c962e3aeb3e541d44cb8dfa7bfdbf116e7ed.webp?v=1782093619","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6e24f0896741f88b4a80b0495004ea7310855ba.webp?v=1782093619","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7df4ca9ed68a2f9cc1301044d7b3cc6d21dd48d3.webp?v=1782093620","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cd7e3a46728748c44b7d30b02c7ecc896ac7149.webp?v=1782093620","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ae333a0b5d8f5a1a2a1159a82560755d72609cf.webp?v=1782093621","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa5c1b4f90d471e2db96ccd27f3d73ac64879c3.webp?v=1782093621","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/315a696567508932f6d3c0c3807053e26799c51c.webp?v=1782093622","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c621c7866e586197fa0bd63a0c7624e21b3e028.webp?v=1782093623","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d119e15caf6d6540c6efb56f479e4cdda0f7cea2.webp?v=1782093623","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9b3dc8bd6f13e511c2814cf406705c0b8a7b7b0.webp?v=1782093624","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/289df0c0322400d29df148a6e8a8b2f1a579700b.webp?v=1782093624","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2863115974c7136a88566d3a5af45167db13d2cc.webp?v=1782093625"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/616b15a9e695196042370afeb92ca2a850433d9a.webp?v=1782093618","options":["color"],"media":[{"alt":null,"id":27552527155299,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/616b15a9e695196042370afeb92ca2a850433d9a.webp?v=1782093618"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/616b15a9e695196042370afeb92ca2a850433d9a.webp?v=1782093618","width":2000},{"alt":null,"id":27552527581283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23f5c962e3aeb3e541d44cb8dfa7bfdbf116e7ed.webp?v=1782093619"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23f5c962e3aeb3e541d44cb8dfa7bfdbf116e7ed.webp?v=1782093619","width":2000},{"alt":null,"id":27552528138339,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6e24f0896741f88b4a80b0495004ea7310855ba.webp?v=1782093619"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6e24f0896741f88b4a80b0495004ea7310855ba.webp?v=1782093619","width":2000},{"alt":null,"id":27552528597091,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7df4ca9ed68a2f9cc1301044d7b3cc6d21dd48d3.webp?v=1782093620"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7df4ca9ed68a2f9cc1301044d7b3cc6d21dd48d3.webp?v=1782093620","width":2000},{"alt":null,"id":27552529088611,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cd7e3a46728748c44b7d30b02c7ecc896ac7149.webp?v=1782093620"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cd7e3a46728748c44b7d30b02c7ecc896ac7149.webp?v=1782093620","width":2000},{"alt":null,"id":27552529776739,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ae333a0b5d8f5a1a2a1159a82560755d72609cf.webp?v=1782093621"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ae333a0b5d8f5a1a2a1159a82560755d72609cf.webp?v=1782093621","width":2000},{"alt":null,"id":27552530202723,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa5c1b4f90d471e2db96ccd27f3d73ac64879c3.webp?v=1782093621"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa5c1b4f90d471e2db96ccd27f3d73ac64879c3.webp?v=1782093621","width":2000},{"alt":null,"id":27552530530403,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/315a696567508932f6d3c0c3807053e26799c51c.webp?v=1782093622"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/315a696567508932f6d3c0c3807053e26799c51c.webp?v=1782093622","width":2000},{"alt":null,"id":27552530956387,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c621c7866e586197fa0bd63a0c7624e21b3e028.webp?v=1782093623"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c621c7866e586197fa0bd63a0c7624e21b3e028.webp?v=1782093623","width":2000},{"alt":null,"id":27552531415139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d119e15caf6d6540c6efb56f479e4cdda0f7cea2.webp?v=1782093623"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d119e15caf6d6540c6efb56f479e4cdda0f7cea2.webp?v=1782093623","width":2000},{"alt":null,"id":27552531742819,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9b3dc8bd6f13e511c2814cf406705c0b8a7b7b0.webp?v=1782093624"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9b3dc8bd6f13e511c2814cf406705c0b8a7b7b0.webp?v=1782093624","width":2000},{"alt":null,"id":27552532299875,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/289df0c0322400d29df148a6e8a8b2f1a579700b.webp?v=1782093624"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/289df0c0322400d29df148a6e8a8b2f1a579700b.webp?v=1782093624","width":2000},{"alt":null,"id":27552532660323,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2863115974c7136a88566d3a5af45167db13d2cc.webp?v=1782093625"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2863115974c7136a88566d3a5af45167db13d2cc.webp?v=1782093625","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44273210458211,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034759393379,"product_id":8037667209315,"position":8,"created_at":"2026-06-22T10:00:20+08:00","updated_at":"2026-06-22T10:00:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/315a696567508932f6d3c0c3807053e26799c51c.webp?v=1782093622","variant_ids":[44273210458211]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552530530403,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/315a696567508932f6d3c0c3807053e26799c51c.webp?v=1782093622"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273224450147,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034757918819,"product_id":8037667209315,"position":5,"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\/7cd7e3a46728748c44b7d30b02c7ecc896ac7149.webp?v=1782093620","variant_ids":[44273224450147]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552529088611,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cd7e3a46728748c44b7d30b02c7ecc896ac7149.webp?v=1782093620"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273224908899,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034760638563,"product_id":8037667209315,"position":11,"created_at":"2026-06-22T10:00:22+08:00","updated_at":"2026-06-22T10:00:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9b3dc8bd6f13e511c2814cf406705c0b8a7b7b0.webp?v=1782093624","variant_ids":[44273224908899]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552531742819,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9b3dc8bd6f13e511c2814cf406705c0b8a7b7b0.webp?v=1782093624"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273225400419,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034757001315,"product_id":8037667209315,"position":3,"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\/b6e24f0896741f88b4a80b0495004ea7310855ba.webp?v=1782093619","variant_ids":[44273225400419]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552528138339,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6e24f0896741f88b4a80b0495004ea7310855ba.webp?v=1782093619"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273225597027,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034759819363,"product_id":8037667209315,"position":9,"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\/6c621c7866e586197fa0bd63a0c7624e21b3e028.webp?v=1782093623","variant_ids":[44273225597027]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552530956387,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c621c7866e586197fa0bd63a0c7624e21b3e028.webp?v=1782093623"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273226088547,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034756444259,"product_id":8037667209315,"position":2,"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\/23f5c962e3aeb3e541d44cb8dfa7bfdbf116e7ed.webp?v=1782093619","variant_ids":[44273226088547]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552527581283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23f5c962e3aeb3e541d44cb8dfa7bfdbf116e7ed.webp?v=1782093619"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273226874979,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034761162851,"product_id":8037667209315,"position":12,"created_at":"2026-06-22T10:00:22+08:00","updated_at":"2026-06-22T10:00:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/289df0c0322400d29df148a6e8a8b2f1a579700b.webp?v=1782093624","variant_ids":[44273226874979]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552532299875,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/289df0c0322400d29df148a6e8a8b2f1a579700b.webp?v=1782093624"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273227235427,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034756018275,"product_id":8037667209315,"position":1,"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\/616b15a9e695196042370afeb92ca2a850433d9a.webp?v=1782093618","variant_ids":[44273227235427]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552527155299,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/616b15a9e695196042370afeb92ca2a850433d9a.webp?v=1782093618"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273227595875,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034757460067,"product_id":8037667209315,"position":4,"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\/7df4ca9ed68a2f9cc1301044d7b3cc6d21dd48d3.webp?v=1782093620","variant_ids":[44273227595875]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552528597091,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7df4ca9ed68a2f9cc1301044d7b3cc6d21dd48d3.webp?v=1782093620"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273228021859,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034758639715,"product_id":8037667209315,"position":6,"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\/0ae333a0b5d8f5a1a2a1159a82560755d72609cf.webp?v=1782093621","variant_ids":[44273228021859]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552529776739,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ae333a0b5d8f5a1a2a1159a82560755d72609cf.webp?v=1782093621"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273228480611,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034761523299,"product_id":8037667209315,"position":13,"created_at":"2026-06-22T10:00:23+08:00","updated_at":"2026-06-22T10:00:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2863115974c7136a88566d3a5af45167db13d2cc.webp?v=1782093625","variant_ids":[44273228480611]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552532660323,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2863115974c7136a88566d3a5af45167db13d2cc.webp?v=1782093625"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273229004899,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034759032931,"product_id":8037667209315,"position":7,"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\/faa5c1b4f90d471e2db96ccd27f3d73ac64879c3.webp?v=1782093621","variant_ids":[44273229004899]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552530202723,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa5c1b4f90d471e2db96ccd27f3d73ac64879c3.webp?v=1782093621"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44273229430883,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034760278115,"product_id":8037667209315,"position":10,"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\/d119e15caf6d6540c6efb56f479e4cdda0f7cea2.webp?v=1782093623","variant_ids":[44273229430883]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552531415139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d119e15caf6d6540c6efb56f479e4cdda0f7cea2.webp?v=1782093623"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44273210458211,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-BF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36034759393379,"product_id":8037667209315,"position":8,"created_at":"2026-06-22T10:00:20+08:00","updated_at":"2026-06-22T10:00:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/315a696567508932f6d3c0c3807053e26799c51c.webp?v=1782093622","variant_ids":[44273210458211]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) Bebel Franco Xingu - 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-BF12","featured_media":{"alt":null,"id":27552530530403,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/315a696567508932f6d3c0c3807053e26799c51c.webp?v=1782093622"}},"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: "停產" }