$product = {"id":8035626877027,"title":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星","handle":"iphone-17-pro-solidx-magsafe-gm24","description":null,"published_at":"2026-06-17T12:22:00+08:00","created_at":"2026-06-17T10:52:23+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-dfb","device-iPhone 17 Pro","merge","reseller-dfb"],"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":44263692009571,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009975677027,"product_id":8035626877027,"position":4,"created_at":"2026-06-17T10:53:05+08:00","updated_at":"2026-06-17T10:53:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/276349b7bc5e1a7637c3a9781c2b5858e3fd0ce6.webp?v=1781664787","variant_ids":[44263692009571]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528782741603,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/276349b7bc5e1a7637c3a9781c2b5858e3fd0ce6.webp?v=1781664787"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263700693091,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009975971939,"product_id":8035626877027,"position":5,"created_at":"2026-06-17T10:53:06+08:00","updated_at":"2026-06-17T10:53:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e08a8c4e8efc820609b7fbc742b55047bb3e13c5.webp?v=1781664788","variant_ids":[44263700693091]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528783102051,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e08a8c4e8efc820609b7fbc742b55047bb3e13c5.webp?v=1781664788"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263701348451,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009979773027,"product_id":8035626877027,"position":13,"created_at":"2026-06-17T10:53:12+08:00","updated_at":"2026-06-17T10:53:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23802c93473c206fb47040ea77b8f8c85437fca6.webp?v=1781664794","variant_ids":[44263701348451]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528786772067,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23802c93473c206fb47040ea77b8f8c85437fca6.webp?v=1781664794"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263701413987,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009978101859,"product_id":8035626877027,"position":9,"created_at":"2026-06-17T10:53:10+08:00","updated_at":"2026-06-17T10:53:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519459f390fc001cdde5f9fb0ba003849c010d38.webp?v=1781664792","variant_ids":[44263701413987]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528785100899,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519459f390fc001cdde5f9fb0ba003849c010d38.webp?v=1781664792"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263702134883,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009974300771,"product_id":8035626877027,"position":1,"created_at":"2026-06-17T10:53:04+08:00","updated_at":"2026-06-17T10:53:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc9ae89ffd9184ed9e11e661d484133e24620a48.webp?v=1781664786","variant_ids":[44263702134883]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528781365347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc9ae89ffd9184ed9e11e661d484133e24620a48.webp?v=1781664786"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263702331491,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009978429539,"product_id":8035626877027,"position":10,"created_at":"2026-06-17T10:53:10+08:00","updated_at":"2026-06-17T10:53:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06cb94966d3ad55c820458735d86ff4088cca82f.webp?v=1781664792","variant_ids":[44263702331491]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528785526883,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06cb94966d3ad55c820458735d86ff4088cca82f.webp?v=1781664792"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263702986851,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009976528995,"product_id":8035626877027,"position":6,"created_at":"2026-06-17T10:53:07+08:00","updated_at":"2026-06-17T10:53:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/649b9704ae31a3a19b6b4b2bacf981700286c71b.webp?v=1781664789","variant_ids":[44263702986851]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528783593571,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/649b9704ae31a3a19b6b4b2bacf981700286c71b.webp?v=1781664789"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263703248995,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009979379811,"product_id":8035626877027,"position":12,"created_at":"2026-06-17T10:53:11+08:00","updated_at":"2026-06-17T10:53:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d71cbaf08d69c642b3109635b1f447664d863f7c.webp?v=1781664793","variant_ids":[44263703248995]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528786444387,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d71cbaf08d69c642b3109635b1f447664d863f7c.webp?v=1781664793"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263703674979,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009977053283,"product_id":8035626877027,"position":7,"created_at":"2026-06-17T10:53:07+08:00","updated_at":"2026-06-17T10:53:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2e3707dfbf1074b47a2c10a23041814458e29f2.webp?v=1781664789","variant_ids":[44263703674979]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528784117859,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2e3707dfbf1074b47a2c10a23041814458e29f2.webp?v=1781664789"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263704363107,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009975185507,"product_id":8035626877027,"position":3,"created_at":"2026-06-17T10:53:05+08:00","updated_at":"2026-06-17T10:53:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4114d6a8489783b4882966331fb847d2e2a31073.webp?v=1781664787","variant_ids":[44263704363107]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528782250083,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4114d6a8489783b4882966331fb847d2e2a31073.webp?v=1781664787"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263704821859,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009977479267,"product_id":8035626877027,"position":8,"created_at":"2026-06-17T10:53:08+08:00","updated_at":"2026-06-17T10:53:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23a35825dacd5938355cfc65a63fc4ce579eb8b3.webp?v=1781664790","variant_ids":[44263704821859]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528784543843,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23a35825dacd5938355cfc65a63fc4ce579eb8b3.webp?v=1781664790"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263705378915,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009978953827,"product_id":8035626877027,"position":11,"created_at":"2026-06-17T10:53:11+08:00","updated_at":"2026-06-17T10:53:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a24d296d870d161c53c60afe90f5daaef3a77a52.webp?v=1781664793","variant_ids":[44263705378915]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528786018403,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a24d296d870d161c53c60afe90f5daaef3a77a52.webp?v=1781664793"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263705772131,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009974726755,"product_id":8035626877027,"position":2,"created_at":"2026-06-17T10:53:04+08:00","updated_at":"2026-06-17T10:53:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d1c55fdd1533ccf31fcbb8272fafbd413b19a90.webp?v=1781664786","variant_ids":[44263705772131]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528781791331,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d1c55fdd1533ccf31fcbb8272fafbd413b19a90.webp?v=1781664786"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc9ae89ffd9184ed9e11e661d484133e24620a48.webp?v=1781664786","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d1c55fdd1533ccf31fcbb8272fafbd413b19a90.webp?v=1781664786","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4114d6a8489783b4882966331fb847d2e2a31073.webp?v=1781664787","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/276349b7bc5e1a7637c3a9781c2b5858e3fd0ce6.webp?v=1781664787","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e08a8c4e8efc820609b7fbc742b55047bb3e13c5.webp?v=1781664788","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/649b9704ae31a3a19b6b4b2bacf981700286c71b.webp?v=1781664789","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2e3707dfbf1074b47a2c10a23041814458e29f2.webp?v=1781664789","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23a35825dacd5938355cfc65a63fc4ce579eb8b3.webp?v=1781664790","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519459f390fc001cdde5f9fb0ba003849c010d38.webp?v=1781664792","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06cb94966d3ad55c820458735d86ff4088cca82f.webp?v=1781664792","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a24d296d870d161c53c60afe90f5daaef3a77a52.webp?v=1781664793","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d71cbaf08d69c642b3109635b1f447664d863f7c.webp?v=1781664793","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23802c93473c206fb47040ea77b8f8c85437fca6.webp?v=1781664794"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc9ae89ffd9184ed9e11e661d484133e24620a48.webp?v=1781664786","options":["color"],"media":[{"alt":null,"id":27528781365347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc9ae89ffd9184ed9e11e661d484133e24620a48.webp?v=1781664786"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc9ae89ffd9184ed9e11e661d484133e24620a48.webp?v=1781664786","width":2000},{"alt":null,"id":27528781791331,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d1c55fdd1533ccf31fcbb8272fafbd413b19a90.webp?v=1781664786"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d1c55fdd1533ccf31fcbb8272fafbd413b19a90.webp?v=1781664786","width":2000},{"alt":null,"id":27528782250083,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4114d6a8489783b4882966331fb847d2e2a31073.webp?v=1781664787"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4114d6a8489783b4882966331fb847d2e2a31073.webp?v=1781664787","width":2000},{"alt":null,"id":27528782741603,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/276349b7bc5e1a7637c3a9781c2b5858e3fd0ce6.webp?v=1781664787"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/276349b7bc5e1a7637c3a9781c2b5858e3fd0ce6.webp?v=1781664787","width":2000},{"alt":null,"id":27528783102051,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e08a8c4e8efc820609b7fbc742b55047bb3e13c5.webp?v=1781664788"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e08a8c4e8efc820609b7fbc742b55047bb3e13c5.webp?v=1781664788","width":2000},{"alt":null,"id":27528783593571,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/649b9704ae31a3a19b6b4b2bacf981700286c71b.webp?v=1781664789"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/649b9704ae31a3a19b6b4b2bacf981700286c71b.webp?v=1781664789","width":2000},{"alt":null,"id":27528784117859,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2e3707dfbf1074b47a2c10a23041814458e29f2.webp?v=1781664789"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2e3707dfbf1074b47a2c10a23041814458e29f2.webp?v=1781664789","width":2000},{"alt":null,"id":27528784543843,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23a35825dacd5938355cfc65a63fc4ce579eb8b3.webp?v=1781664790"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23a35825dacd5938355cfc65a63fc4ce579eb8b3.webp?v=1781664790","width":2000},{"alt":null,"id":27528785100899,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519459f390fc001cdde5f9fb0ba003849c010d38.webp?v=1781664792"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519459f390fc001cdde5f9fb0ba003849c010d38.webp?v=1781664792","width":2000},{"alt":null,"id":27528785526883,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06cb94966d3ad55c820458735d86ff4088cca82f.webp?v=1781664792"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06cb94966d3ad55c820458735d86ff4088cca82f.webp?v=1781664792","width":2000},{"alt":null,"id":27528786018403,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a24d296d870d161c53c60afe90f5daaef3a77a52.webp?v=1781664793"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a24d296d870d161c53c60afe90f5daaef3a77a52.webp?v=1781664793","width":2000},{"alt":null,"id":27528786444387,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d71cbaf08d69c642b3109635b1f447664d863f7c.webp?v=1781664793"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d71cbaf08d69c642b3109635b1f447664d863f7c.webp?v=1781664793","width":2000},{"alt":null,"id":27528786772067,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23802c93473c206fb47040ea77b8f8c85437fca6.webp?v=1781664794"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23802c93473c206fb47040ea77b8f8c85437fca6.webp?v=1781664794","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44263692009571,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009975677027,"product_id":8035626877027,"position":4,"created_at":"2026-06-17T10:53:05+08:00","updated_at":"2026-06-17T10:53:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/276349b7bc5e1a7637c3a9781c2b5858e3fd0ce6.webp?v=1781664787","variant_ids":[44263692009571]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528782741603,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/276349b7bc5e1a7637c3a9781c2b5858e3fd0ce6.webp?v=1781664787"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263700693091,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009975971939,"product_id":8035626877027,"position":5,"created_at":"2026-06-17T10:53:06+08:00","updated_at":"2026-06-17T10:53:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e08a8c4e8efc820609b7fbc742b55047bb3e13c5.webp?v=1781664788","variant_ids":[44263700693091]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528783102051,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e08a8c4e8efc820609b7fbc742b55047bb3e13c5.webp?v=1781664788"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263701348451,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009979773027,"product_id":8035626877027,"position":13,"created_at":"2026-06-17T10:53:12+08:00","updated_at":"2026-06-17T10:53:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23802c93473c206fb47040ea77b8f8c85437fca6.webp?v=1781664794","variant_ids":[44263701348451]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528786772067,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23802c93473c206fb47040ea77b8f8c85437fca6.webp?v=1781664794"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263701413987,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009978101859,"product_id":8035626877027,"position":9,"created_at":"2026-06-17T10:53:10+08:00","updated_at":"2026-06-17T10:53:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519459f390fc001cdde5f9fb0ba003849c010d38.webp?v=1781664792","variant_ids":[44263701413987]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528785100899,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519459f390fc001cdde5f9fb0ba003849c010d38.webp?v=1781664792"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263702134883,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009974300771,"product_id":8035626877027,"position":1,"created_at":"2026-06-17T10:53:04+08:00","updated_at":"2026-06-17T10:53:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc9ae89ffd9184ed9e11e661d484133e24620a48.webp?v=1781664786","variant_ids":[44263702134883]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528781365347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc9ae89ffd9184ed9e11e661d484133e24620a48.webp?v=1781664786"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263702331491,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009978429539,"product_id":8035626877027,"position":10,"created_at":"2026-06-17T10:53:10+08:00","updated_at":"2026-06-17T10:53:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06cb94966d3ad55c820458735d86ff4088cca82f.webp?v=1781664792","variant_ids":[44263702331491]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528785526883,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06cb94966d3ad55c820458735d86ff4088cca82f.webp?v=1781664792"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263702986851,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009976528995,"product_id":8035626877027,"position":6,"created_at":"2026-06-17T10:53:07+08:00","updated_at":"2026-06-17T10:53:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/649b9704ae31a3a19b6b4b2bacf981700286c71b.webp?v=1781664789","variant_ids":[44263702986851]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528783593571,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/649b9704ae31a3a19b6b4b2bacf981700286c71b.webp?v=1781664789"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263703248995,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009979379811,"product_id":8035626877027,"position":12,"created_at":"2026-06-17T10:53:11+08:00","updated_at":"2026-06-17T10:53:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d71cbaf08d69c642b3109635b1f447664d863f7c.webp?v=1781664793","variant_ids":[44263703248995]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528786444387,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d71cbaf08d69c642b3109635b1f447664d863f7c.webp?v=1781664793"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263703674979,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009977053283,"product_id":8035626877027,"position":7,"created_at":"2026-06-17T10:53:07+08:00","updated_at":"2026-06-17T10:53:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2e3707dfbf1074b47a2c10a23041814458e29f2.webp?v=1781664789","variant_ids":[44263703674979]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528784117859,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2e3707dfbf1074b47a2c10a23041814458e29f2.webp?v=1781664789"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263704363107,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009975185507,"product_id":8035626877027,"position":3,"created_at":"2026-06-17T10:53:05+08:00","updated_at":"2026-06-17T10:53:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4114d6a8489783b4882966331fb847d2e2a31073.webp?v=1781664787","variant_ids":[44263704363107]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528782250083,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4114d6a8489783b4882966331fb847d2e2a31073.webp?v=1781664787"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263704821859,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009977479267,"product_id":8035626877027,"position":8,"created_at":"2026-06-17T10:53:08+08:00","updated_at":"2026-06-17T10:53:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23a35825dacd5938355cfc65a63fc4ce579eb8b3.webp?v=1781664790","variant_ids":[44263704821859]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528784543843,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23a35825dacd5938355cfc65a63fc4ce579eb8b3.webp?v=1781664790"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263705378915,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009978953827,"product_id":8035626877027,"position":11,"created_at":"2026-06-17T10:53:11+08:00","updated_at":"2026-06-17T10:53:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a24d296d870d161c53c60afe90f5daaef3a77a52.webp?v=1781664793","variant_ids":[44263705378915]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528786018403,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a24d296d870d161c53c60afe90f5daaef3a77a52.webp?v=1781664793"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263705772131,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009974726755,"product_id":8035626877027,"position":2,"created_at":"2026-06-17T10:53:04+08:00","updated_at":"2026-06-17T10:53:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d1c55fdd1533ccf31fcbb8272fafbd413b19a90.webp?v=1781664786","variant_ids":[44263705772131]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528781791331,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d1c55fdd1533ccf31fcbb8272fafbd413b19a90.webp?v=1781664786"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44263692009571,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009975677027,"product_id":8035626877027,"position":4,"created_at":"2026-06-17T10:53:05+08:00","updated_at":"2026-06-17T10:53:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/276349b7bc5e1a7637c3a9781c2b5858e3fd0ce6.webp?v=1781664787","variant_ids":[44263692009571]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528782741603,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/276349b7bc5e1a7637c3a9781c2b5858e3fd0ce6.webp?v=1781664787"}},"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: "停產"
}