$product = {"id":8050528845923,"title":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍","handle":"iphone-17-pro-max-solidx-magsafe-jo121","description":null,"published_at":"2026-07-20T15:10:26+08:00","created_at":"2026-07-01T11:11:14+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-kid","device-iPhone 17 Pro Max","merge","reseller-kid"],"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":44306654134371,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140551733347,"product_id":8050528845923,"position":9,"created_at":"2026-07-01T11:12:06+08:00","updated_at":"2026-07-01T11:12:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d583c99cd3eafffa49b701b78da5ec89e996e0b.webp?v=1782875528","variant_ids":[44306654134371]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645442687075,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d583c99cd3eafffa49b701b78da5ec89e996e0b.webp?v=1782875528"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306658361443,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140548685923,"product_id":8050528845923,"position":3,"created_at":"2026-07-01T11:12:02+08:00","updated_at":"2026-07-01T11:12:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/389cebb498c5db7a195c91b3d768aca5de13fc0e.webp?v=1782875525","variant_ids":[44306658361443]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645439737955,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/389cebb498c5db7a195c91b3d768aca5de13fc0e.webp?v=1782875525"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306658558051,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140549537891,"product_id":8050528845923,"position":5,"created_at":"2026-07-01T11:12:04+08:00","updated_at":"2026-07-01T11:12:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77cabc6be058f56cafddc0d12e8ff10a04ac5713.webp?v=1782875526","variant_ids":[44306658558051]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645440589923,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77cabc6be058f56cafddc0d12e8ff10a04ac5713.webp?v=1782875526"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306658754659,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140553666659,"product_id":8050528845923,"position":12,"created_at":"2026-07-01T11:12:08+08:00","updated_at":"2026-07-01T11:12:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0591eee7a11681c799cb5486b78e3c11a4207f0c.webp?v=1782875530","variant_ids":[44306658754659]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645444718691,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0591eee7a11681c799cb5486b78e3c11a4207f0c.webp?v=1782875530"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306658951267,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140553109603,"product_id":8050528845923,"position":11,"created_at":"2026-07-01T11:12:07+08:00","updated_at":"2026-07-01T11:12:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fd92b581d98dfe93b12d48d463c5b42188f83ab.webp?v=1782875529","variant_ids":[44306658951267]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645444161635,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fd92b581d98dfe93b12d48d463c5b42188f83ab.webp?v=1782875529"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306659180643,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140550520931,"product_id":8050528845923,"position":7,"created_at":"2026-07-01T11:12:05+08:00","updated_at":"2026-07-01T11:12:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1159b2bdd43504ad07ff9ef860bee34859b4e9e9.webp?v=1782875527","variant_ids":[44306659180643]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645441572963,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1159b2bdd43504ad07ff9ef860bee34859b4e9e9.webp?v=1782875527"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306659377251,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140549996643,"product_id":8050528845923,"position":6,"created_at":"2026-07-01T11:12:04+08:00","updated_at":"2026-07-01T11:12:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ad165b441bd1f10824c61cd66f718c44c1f6ecd.webp?v=1782875526","variant_ids":[44306659377251]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645441081443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ad165b441bd1f10824c61cd66f718c44c1f6ecd.webp?v=1782875526"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306659573859,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140548227171,"product_id":8050528845923,"position":2,"created_at":"2026-07-01T11:12:02+08:00","updated_at":"2026-07-01T11:12:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7b5d20bc4bc6c1a065064bc521e44e4bf4f9d0.webp?v=1782875524","variant_ids":[44306659573859]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645439279203,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7b5d20bc4bc6c1a065064bc521e44e4bf4f9d0.webp?v=1782875524"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306659770467,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140549210211,"product_id":8050528845923,"position":4,"created_at":"2026-07-01T11:12:03+08:00","updated_at":"2026-07-01T11:12:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb73cd8c18239777289f03c877efa3e1633aa45a.webp?v=1782875525","variant_ids":[44306659770467]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645440262243,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb73cd8c18239777289f03c877efa3e1633aa45a.webp?v=1782875525"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306659999843,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140554518627,"product_id":8050528845923,"position":13,"created_at":"2026-07-01T11:12:09+08:00","updated_at":"2026-07-01T11:12:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f9db644fea970d30d7fe89cab4284ac958e3052.webp?v=1782875531","variant_ids":[44306659999843]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645445439587,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f9db644fea970d30d7fe89cab4284ac958e3052.webp?v=1782875531"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306660196451,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140551012451,"product_id":8050528845923,"position":8,"created_at":"2026-07-01T11:12:05+08:00","updated_at":"2026-07-01T11:12:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f71108eee507be14477b8f49075f09b4a76d81e.webp?v=1782875528","variant_ids":[44306660196451]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645442064483,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f71108eee507be14477b8f49075f09b4a76d81e.webp?v=1782875528"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306660360291,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140547965027,"product_id":8050528845923,"position":1,"created_at":"2026-07-01T11:12:01+08:00","updated_at":"2026-07-01T11:12:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c4bfca57a8edaabf6884e5392d656e5339b9557.webp?v=1782875524","variant_ids":[44306660360291]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645438918755,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c4bfca57a8edaabf6884e5392d656e5339b9557.webp?v=1782875524"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306660589667,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140552323171,"product_id":8050528845923,"position":10,"created_at":"2026-07-01T11:12:06+08:00","updated_at":"2026-07-01T11:12:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7282ce4013db8c7beb05445d93380014a728065d.webp?v=1782875529","variant_ids":[44306660589667]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645443375203,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7282ce4013db8c7beb05445d93380014a728065d.webp?v=1782875529"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c4bfca57a8edaabf6884e5392d656e5339b9557.webp?v=1782875524","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7b5d20bc4bc6c1a065064bc521e44e4bf4f9d0.webp?v=1782875524","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/389cebb498c5db7a195c91b3d768aca5de13fc0e.webp?v=1782875525","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb73cd8c18239777289f03c877efa3e1633aa45a.webp?v=1782875525","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77cabc6be058f56cafddc0d12e8ff10a04ac5713.webp?v=1782875526","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ad165b441bd1f10824c61cd66f718c44c1f6ecd.webp?v=1782875526","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1159b2bdd43504ad07ff9ef860bee34859b4e9e9.webp?v=1782875527","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f71108eee507be14477b8f49075f09b4a76d81e.webp?v=1782875528","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d583c99cd3eafffa49b701b78da5ec89e996e0b.webp?v=1782875528","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7282ce4013db8c7beb05445d93380014a728065d.webp?v=1782875529","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fd92b581d98dfe93b12d48d463c5b42188f83ab.webp?v=1782875529","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0591eee7a11681c799cb5486b78e3c11a4207f0c.webp?v=1782875530","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f9db644fea970d30d7fe89cab4284ac958e3052.webp?v=1782875531"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c4bfca57a8edaabf6884e5392d656e5339b9557.webp?v=1782875524","options":["color"],"media":[{"alt":null,"id":27645438918755,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c4bfca57a8edaabf6884e5392d656e5339b9557.webp?v=1782875524"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c4bfca57a8edaabf6884e5392d656e5339b9557.webp?v=1782875524","width":2000},{"alt":null,"id":27645439279203,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7b5d20bc4bc6c1a065064bc521e44e4bf4f9d0.webp?v=1782875524"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7b5d20bc4bc6c1a065064bc521e44e4bf4f9d0.webp?v=1782875524","width":2000},{"alt":null,"id":27645439737955,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/389cebb498c5db7a195c91b3d768aca5de13fc0e.webp?v=1782875525"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/389cebb498c5db7a195c91b3d768aca5de13fc0e.webp?v=1782875525","width":2000},{"alt":null,"id":27645440262243,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb73cd8c18239777289f03c877efa3e1633aa45a.webp?v=1782875525"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb73cd8c18239777289f03c877efa3e1633aa45a.webp?v=1782875525","width":2000},{"alt":null,"id":27645440589923,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77cabc6be058f56cafddc0d12e8ff10a04ac5713.webp?v=1782875526"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77cabc6be058f56cafddc0d12e8ff10a04ac5713.webp?v=1782875526","width":2000},{"alt":null,"id":27645441081443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ad165b441bd1f10824c61cd66f718c44c1f6ecd.webp?v=1782875526"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ad165b441bd1f10824c61cd66f718c44c1f6ecd.webp?v=1782875526","width":2000},{"alt":null,"id":27645441572963,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1159b2bdd43504ad07ff9ef860bee34859b4e9e9.webp?v=1782875527"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1159b2bdd43504ad07ff9ef860bee34859b4e9e9.webp?v=1782875527","width":2000},{"alt":null,"id":27645442064483,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f71108eee507be14477b8f49075f09b4a76d81e.webp?v=1782875528"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f71108eee507be14477b8f49075f09b4a76d81e.webp?v=1782875528","width":2000},{"alt":null,"id":27645442687075,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d583c99cd3eafffa49b701b78da5ec89e996e0b.webp?v=1782875528"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d583c99cd3eafffa49b701b78da5ec89e996e0b.webp?v=1782875528","width":2000},{"alt":null,"id":27645443375203,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7282ce4013db8c7beb05445d93380014a728065d.webp?v=1782875529"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7282ce4013db8c7beb05445d93380014a728065d.webp?v=1782875529","width":2000},{"alt":null,"id":27645444161635,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fd92b581d98dfe93b12d48d463c5b42188f83ab.webp?v=1782875529"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fd92b581d98dfe93b12d48d463c5b42188f83ab.webp?v=1782875529","width":2000},{"alt":null,"id":27645444718691,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0591eee7a11681c799cb5486b78e3c11a4207f0c.webp?v=1782875530"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0591eee7a11681c799cb5486b78e3c11a4207f0c.webp?v=1782875530","width":2000},{"alt":null,"id":27645445439587,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f9db644fea970d30d7fe89cab4284ac958e3052.webp?v=1782875531"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f9db644fea970d30d7fe89cab4284ac958e3052.webp?v=1782875531","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44306654134371,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140551733347,"product_id":8050528845923,"position":9,"created_at":"2026-07-01T11:12:06+08:00","updated_at":"2026-07-01T11:12:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d583c99cd3eafffa49b701b78da5ec89e996e0b.webp?v=1782875528","variant_ids":[44306654134371]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645442687075,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d583c99cd3eafffa49b701b78da5ec89e996e0b.webp?v=1782875528"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306658361443,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140548685923,"product_id":8050528845923,"position":3,"created_at":"2026-07-01T11:12:02+08:00","updated_at":"2026-07-01T11:12:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/389cebb498c5db7a195c91b3d768aca5de13fc0e.webp?v=1782875525","variant_ids":[44306658361443]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645439737955,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/389cebb498c5db7a195c91b3d768aca5de13fc0e.webp?v=1782875525"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306658558051,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140549537891,"product_id":8050528845923,"position":5,"created_at":"2026-07-01T11:12:04+08:00","updated_at":"2026-07-01T11:12:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77cabc6be058f56cafddc0d12e8ff10a04ac5713.webp?v=1782875526","variant_ids":[44306658558051]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645440589923,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77cabc6be058f56cafddc0d12e8ff10a04ac5713.webp?v=1782875526"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306658754659,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140553666659,"product_id":8050528845923,"position":12,"created_at":"2026-07-01T11:12:08+08:00","updated_at":"2026-07-01T11:12:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0591eee7a11681c799cb5486b78e3c11a4207f0c.webp?v=1782875530","variant_ids":[44306658754659]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645444718691,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0591eee7a11681c799cb5486b78e3c11a4207f0c.webp?v=1782875530"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306658951267,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140553109603,"product_id":8050528845923,"position":11,"created_at":"2026-07-01T11:12:07+08:00","updated_at":"2026-07-01T11:12:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fd92b581d98dfe93b12d48d463c5b42188f83ab.webp?v=1782875529","variant_ids":[44306658951267]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645444161635,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fd92b581d98dfe93b12d48d463c5b42188f83ab.webp?v=1782875529"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306659180643,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140550520931,"product_id":8050528845923,"position":7,"created_at":"2026-07-01T11:12:05+08:00","updated_at":"2026-07-01T11:12:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1159b2bdd43504ad07ff9ef860bee34859b4e9e9.webp?v=1782875527","variant_ids":[44306659180643]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645441572963,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1159b2bdd43504ad07ff9ef860bee34859b4e9e9.webp?v=1782875527"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306659377251,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140549996643,"product_id":8050528845923,"position":6,"created_at":"2026-07-01T11:12:04+08:00","updated_at":"2026-07-01T11:12:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ad165b441bd1f10824c61cd66f718c44c1f6ecd.webp?v=1782875526","variant_ids":[44306659377251]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645441081443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ad165b441bd1f10824c61cd66f718c44c1f6ecd.webp?v=1782875526"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306659573859,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140548227171,"product_id":8050528845923,"position":2,"created_at":"2026-07-01T11:12:02+08:00","updated_at":"2026-07-01T11:12:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7b5d20bc4bc6c1a065064bc521e44e4bf4f9d0.webp?v=1782875524","variant_ids":[44306659573859]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645439279203,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7b5d20bc4bc6c1a065064bc521e44e4bf4f9d0.webp?v=1782875524"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306659770467,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140549210211,"product_id":8050528845923,"position":4,"created_at":"2026-07-01T11:12:03+08:00","updated_at":"2026-07-01T11:12:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb73cd8c18239777289f03c877efa3e1633aa45a.webp?v=1782875525","variant_ids":[44306659770467]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645440262243,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb73cd8c18239777289f03c877efa3e1633aa45a.webp?v=1782875525"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306659999843,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140554518627,"product_id":8050528845923,"position":13,"created_at":"2026-07-01T11:12:09+08:00","updated_at":"2026-07-01T11:12:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f9db644fea970d30d7fe89cab4284ac958e3052.webp?v=1782875531","variant_ids":[44306659999843]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645445439587,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f9db644fea970d30d7fe89cab4284ac958e3052.webp?v=1782875531"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306660196451,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140551012451,"product_id":8050528845923,"position":8,"created_at":"2026-07-01T11:12:05+08:00","updated_at":"2026-07-01T11:12:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f71108eee507be14477b8f49075f09b4a76d81e.webp?v=1782875528","variant_ids":[44306660196451]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645442064483,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f71108eee507be14477b8f49075f09b4a76d81e.webp?v=1782875528"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306660360291,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140547965027,"product_id":8050528845923,"position":1,"created_at":"2026-07-01T11:12:01+08:00","updated_at":"2026-07-01T11:12:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c4bfca57a8edaabf6884e5392d656e5339b9557.webp?v=1782875524","variant_ids":[44306660360291]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645438918755,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c4bfca57a8edaabf6884e5392d656e5339b9557.webp?v=1782875524"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306660589667,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140552323171,"product_id":8050528845923,"position":10,"created_at":"2026-07-01T11:12:06+08:00","updated_at":"2026-07-01T11:12:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7282ce4013db8c7beb05445d93380014a728065d.webp?v=1782875529","variant_ids":[44306660589667]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645443375203,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7282ce4013db8c7beb05445d93380014a728065d.webp?v=1782875529"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44306654134371,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-JO121","requires_shipping":true,"taxable":true,"featured_image":{"id":36140551733347,"product_id":8050528845923,"position":9,"created_at":"2026-07-01T11:12:06+08:00","updated_at":"2026-07-01T11:12:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d583c99cd3eafffa49b701b78da5ec89e996e0b.webp?v=1782875528","variant_ids":[44306654134371]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) KID 國王變色龍 - 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-JO121","featured_media":{"alt":null,"id":27645442687075,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d583c99cd3eafffa49b701b78da5ec89e996e0b.webp?v=1782875528"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$brand_handle = null;
$type = "";
var sellingStatus
// 只有設計款(SKU 含 '-')才需要合圖
if ($isMerge && $defaultVariant.sku.includes('-')) {
$(document).ready(function() {
var productImg = $product.images[0];
var bumperImg = window.getProductImageUrl($defaultVariant.sku.split('-')[0]);
var layers = ($type === 'mod-nx-backplate' || $type === 'mod-backplate')
? [productImg, bumperImg]
: [bumperImg, productImg];
window.mergeProductImages(layers).then(function (mergedImg) {
$('.merged-img').attr('src', mergedImg);
});
});
};
var sellingStatusData
window.fetchSellingStatus().then(data => {
try {
sellingStatusData = data;
} catch (error) {
sellingStatusData = null
console.error('Unable to parse selling status', error)
}
$(document).ready(function() {
handleSellingStatus($defaultVariant.sku);
});
})
function handleSellingStatus(currentSku) {
if (!sellingStatusData) {
console.error('No selling status available!')
return
}
const sellingStatusElement = document.getElementById('selling-status')
const addToCartButton = document.getElementById('AddToCart-product-template')
const currentProductSku = currentSku.replace(/-(.*)$/, '-')
if ($variants) {
const flattenedSellingStatus = [...sellingStatusData.pending, ...sellingStatusData.preorder]
const matchSellingStatusProduct = flattenedSellingStatus.filter(product => currentProductSku === product.sku)
if (matchSellingStatusProduct.length > 0) {
const isProductPending = matchSellingStatusProduct[0].status === 'pending'
const matchDate = matchSellingStatusProduct[0].date
sellingStatus = isProductPending
? "缺貨中"
: "預購完成出貨日:" + matchDate
sellingStatusElement.textContent = sellingStatus
if (sellingStatus.includes("缺貨中")){
addToCartButton.disabled ='true';
addToCartButton.textContent = "缺貨中無法加入購物車"
} else {
addToCartButton.textContent = "加到購物車"
}
} else {
sellingStatusElement.textContent = ''
addToCartButton.textContent = "加到購物車"
};
};
};
document.addEventListener('DOMContentLoaded', function () {
var currentVariantSelect = document.getElementById('SingleOptionSelector-0')
currentVariantSelect.addEventListener('change', function() {
var currentSku = $('#current_sku').text()
var skuElement = document.getElementById('current-sku')
skuElement.textContent = currentSku
handleSellingStatus(currentSku)
});
});
// Override default values of shop.strings for each template.
// Alternate product templates can change values of
// add to cart button, sold out, and unavailable states here.
theme.productStrings = {
addToCart: "加到購物車",
soldOut: "售完",
unavailable: "停產"
}