$product = {"id":8035626483811,"title":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti","handle":"iphone-17-pro-max-solidx-magsafe-gm25","description":null,"published_at":"2026-06-17T12:22:09+08:00","created_at":"2026-06-17T10:52:12+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-dfb","device-iPhone 17 Pro Max","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":44263690436707,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009981116515,"product_id":8035626483811,"position":13,"created_at":"2026-06-17T10:53:15+08:00","updated_at":"2026-06-17T10:53:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e4152319e5b978166d12fe94a866c05b28fa45.webp?v=1781664797","variant_ids":[44263690436707]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528788181091,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e4152319e5b978166d12fe94a866c05b28fa45.webp?v=1781664797"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263701774435,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009977282659,"product_id":8035626483811,"position":5,"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\/99e75fe52e995d8da62ec82cdd60ea43f240cadd.webp?v=1781664790","variant_ids":[44263701774435]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528784412771,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e75fe52e995d8da62ec82cdd60ea43f240cadd.webp?v=1781664790"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263702560867,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009980756067,"product_id":8035626483811,"position":12,"created_at":"2026-06-17T10:53:14+08:00","updated_at":"2026-06-17T10:53:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89c53c643b451060168bec8a3b911bb3b63b486e.webp?v=1781664796","variant_ids":[44263702560867]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528787820643,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89c53c643b451060168bec8a3b911bb3b63b486e.webp?v=1781664796"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263702757475,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009978921059,"product_id":8035626483811,"position":8,"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\/4f65eb352e74812b29786522c797bbdcd87b858e.webp?v=1781664793","variant_ids":[44263702757475]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528785985635,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f65eb352e74812b29786522c797bbdcd87b858e.webp?v=1781664793"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263703380067,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009977938019,"product_id":8035626483811,"position":6,"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\/2f7158d8fcfd4eb537edc8c8372411954d42839c.webp?v=1781664792","variant_ids":[44263703380067]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528785068131,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f7158d8fcfd4eb537edc8c8372411954d42839c.webp?v=1781664792"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263703871587,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009976463459,"product_id":8035626483811,"position":3,"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\/704a3f10a8be791f1d7c43f531eecb4618f41d3f.webp?v=1781664789","variant_ids":[44263703871587]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528783528035,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/704a3f10a8be791f1d7c43f531eecb4618f41d3f.webp?v=1781664789"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263704166499,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009976070243,"product_id":8035626483811,"position":2,"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\/16a93763c02ba980506eed01a3dff91176b73f73.webp?v=1781664788","variant_ids":[44263704166499]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528783134819,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16a93763c02ba980506eed01a3dff91176b73f73.webp?v=1781664788"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263704559715,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009978593379,"product_id":8035626483811,"position":7,"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\/db513deacd77b93549fcfbb5c3e4dd2c71bfe635.webp?v=1781664792","variant_ids":[44263704559715]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528785657955,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db513deacd77b93549fcfbb5c3e4dd2c71bfe635.webp?v=1781664792"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263704887395,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009976791139,"product_id":8035626483811,"position":4,"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\/bc46a6e138968e8711f3e63558b070554ed60b84.webp?v=1781664789","variant_ids":[44263704887395]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528783855715,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc46a6e138968e8711f3e63558b070554ed60b84.webp?v=1781664789"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263705477219,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009980166243,"product_id":8035626483811,"position":11,"created_at":"2026-06-17T10:53:13+08:00","updated_at":"2026-06-17T10:53:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd4f81c2b34788cf2a08feef7d9932db9f905c8c.webp?v=1781664795","variant_ids":[44263705477219]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528787230819,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd4f81c2b34788cf2a08feef7d9932db9f905c8c.webp?v=1781664795"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263705870435,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009979314275,"product_id":8035626483811,"position":9,"created_at":"2026-06-17T10:53:11+08:00","updated_at":"2026-06-17T10:53:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b6cf8edb8481d7dbfe648259aab223e1d4cb409.webp?v=1781664794","variant_ids":[44263705870435]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528786411619,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b6cf8edb8481d7dbfe648259aab223e1d4cb409.webp?v=1781664794"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263706132579,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009975414883,"product_id":8035626483811,"position":1,"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\/7369db36d2676b657c24670c8dae48a2357f9623.webp?v=1781664787","variant_ids":[44263706132579]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528782479459,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7369db36d2676b657c24670c8dae48a2357f9623.webp?v=1781664787"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263706460259,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009979805795,"product_id":8035626483811,"position":10,"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\/01fffe5c8ff420000973a1bb883693ec1538372b.webp?v=1781664794","variant_ids":[44263706460259]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528786837603,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01fffe5c8ff420000973a1bb883693ec1538372b.webp?v=1781664794"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7369db36d2676b657c24670c8dae48a2357f9623.webp?v=1781664787","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16a93763c02ba980506eed01a3dff91176b73f73.webp?v=1781664788","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/704a3f10a8be791f1d7c43f531eecb4618f41d3f.webp?v=1781664789","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc46a6e138968e8711f3e63558b070554ed60b84.webp?v=1781664789","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e75fe52e995d8da62ec82cdd60ea43f240cadd.webp?v=1781664790","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f7158d8fcfd4eb537edc8c8372411954d42839c.webp?v=1781664792","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db513deacd77b93549fcfbb5c3e4dd2c71bfe635.webp?v=1781664792","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f65eb352e74812b29786522c797bbdcd87b858e.webp?v=1781664793","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b6cf8edb8481d7dbfe648259aab223e1d4cb409.webp?v=1781664794","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01fffe5c8ff420000973a1bb883693ec1538372b.webp?v=1781664794","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd4f81c2b34788cf2a08feef7d9932db9f905c8c.webp?v=1781664795","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89c53c643b451060168bec8a3b911bb3b63b486e.webp?v=1781664796","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e4152319e5b978166d12fe94a866c05b28fa45.webp?v=1781664797"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7369db36d2676b657c24670c8dae48a2357f9623.webp?v=1781664787","options":["color"],"media":[{"alt":null,"id":27528782479459,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7369db36d2676b657c24670c8dae48a2357f9623.webp?v=1781664787"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7369db36d2676b657c24670c8dae48a2357f9623.webp?v=1781664787","width":2000},{"alt":null,"id":27528783134819,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16a93763c02ba980506eed01a3dff91176b73f73.webp?v=1781664788"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16a93763c02ba980506eed01a3dff91176b73f73.webp?v=1781664788","width":2000},{"alt":null,"id":27528783528035,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/704a3f10a8be791f1d7c43f531eecb4618f41d3f.webp?v=1781664789"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/704a3f10a8be791f1d7c43f531eecb4618f41d3f.webp?v=1781664789","width":2000},{"alt":null,"id":27528783855715,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc46a6e138968e8711f3e63558b070554ed60b84.webp?v=1781664789"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc46a6e138968e8711f3e63558b070554ed60b84.webp?v=1781664789","width":2000},{"alt":null,"id":27528784412771,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e75fe52e995d8da62ec82cdd60ea43f240cadd.webp?v=1781664790"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e75fe52e995d8da62ec82cdd60ea43f240cadd.webp?v=1781664790","width":2000},{"alt":null,"id":27528785068131,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f7158d8fcfd4eb537edc8c8372411954d42839c.webp?v=1781664792"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f7158d8fcfd4eb537edc8c8372411954d42839c.webp?v=1781664792","width":2000},{"alt":null,"id":27528785657955,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db513deacd77b93549fcfbb5c3e4dd2c71bfe635.webp?v=1781664792"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db513deacd77b93549fcfbb5c3e4dd2c71bfe635.webp?v=1781664792","width":2000},{"alt":null,"id":27528785985635,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f65eb352e74812b29786522c797bbdcd87b858e.webp?v=1781664793"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f65eb352e74812b29786522c797bbdcd87b858e.webp?v=1781664793","width":2000},{"alt":null,"id":27528786411619,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b6cf8edb8481d7dbfe648259aab223e1d4cb409.webp?v=1781664794"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b6cf8edb8481d7dbfe648259aab223e1d4cb409.webp?v=1781664794","width":2000},{"alt":null,"id":27528786837603,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01fffe5c8ff420000973a1bb883693ec1538372b.webp?v=1781664794"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01fffe5c8ff420000973a1bb883693ec1538372b.webp?v=1781664794","width":2000},{"alt":null,"id":27528787230819,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd4f81c2b34788cf2a08feef7d9932db9f905c8c.webp?v=1781664795"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd4f81c2b34788cf2a08feef7d9932db9f905c8c.webp?v=1781664795","width":2000},{"alt":null,"id":27528787820643,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89c53c643b451060168bec8a3b911bb3b63b486e.webp?v=1781664796"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89c53c643b451060168bec8a3b911bb3b63b486e.webp?v=1781664796","width":2000},{"alt":null,"id":27528788181091,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e4152319e5b978166d12fe94a866c05b28fa45.webp?v=1781664797"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e4152319e5b978166d12fe94a866c05b28fa45.webp?v=1781664797","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44263690436707,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009981116515,"product_id":8035626483811,"position":13,"created_at":"2026-06-17T10:53:15+08:00","updated_at":"2026-06-17T10:53:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e4152319e5b978166d12fe94a866c05b28fa45.webp?v=1781664797","variant_ids":[44263690436707]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528788181091,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e4152319e5b978166d12fe94a866c05b28fa45.webp?v=1781664797"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263701774435,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009977282659,"product_id":8035626483811,"position":5,"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\/99e75fe52e995d8da62ec82cdd60ea43f240cadd.webp?v=1781664790","variant_ids":[44263701774435]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528784412771,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e75fe52e995d8da62ec82cdd60ea43f240cadd.webp?v=1781664790"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263702560867,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009980756067,"product_id":8035626483811,"position":12,"created_at":"2026-06-17T10:53:14+08:00","updated_at":"2026-06-17T10:53:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89c53c643b451060168bec8a3b911bb3b63b486e.webp?v=1781664796","variant_ids":[44263702560867]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528787820643,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89c53c643b451060168bec8a3b911bb3b63b486e.webp?v=1781664796"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263702757475,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009978921059,"product_id":8035626483811,"position":8,"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\/4f65eb352e74812b29786522c797bbdcd87b858e.webp?v=1781664793","variant_ids":[44263702757475]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528785985635,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f65eb352e74812b29786522c797bbdcd87b858e.webp?v=1781664793"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263703380067,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009977938019,"product_id":8035626483811,"position":6,"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\/2f7158d8fcfd4eb537edc8c8372411954d42839c.webp?v=1781664792","variant_ids":[44263703380067]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528785068131,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f7158d8fcfd4eb537edc8c8372411954d42839c.webp?v=1781664792"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263703871587,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009976463459,"product_id":8035626483811,"position":3,"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\/704a3f10a8be791f1d7c43f531eecb4618f41d3f.webp?v=1781664789","variant_ids":[44263703871587]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528783528035,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/704a3f10a8be791f1d7c43f531eecb4618f41d3f.webp?v=1781664789"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263704166499,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009976070243,"product_id":8035626483811,"position":2,"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\/16a93763c02ba980506eed01a3dff91176b73f73.webp?v=1781664788","variant_ids":[44263704166499]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528783134819,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16a93763c02ba980506eed01a3dff91176b73f73.webp?v=1781664788"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263704559715,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009978593379,"product_id":8035626483811,"position":7,"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\/db513deacd77b93549fcfbb5c3e4dd2c71bfe635.webp?v=1781664792","variant_ids":[44263704559715]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528785657955,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db513deacd77b93549fcfbb5c3e4dd2c71bfe635.webp?v=1781664792"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263704887395,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009976791139,"product_id":8035626483811,"position":4,"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\/bc46a6e138968e8711f3e63558b070554ed60b84.webp?v=1781664789","variant_ids":[44263704887395]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528783855715,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc46a6e138968e8711f3e63558b070554ed60b84.webp?v=1781664789"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263705477219,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009980166243,"product_id":8035626483811,"position":11,"created_at":"2026-06-17T10:53:13+08:00","updated_at":"2026-06-17T10:53:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd4f81c2b34788cf2a08feef7d9932db9f905c8c.webp?v=1781664795","variant_ids":[44263705477219]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528787230819,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd4f81c2b34788cf2a08feef7d9932db9f905c8c.webp?v=1781664795"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263705870435,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009979314275,"product_id":8035626483811,"position":9,"created_at":"2026-06-17T10:53:11+08:00","updated_at":"2026-06-17T10:53:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b6cf8edb8481d7dbfe648259aab223e1d4cb409.webp?v=1781664794","variant_ids":[44263705870435]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528786411619,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b6cf8edb8481d7dbfe648259aab223e1d4cb409.webp?v=1781664794"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263706132579,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009975414883,"product_id":8035626483811,"position":1,"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\/7369db36d2676b657c24670c8dae48a2357f9623.webp?v=1781664787","variant_ids":[44263706132579]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528782479459,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7369db36d2676b657c24670c8dae48a2357f9623.webp?v=1781664787"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263706460259,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009979805795,"product_id":8035626483811,"position":10,"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\/01fffe5c8ff420000973a1bb883693ec1538372b.webp?v=1781664794","variant_ids":[44263706460259]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528786837603,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01fffe5c8ff420000973a1bb883693ec1538372b.webp?v=1781664794"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44263690436707,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-GM25","requires_shipping":true,"taxable":true,"featured_image":{"id":36009981116515,"product_id":8035626483811,"position":13,"created_at":"2026-06-17T10:53:15+08:00","updated_at":"2026-06-17T10:53:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e4152319e5b978166d12fe94a866c05b28fa45.webp?v=1781664797","variant_ids":[44263690436707]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Graffiti - 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-GM25","featured_media":{"alt":null,"id":27528788181091,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e4152319e5b978166d12fe94a866c05b28fa45.webp?v=1781664797"}},"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: "停產"
}