Shopify.queue = []; $product = {"id":1424439574627,"title":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone XR","handle":"iphone-xr-crashguard-nx","description":"\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\n\u003ch1\u003e\u003cstrong\u003e\u003cspan\u003e*與iPhone 11 共用*\u003c\/span\u003e\u003c\/strong\u003e\u003c\/h1\u003e\n\u003cp\u003e\u003cstrong data-mce-fragment=\"1\"\u003e\u003cspan style=\"color: #ff0000;\" data-mce-style=\"color: #ff0000;\" data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003e1、CrashGuard NX與ModNX的飾條、按鈕皆可共用。\u003c\/span\u003e\u003c\/span\u003e\u003c\/strong\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan style=\"color: #ff0000;\" data-mce-style=\"color: #ff0000;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003e2、未附背板,\u003c\/strong\u003e\u003c\/span\u003e\u003cspan style=\"color: #ff0000;\" data-mce-style=\"color: #ff0000;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003e若需透明背板搭配,請選購ModNX系列。\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e","published_at":"2018-08-31T18:43:47+08:00","created_at":"2018-08-31T15:29:47+08:00","vendor":"Rhinoshieldtaiwan","type":"CrashGuard NX","tags":["20%","25%","30%","35%","40%","45%","45degree","50%","brand-Apple","bundle-addition","crashguard","device-iphone XR","dropdownDevice-Apple iPhone XR","member","quickbuy","reseller","reseller-asus","Top50"],"price":68000,"price_min":68000,"price_max":68000,"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":12499205881955,"title":"白色","option1":"白色","option2":null,"option3":null,"sku":"CGN0114804","requires_shipping":true,"taxable":true,"featured_image":{"id":3886203109475,"product_id":1424439574627,"position":1,"created_at":"2018-09-07T17:21:32+08:00","updated_at":"2021-06-21T15:26:09+08:00","alt":null,"width":1500,"height":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/a150601884a2c6158b475fea14e6eb5f.png?v=1624260369","variant_ids":[12499205881955]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone XR - 白色","public_title":"白色","options":["白色"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-1132,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":948233830499,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/a150601884a2c6158b475fea14e6eb5f.png?v=1624260369"}}},{"id":29680626958435,"title":"黃色","option1":"黃色","option2":null,"option3":null,"sku":"CGN0114809","requires_shipping":true,"taxable":true,"featured_image":{"id":16466299158627,"product_id":1424439574627,"position":2,"created_at":"2020-11-23T18:35:16+08:00","updated_at":"2021-09-02T17:21:06+08:00","alt":null,"width":1500,"height":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/016e1a445f0b751bfbc94868c169e32b_4ea7c3c7-bc7e-496f-8f43-d8fc4ac94aec.png?v=1630574466","variant_ids":[29680626958435]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone XR - 黃色","public_title":"黃色","options":["黃色"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-109,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":8624320512099,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/016e1a445f0b751bfbc94868c169e32b_4ea7c3c7-bc7e-496f-8f43-d8fc4ac94aec.png?v=1630574466"}}},{"id":12499205947491,"title":"紅色","option1":"紅色","option2":null,"option3":null,"sku":"CGN0114814","requires_shipping":true,"taxable":true,"featured_image":{"id":3886204747875,"product_id":1424439574627,"position":3,"created_at":"2018-09-07T17:21:56+08:00","updated_at":"2021-06-21T15:26:09+08:00","alt":null,"width":1500,"height":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/359e3405eae85c772cf26dec24d300ba_d912ad92-22a2-47c4-9e15-ee1fc1ed8275.png?v=1624260369","variant_ids":[12499205947491]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone XR - 紅色","public_title":"紅色","options":["紅色"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-1126,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":948234879075,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/359e3405eae85c772cf26dec24d300ba_d912ad92-22a2-47c4-9e15-ee1fc1ed8275.png?v=1624260369"}}},{"id":29760198738019,"title":"黑色","option1":"黑色","option2":null,"option3":null,"sku":"CGN0114824","requires_shipping":true,"taxable":true,"featured_image":{"id":3886206353507,"product_id":1424439574627,"position":4,"created_at":"2018-09-07T17:22:20+08:00","updated_at":"2021-06-21T15:26:09+08:00","alt":null,"width":1500,"height":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/094f8605f8cc14b2756129c276432086_a7c7e77d-92b5-4d5c-b67f-d3ca203c6fad.png?v=1624260369","variant_ids":[29760198738019]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone XR - 黑色","public_title":"黑色","options":["黑色"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-730,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":948235993187,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/094f8605f8cc14b2756129c276432086_a7c7e77d-92b5-4d5c-b67f-d3ca203c6fad.png?v=1624260369"}}},{"id":12499206013027,"title":"櫻花粉","option1":"櫻花粉","option2":null,"option3":null,"sku":"CGN0114857","requires_shipping":true,"taxable":true,"featured_image":{"id":3886207074403,"product_id":1424439574627,"position":5,"created_at":"2018-09-07T17:22:29+08:00","updated_at":"2021-09-02T17:21:06+08:00","alt":null,"width":1500,"height":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/24f1c3a32e15a61b74acfd6d27e74693_bca77e5a-6f4d-43d1-92d4-f504efcf76fc.png?v=1630574466","variant_ids":[12499206013027]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone XR - 櫻花粉","public_title":"櫻花粉","options":["櫻花粉"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-2309,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":948236288099,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/24f1c3a32e15a61b74acfd6d27e74693_bca77e5a-6f4d-43d1-92d4-f504efcf76fc.png?v=1630574466"}}},{"id":29839238463587,"title":"泥灰","option1":"泥灰","option2":null,"option3":null,"sku":"CGN0114869","requires_shipping":true,"taxable":true,"featured_image":{"id":3886203404387,"product_id":1424439574627,"position":6,"created_at":"2018-09-07T17:21:39+08:00","updated_at":"2021-09-02T17:21:06+08:00","alt":null,"width":1500,"height":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/1bd0d722fef6418b9e501b7f9c63dff4_8471a9d8-f6c2-4b5b-9c0b-849ff28069b9.png?v=1630574466","variant_ids":[29839238463587]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone XR - 泥灰","public_title":"泥灰","options":["泥灰"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-175,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":948233961571,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/1bd0d722fef6418b9e501b7f9c63dff4_8471a9d8-f6c2-4b5b-9c0b-849ff28069b9.png?v=1630574466"}}},{"id":28238291599459,"title":"軍綠","option1":"軍綠","option2":null,"option3":null,"sku":"CGN0114815","requires_shipping":true,"taxable":true,"featured_image":{"id":11154480267363,"product_id":1424439574627,"position":7,"created_at":"2019-05-28T11:56:26+08:00","updated_at":"2021-09-02T17:21:06+08:00","alt":null,"width":1500,"height":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/XR_Space_Gray_-CrashGuardNX-Combined-Camo_Green-Frame.png?v=1630574466","variant_ids":[28238291599459]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone XR - 軍綠","public_title":"軍綠","options":["軍綠"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-221,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":1423542255715,"position":7,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/XR_Space_Gray_-CrashGuardNX-Combined-Camo_Green-Frame.png?v=1630574466"}}},{"id":28238299496547,"title":"淺灰","option1":"淺灰","option2":null,"option3":null,"sku":"CGN01148C0","requires_shipping":true,"taxable":true,"featured_image":{"id":11154480693347,"product_id":1424439574627,"position":8,"created_at":"2019-05-28T11:56:33+08:00","updated_at":"2021-09-02T17:21:06+08:00","alt":null,"width":1500,"height":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/XR_Space_Gray_-CrashGuardNX-Combined-Platinum_Gray-Frame.png?v=1630574466","variant_ids":[28238299496547]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone XR - 淺灰","public_title":"淺灰","options":["淺灰"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-313,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":1423542517859,"position":8,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/XR_Space_Gray_-CrashGuardNX-Combined-Platinum_Gray-Frame.png?v=1630574466"}}},{"id":31505572003939,"title":"薰衣紫","option1":"薰衣紫","option2":null,"option3":null,"sku":"CGN01148C1","requires_shipping":true,"taxable":true,"featured_image":{"id":11154480529507,"product_id":1424439574627,"position":9,"created_at":"2019-05-28T11:56:29+08:00","updated_at":"2021-09-02T17:21:06+08:00","alt":null,"width":1500,"height":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/XR_Space_Gray_-CrashGuardNX-Combined-Lavender-Frame.png?v=1630574466","variant_ids":[31505572003939]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone XR - 薰衣紫","public_title":"薰衣紫","options":["薰衣紫"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-85,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":1423542485091,"position":9,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/XR_Space_Gray_-CrashGuardNX-Combined-Lavender-Frame.png?v=1630574466"}}},{"id":39533821100131,"title":"暗夜綠","option1":"暗夜綠","option2":null,"option3":null,"sku":"CGN01148K8","requires_shipping":true,"taxable":true,"featured_image":{"id":28509379035235,"product_id":1424439574627,"position":10,"created_at":"2021-09-02T17:21:06+08:00","updated_at":"2021-09-02T17:21:06+08:00","alt":null,"width":1999,"height":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/XR-Dark_Teal-Bumper-XR-Dark_Teal-Rim-XR-Dark_Teal-Button_28b0db13-f0c5-4b29-9852-1c8ab1626b0f.png?v=1630574466","variant_ids":[39533821100131]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone XR - 暗夜綠","public_title":"暗夜綠","options":["暗夜綠"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-8,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":20821810446435,"position":10,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/XR-Dark_Teal-Bumper-XR-Dark_Teal-Rim-XR-Dark_Teal-Button_28b0db13-f0c5-4b29-9852-1c8ab1626b0f.png?v=1630574466"}}},{"id":39644592275555,"title":"海軍藍","option1":"海軍藍","option2":null,"option3":null,"sku":"CGN01148J5","requires_shipping":true,"taxable":true,"featured_image":{"id":28661378547811,"product_id":1424439574627,"position":11,"created_at":"2021-11-09T10:20:10+08:00","updated_at":"2021-11-09T10:20:10+08:00","alt":null,"width":1999,"height":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/xr_phone-NPB01085J5T-Bumper-iphone-xr-mod-nx-rim-Navy_Blue.png?v=1636424410","variant_ids":[39644592275555]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone XR - 海軍藍","public_title":"海軍藍","options":["海軍藍"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-41,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":20980610695267,"position":11,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/xr_phone-NPB01085J5T-Bumper-iphone-xr-mod-nx-rim-Navy_Blue.png?v=1636424410"}}}],"images":["\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/a150601884a2c6158b475fea14e6eb5f.png?v=1624260369","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/016e1a445f0b751bfbc94868c169e32b_4ea7c3c7-bc7e-496f-8f43-d8fc4ac94aec.png?v=1630574466","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/359e3405eae85c772cf26dec24d300ba_d912ad92-22a2-47c4-9e15-ee1fc1ed8275.png?v=1624260369","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/094f8605f8cc14b2756129c276432086_a7c7e77d-92b5-4d5c-b67f-d3ca203c6fad.png?v=1624260369","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/24f1c3a32e15a61b74acfd6d27e74693_bca77e5a-6f4d-43d1-92d4-f504efcf76fc.png?v=1630574466","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/1bd0d722fef6418b9e501b7f9c63dff4_8471a9d8-f6c2-4b5b-9c0b-849ff28069b9.png?v=1630574466","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/XR_Space_Gray_-CrashGuardNX-Combined-Camo_Green-Frame.png?v=1630574466","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/XR_Space_Gray_-CrashGuardNX-Combined-Platinum_Gray-Frame.png?v=1630574466","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/XR_Space_Gray_-CrashGuardNX-Combined-Lavender-Frame.png?v=1630574466","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/XR-Dark_Teal-Bumper-XR-Dark_Teal-Rim-XR-Dark_Teal-Button_28b0db13-f0c5-4b29-9852-1c8ab1626b0f.png?v=1630574466","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/xr_phone-NPB01085J5T-Bumper-iphone-xr-mod-nx-rim-Navy_Blue.png?v=1636424410"],"featured_image":"\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/a150601884a2c6158b475fea14e6eb5f.png?v=1624260369","options":["Color"],"media":[{"alt":null,"id":948233830499,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/a150601884a2c6158b475fea14e6eb5f.png?v=1624260369"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/a150601884a2c6158b475fea14e6eb5f.png?v=1624260369","width":1500},{"alt":null,"id":8624320512099,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/016e1a445f0b751bfbc94868c169e32b_4ea7c3c7-bc7e-496f-8f43-d8fc4ac94aec.png?v=1630574466"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/016e1a445f0b751bfbc94868c169e32b_4ea7c3c7-bc7e-496f-8f43-d8fc4ac94aec.png?v=1630574466","width":1500},{"alt":null,"id":948234879075,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/359e3405eae85c772cf26dec24d300ba_d912ad92-22a2-47c4-9e15-ee1fc1ed8275.png?v=1624260369"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/359e3405eae85c772cf26dec24d300ba_d912ad92-22a2-47c4-9e15-ee1fc1ed8275.png?v=1624260369","width":1500},{"alt":null,"id":948235993187,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/094f8605f8cc14b2756129c276432086_a7c7e77d-92b5-4d5c-b67f-d3ca203c6fad.png?v=1624260369"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/094f8605f8cc14b2756129c276432086_a7c7e77d-92b5-4d5c-b67f-d3ca203c6fad.png?v=1624260369","width":1500},{"alt":null,"id":948236288099,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/24f1c3a32e15a61b74acfd6d27e74693_bca77e5a-6f4d-43d1-92d4-f504efcf76fc.png?v=1630574466"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/24f1c3a32e15a61b74acfd6d27e74693_bca77e5a-6f4d-43d1-92d4-f504efcf76fc.png?v=1630574466","width":1500},{"alt":null,"id":948233961571,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/1bd0d722fef6418b9e501b7f9c63dff4_8471a9d8-f6c2-4b5b-9c0b-849ff28069b9.png?v=1630574466"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/1bd0d722fef6418b9e501b7f9c63dff4_8471a9d8-f6c2-4b5b-9c0b-849ff28069b9.png?v=1630574466","width":1500},{"alt":null,"id":1423542255715,"position":7,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/XR_Space_Gray_-CrashGuardNX-Combined-Camo_Green-Frame.png?v=1630574466"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/XR_Space_Gray_-CrashGuardNX-Combined-Camo_Green-Frame.png?v=1630574466","width":1500},{"alt":null,"id":1423542517859,"position":8,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/XR_Space_Gray_-CrashGuardNX-Combined-Platinum_Gray-Frame.png?v=1630574466"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/XR_Space_Gray_-CrashGuardNX-Combined-Platinum_Gray-Frame.png?v=1630574466","width":1500},{"alt":null,"id":1423542485091,"position":9,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/XR_Space_Gray_-CrashGuardNX-Combined-Lavender-Frame.png?v=1630574466"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/XR_Space_Gray_-CrashGuardNX-Combined-Lavender-Frame.png?v=1630574466","width":1500},{"alt":null,"id":20821810446435,"position":10,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/XR-Dark_Teal-Bumper-XR-Dark_Teal-Rim-XR-Dark_Teal-Button_28b0db13-f0c5-4b29-9852-1c8ab1626b0f.png?v=1630574466"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/XR-Dark_Teal-Bumper-XR-Dark_Teal-Rim-XR-Dark_Teal-Button_28b0db13-f0c5-4b29-9852-1c8ab1626b0f.png?v=1630574466","width":1999},{"alt":null,"id":20980610695267,"position":11,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/xr_phone-NPB01085J5T-Bumper-iphone-xr-mod-nx-rim-Navy_Blue.png?v=1636424410"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/xr_phone-NPB01085J5T-Bumper-iphone-xr-mod-nx-rim-Navy_Blue.png?v=1636424410","width":1999}],"content":"\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\n\u003ch1\u003e\u003cstrong\u003e\u003cspan\u003e*與iPhone 11 共用*\u003c\/span\u003e\u003c\/strong\u003e\u003c\/h1\u003e\n\u003cp\u003e\u003cstrong data-mce-fragment=\"1\"\u003e\u003cspan style=\"color: #ff0000;\" data-mce-style=\"color: #ff0000;\" data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003e1、CrashGuard NX與ModNX的飾條、按鈕皆可共用。\u003c\/span\u003e\u003c\/span\u003e\u003c\/strong\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan style=\"color: #ff0000;\" data-mce-style=\"color: #ff0000;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003e2、未附背板,\u003c\/strong\u003e\u003c\/span\u003e\u003cspan style=\"color: #ff0000;\" data-mce-style=\"color: #ff0000;\" data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003e若需透明背板搭配,請選購ModNX系列。\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e"}; $bumper = null; if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages([productImg, bumperColors[currentVariant]],{ crossOrigin: 'anonymous' }) .then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages([bumperColors[currentVariant], productImg],{ crossOrigin: 'anonymous' }) .then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } }); } $(function() { // switch device $('#select-device').on('change', function() { window.location.href = $(this).val(); }); // listen quantity changed $('input[name=quantity]').on('change', function() { var quantity = $(this).val(); }); // checkbox action $("input:checkbox").on('click', function() { // in the handler, 'this' refers to the box clicked on var $box = $(this); if ($box.is(":checked")) { // the name of the box is retrieved using the .attr() method // as it is assumed and expected to be immutable var group = "input:checkbox[name='" + $box.attr("name") + "']"; // the checked state of the group/box on the other hand will change // and the current value is retrieved using .prop() method $(group).prop("checked", false); $box.prop("checked", true); } else { $box.prop("checked", false); } }); // add to cart $("#AddToCart-product-template").click(function(e){ var elem; var addition = {}; Shopify.queue = []; e.preventDefault(); // elem = $(this); // $(elem).prop("disabled", true); var original_variant_id = $('.product-form').serialize().split('&')[0].split('=')[1]; var original_variant_quantity = $('.product-form').serialize().split('&')[1].split('=')[1]; addition.id = original_variant_id; addition.quantity = original_variant_quantity; Shopify.queue.push(addition); $.each($("input[name^='recommend[']:checked"), function(i, v) { var addition = {}; var name = $(this).attr('name'); var quantity = $('select[name="' + name + '"]').val(); addition.id = $(this).val(); addition.quantity = quantity; Shopify.queue.push(addition); }); Shopify.moveAlong(); }); Shopify.moveAlong = function() { // If we still have requests in the queue, let's process the next one. // console.log(Shopify.queue); if (Shopify.queue.length) { var request = Shopify.queue.shift(); Shopify.addItem(request.id, request.quantity, Shopify.moveAlong); } // If the queue is empty, take care of the main item else { $.getJSON('/cart.js', function(cart) { $('#CartCount').removeClass('hide'); $('#item-count').text(cart.item_count); toastr.options = { "closeButton": false, "debug": false, "newestOnTop": false, "progressBar": false, "positionClass": "toast-bottom-right", "preventDuplicates": false, "onclick": null, "showDuration": "300", "hideDuration": "1000", "timeOut": "5000", "extendedTimeOut": "1000", "showEasing": "swing", "hideEasing": "linear", "showMethod": "fadeIn", "hideMethod": "fadeOut" }; toastr["success"]("成功加入購物車"); }); } }; });
// 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: "停產" }