Shopify.queue = []; $product = {"id":1428028457059,"title":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone 7\/8\/SE2\/SE3","handle":"iphone-8-crashguard-nx","description":"\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003e\u003cstrong\u003e\u003cspan style=\"color: #ff0000;\" data-mce-style=\"color: #ff0000;\"\u003e\u003cspan\u003e1、CrashGuard NX與ModNX的飾條、按鈕皆可共用。\u003c\/span\u003e\u003c\/span\u003e\u003c\/strong\u003e\u003cbr\u003e\u003cspan style=\"color: #ff0000;\" data-mce-style=\"color: #ff0000;\"\u003e\u003cstrong\u003e2、未附背板,\u003c\/strong\u003e\u003c\/span\u003e\u003cspan style=\"color: #ff0000;\" data-mce-style=\"color: #ff0000;\"\u003e\u003cstrong\u003e若需透明背板搭配,請選購ModNX系列。\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e","published_at":"2018-09-11T18:52:37+08:00","created_at":"2018-09-11T18:52:37+08:00","vendor":"Rhinoshieldtaiwan","type":"CrashGuard NX","tags":["20%","25%","30%","35%","40%","45%","45degree","50%","brand-Apple","bundle-addition","crashguard","dropdownDevice-Apple iPhone 7\/8\/SE2\/SE3","dropdownDevice-Apple iPhone SE","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":29586858344547,"title":"白色","option1":"白色","option2":null,"option3":null,"sku":"CGN0105404","requires_shipping":true,"taxable":true,"featured_image":{"id":3896826560611,"product_id":1428028457059,"position":1,"created_at":"2018-09-11T19:08:57+08:00","updated_at":"2021-09-02T17:20:58+08:00","alt":null,"width":1877,"height":1878,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-White-Frame.png?v=1630574458","variant_ids":[29586858344547]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone 7\/8\/SE2\/SE3 - 白色","public_title":"白色","options":["白色"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-536,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":949541306467,"position":1,"preview_image":{"aspect_ratio":0.999,"height":1878,"width":1877,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-White-Frame.png?v=1630574458"}}},{"id":12566930456675,"title":"黃","option1":"黃","option2":null,"option3":null,"sku":"CGN0105409","requires_shipping":true,"taxable":true,"featured_image":{"id":16466299453539,"product_id":1428028457059,"position":2,"created_at":"2020-11-23T18:35:23+08:00","updated_at":"2021-09-02T17:20:58+08:00","alt":null,"width":1877,"height":1878,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Yellow-Frame_7d3fa9c6-9f69-4112-a68e-2102a48168ae.png?v=1630574458","variant_ids":[12566930456675]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone 7\/8\/SE2\/SE3 - 黃","public_title":"黃","options":["黃"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-332,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":8624320807011,"position":2,"preview_image":{"aspect_ratio":0.999,"height":1878,"width":1877,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Yellow-Frame_7d3fa9c6-9f69-4112-a68e-2102a48168ae.png?v=1630574458"}}},{"id":12566930489443,"title":"紅","option1":"紅","option2":null,"option3":null,"sku":"CGN0105414","requires_shipping":true,"taxable":true,"featured_image":{"id":3896824004707,"product_id":1428028457059,"position":3,"created_at":"2018-09-11T19:08:50+08:00","updated_at":"2021-09-02T17:20:58+08:00","alt":null,"width":1877,"height":1878,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Red-Frame.png?v=1630574458","variant_ids":[12566930489443]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone 7\/8\/SE2\/SE3 - 紅","public_title":"紅","options":["紅"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-597,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":949541044323,"position":3,"preview_image":{"aspect_ratio":0.999,"height":1878,"width":1877,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Red-Frame.png?v=1630574458"}}},{"id":12566930522211,"title":"黑色","option1":"黑色","option2":null,"option3":null,"sku":"CGN0105424","requires_shipping":true,"taxable":true,"featured_image":{"id":3896822005859,"product_id":1428028457059,"position":4,"created_at":"2018-09-11T19:08:43+08:00","updated_at":"2021-09-02T17:20:58+08:00","alt":null,"width":1877,"height":1878,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Black-Frame.png?v=1630574458","variant_ids":[12566930522211]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone 7\/8\/SE2\/SE3 - 黑色","public_title":"黑色","options":["黑色"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-2471,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":949540913251,"position":4,"preview_image":{"aspect_ratio":0.999,"height":1878,"width":1877,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Black-Frame.png?v=1630574458"}}},{"id":39810135425123,"title":"櫻花粉","option1":"櫻花粉","option2":null,"option3":null,"sku":"CGN0105457","requires_shipping":true,"taxable":true,"featured_image":{"id":3896822693987,"product_id":1428028457059,"position":5,"created_at":"2018-09-11T19:08:46+08:00","updated_at":"2021-09-02T17:20:58+08:00","alt":null,"width":1877,"height":1878,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Blush_Pink-Frame.png?v=1630574458","variant_ids":[39810135425123]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone 7\/8\/SE2\/SE3 - 櫻花粉","public_title":"櫻花粉","options":["櫻花粉"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-403,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":949540946019,"position":5,"preview_image":{"aspect_ratio":0.999,"height":1878,"width":1877,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Blush_Pink-Frame.png?v=1630574458"}}},{"id":32474638024803,"title":"泥灰","option1":"泥灰","option2":null,"option3":null,"sku":"CGN0105469","requires_shipping":true,"taxable":true,"featured_image":{"id":3896823349347,"product_id":1428028457059,"position":6,"created_at":"2018-09-11T19:08:48+08:00","updated_at":"2021-09-02T17:20:58+08:00","alt":null,"width":1877,"height":1878,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Graphite-Frame.png?v=1630574458","variant_ids":[32474638024803]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone 7\/8\/SE2\/SE3 - 泥灰","public_title":"泥灰","options":["泥灰"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-192,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":949541011555,"position":6,"preview_image":{"aspect_ratio":0.999,"height":1878,"width":1877,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Graphite-Frame.png?v=1630574458"}}},{"id":32507784134755,"title":"軍綠","option1":"軍綠","option2":null,"option3":null,"sku":"CGN0105415","requires_shipping":true,"taxable":true,"featured_image":{"id":11154475384931,"product_id":1428028457059,"position":7,"created_at":"2019-05-28T11:54:21+08:00","updated_at":"2021-09-02T17:20:59+08:00","alt":null,"width":1877,"height":1878,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Camo_Green-Frame_dec3b39d-c145-42d3-a14d-4e54c4fa67f9.png?v=1630574459","variant_ids":[32507784134755]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone 7\/8\/SE2\/SE3 - 軍綠","public_title":"軍綠","options":["軍綠"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-136,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":1423538323555,"position":7,"preview_image":{"aspect_ratio":0.999,"height":1878,"width":1877,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Camo_Green-Frame_dec3b39d-c145-42d3-a14d-4e54c4fa67f9.png?v=1630574459"}}},{"id":32507784167523,"title":"淺灰","option1":"淺灰","option2":null,"option3":null,"sku":"CGN01054C0","requires_shipping":true,"taxable":true,"featured_image":{"id":11154475417699,"product_id":1428028457059,"position":8,"created_at":"2019-05-28T11:54:22+08:00","updated_at":"2021-09-02T17:20:59+08:00","alt":null,"width":1877,"height":1878,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Platinum_Gray-Frame_a4955153-33d1-4801-acbb-401cfc3260ae.png?v=1630574459","variant_ids":[32507784167523]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone 7\/8\/SE2\/SE3 - 淺灰","public_title":"淺灰","options":["淺灰"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-165,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":1423538356323,"position":8,"preview_image":{"aspect_ratio":0.999,"height":1878,"width":1877,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Platinum_Gray-Frame_a4955153-33d1-4801-acbb-401cfc3260ae.png?v=1630574459"}}},{"id":28238247755875,"title":"薰衣紫","option1":"薰衣紫","option2":null,"option3":null,"sku":"CGN01054C1","requires_shipping":true,"taxable":true,"featured_image":{"id":11154475450467,"product_id":1428028457059,"position":9,"created_at":"2019-05-28T11:54:25+08:00","updated_at":"2021-09-02T17:20:59+08:00","alt":null,"width":1877,"height":1878,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Lavender-Frame_45ce50dc-5a4f-4cea-a0ab-1a073c9e2f60.png?v=1630574459","variant_ids":[28238247755875]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone 7\/8\/SE2\/SE3 - 薰衣紫","public_title":"薰衣紫","options":["薰衣紫"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-430,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":1423538389091,"position":9,"preview_image":{"aspect_ratio":0.999,"height":1878,"width":1877,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Lavender-Frame_45ce50dc-5a4f-4cea-a0ab-1a073c9e2f60.png?v=1630574459"}}},{"id":39533820870755,"title":"暗夜綠","option1":"暗夜綠","option2":null,"option3":null,"sku":"CGN01054K8","requires_shipping":true,"taxable":true,"featured_image":{"id":28509378347107,"product_id":1428028457059,"position":10,"created_at":"2021-09-02T17:20:59+08:00","updated_at":"2021-09-02T17:20:59+08:00","alt":null,"width":1999,"height":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/iPhone_8_Space_Gray-Dark_Teal-Rim-Dark_Teal-Bumper-Dark_Teal-Button_5895c075-814e-461c-b443-51556bc20d9c.png?v=1630574459","variant_ids":[39533820870755]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone 7\/8\/SE2\/SE3 - 暗夜綠","public_title":"暗夜綠","options":["暗夜綠"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-16,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":20821809692771,"position":10,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/iPhone_8_Space_Gray-Dark_Teal-Rim-Dark_Teal-Bumper-Dark_Teal-Button_5895c075-814e-461c-b443-51556bc20d9c.png?v=1630574459"}}},{"id":39644606529635,"title":"海軍藍","option1":"海軍藍","option2":null,"option3":null,"sku":"CGN01054J5","requires_shipping":true,"taxable":true,"featured_image":{"id":28661375500387,"product_id":1428028457059,"position":11,"created_at":"2021-11-09T10:17:23+08:00","updated_at":"2021-11-09T10:17:23+08:00","alt":null,"width":1999,"height":1500,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_phone-NPB01054J5T-Bumper-iphone-7-mod-nx-rim-Navy_Blue.png?v=1636424243","variant_ids":[39644606529635]},"available":true,"name":"犀牛盾CrashGuard NX 防摔邊框手機殼 - iPhone 7\/8\/SE2\/SE3 - 海軍藍","public_title":"海軍藍","options":["海軍藍"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-27,"inventory_management":null,"inventory_policy":"continue","barcode":null,"featured_media":{"alt":null,"id":20980607647843,"position":11,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_phone-NPB01054J5T-Bumper-iphone-7-mod-nx-rim-Navy_Blue.png?v=1636424243"}}}],"images":["\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-White-Frame.png?v=1630574458","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Yellow-Frame_7d3fa9c6-9f69-4112-a68e-2102a48168ae.png?v=1630574458","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Red-Frame.png?v=1630574458","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Black-Frame.png?v=1630574458","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Blush_Pink-Frame.png?v=1630574458","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Graphite-Frame.png?v=1630574458","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Camo_Green-Frame_dec3b39d-c145-42d3-a14d-4e54c4fa67f9.png?v=1630574459","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Platinum_Gray-Frame_a4955153-33d1-4801-acbb-401cfc3260ae.png?v=1630574459","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Lavender-Frame_45ce50dc-5a4f-4cea-a0ab-1a073c9e2f60.png?v=1630574459","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/iPhone_8_Space_Gray-Dark_Teal-Rim-Dark_Teal-Bumper-Dark_Teal-Button_5895c075-814e-461c-b443-51556bc20d9c.png?v=1630574459","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_phone-NPB01054J5T-Bumper-iphone-7-mod-nx-rim-Navy_Blue.png?v=1636424243"],"featured_image":"\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-White-Frame.png?v=1630574458","options":["Color"],"media":[{"alt":null,"id":949541306467,"position":1,"preview_image":{"aspect_ratio":0.999,"height":1878,"width":1877,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-White-Frame.png?v=1630574458"},"aspect_ratio":0.999,"height":1878,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-White-Frame.png?v=1630574458","width":1877},{"alt":null,"id":8624320807011,"position":2,"preview_image":{"aspect_ratio":0.999,"height":1878,"width":1877,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Yellow-Frame_7d3fa9c6-9f69-4112-a68e-2102a48168ae.png?v=1630574458"},"aspect_ratio":0.999,"height":1878,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Yellow-Frame_7d3fa9c6-9f69-4112-a68e-2102a48168ae.png?v=1630574458","width":1877},{"alt":null,"id":949541044323,"position":3,"preview_image":{"aspect_ratio":0.999,"height":1878,"width":1877,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Red-Frame.png?v=1630574458"},"aspect_ratio":0.999,"height":1878,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Red-Frame.png?v=1630574458","width":1877},{"alt":null,"id":949540913251,"position":4,"preview_image":{"aspect_ratio":0.999,"height":1878,"width":1877,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Black-Frame.png?v=1630574458"},"aspect_ratio":0.999,"height":1878,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Black-Frame.png?v=1630574458","width":1877},{"alt":null,"id":949540946019,"position":5,"preview_image":{"aspect_ratio":0.999,"height":1878,"width":1877,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Blush_Pink-Frame.png?v=1630574458"},"aspect_ratio":0.999,"height":1878,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Blush_Pink-Frame.png?v=1630574458","width":1877},{"alt":null,"id":949541011555,"position":6,"preview_image":{"aspect_ratio":0.999,"height":1878,"width":1877,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Graphite-Frame.png?v=1630574458"},"aspect_ratio":0.999,"height":1878,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Graphite-Frame.png?v=1630574458","width":1877},{"alt":null,"id":1423538323555,"position":7,"preview_image":{"aspect_ratio":0.999,"height":1878,"width":1877,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Camo_Green-Frame_dec3b39d-c145-42d3-a14d-4e54c4fa67f9.png?v=1630574459"},"aspect_ratio":0.999,"height":1878,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Camo_Green-Frame_dec3b39d-c145-42d3-a14d-4e54c4fa67f9.png?v=1630574459","width":1877},{"alt":null,"id":1423538356323,"position":8,"preview_image":{"aspect_ratio":0.999,"height":1878,"width":1877,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Platinum_Gray-Frame_a4955153-33d1-4801-acbb-401cfc3260ae.png?v=1630574459"},"aspect_ratio":0.999,"height":1878,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Platinum_Gray-Frame_a4955153-33d1-4801-acbb-401cfc3260ae.png?v=1630574459","width":1877},{"alt":null,"id":1423538389091,"position":9,"preview_image":{"aspect_ratio":0.999,"height":1878,"width":1877,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Lavender-Frame_45ce50dc-5a4f-4cea-a0ab-1a073c9e2f60.png?v=1630574459"},"aspect_ratio":0.999,"height":1878,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_Black_-CrashGuardNX-Combined-Lavender-Frame_45ce50dc-5a4f-4cea-a0ab-1a073c9e2f60.png?v=1630574459","width":1877},{"alt":null,"id":20821809692771,"position":10,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/iPhone_8_Space_Gray-Dark_Teal-Rim-Dark_Teal-Bumper-Dark_Teal-Button_5895c075-814e-461c-b443-51556bc20d9c.png?v=1630574459"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/iPhone_8_Space_Gray-Dark_Teal-Rim-Dark_Teal-Bumper-Dark_Teal-Button_5895c075-814e-461c-b443-51556bc20d9c.png?v=1630574459","width":1999},{"alt":null,"id":20980607647843,"position":11,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_phone-NPB01054J5T-Bumper-iphone-7-mod-nx-rim-Navy_Blue.png?v=1636424243"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/i8_phone-NPB01054J5T-Bumper-iphone-7-mod-nx-rim-Navy_Blue.png?v=1636424243","width":1999}],"content":"\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003e\u003cstrong\u003e\u003cspan style=\"color: #ff0000;\" data-mce-style=\"color: #ff0000;\"\u003e\u003cspan\u003e1、CrashGuard NX與ModNX的飾條、按鈕皆可共用。\u003c\/span\u003e\u003c\/span\u003e\u003c\/strong\u003e\u003cbr\u003e\u003cspan style=\"color: #ff0000;\" data-mce-style=\"color: #ff0000;\"\u003e\u003cstrong\u003e2、未附背板,\u003c\/strong\u003e\u003c\/span\u003e\u003cspan style=\"color: #ff0000;\" data-mce-style=\"color: #ff0000;\"\u003e\u003cstrong\u003e若需透明背板搭配,請選購ModNX系列。\u003c\/strong\u003e\u003c\/span\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: "停產" }