Shopify.queue = []; $product = {"id":1414797033571,"title":"犀牛盾專用飾條 - iPhone 7 Plus\/8 Plus","handle":"iphone-8-plus-mod-nx-rim","description":"\u003ch1\u003e\u003cspan\u003e\u003cstrong\u003e適用於MOD NX與CrashGuard NX\u003c\/strong\u003e\u003c\/span\u003e\u003c\/h1\u003e\n\u003cp\u003e\u003cspan\u003e建議售價:60元\u003c\/span\u003e\u003c\/p\u003e","published_at":"2018-08-01T19:41:56+08:00","created_at":"2018-07-31T16:32:40+08:00","vendor":"犀牛盾RHINOSHIELD","type":"ModNXRim","tags":["20%","25%","30%","35%","40%","45%","45degree","50%","brand-Apple","customized-backprint","device-iPhone 8 Plus","iPhone 7 Plus\/8 Plus","member","multi-shared","quickbuy","reseller","reseller-asus","rim","Top50","type-Mod NX Rim"],"price":3000,"price_min":3000,"price_max":3000,"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":12387232252003,"title":"白色","option1":"白色","option2":null,"option3":null,"sku":"NX0105504E","requires_shipping":true,"taxable":true,"featured_image":{"id":3796020166755,"product_id":1414797033571,"position":1,"created_at":"2018-07-31T17:14:08+08:00","updated_at":"2021-09-02T17:21:11+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/White-strip_43bb4853-e9db-4895-adf4-8cdc01a5542a.png?v=1630574471","variant_ids":[12387232252003]},"available":true,"name":"犀牛盾專用飾條 - iPhone 7 Plus\/8 Plus - 白色","public_title":"白色","options":["白色"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-737,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":927471632483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/White-strip_43bb4853-e9db-4895-adf4-8cdc01a5542a.png?v=1630574471"}}},{"id":12387232284771,"title":"橘色","option1":"橘色","option2":null,"option3":null,"sku":"NX0105506E","requires_shipping":true,"taxable":true,"featured_image":{"id":3796019511395,"product_id":1414797033571,"position":2,"created_at":"2018-07-31T17:14:00+08:00","updated_at":"2021-09-02T17:21:11+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Orange-strip_a82265ef-dfa0-4462-a10f-17681a6e14f7.png?v=1630574471","variant_ids":[12387232284771]},"available":true,"name":"犀牛盾專用飾條 - iPhone 7 Plus\/8 Plus - 橘色","public_title":"橘色","options":["橘色"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-404,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":927470977123,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Orange-strip_a82265ef-dfa0-4462-a10f-17681a6e14f7.png?v=1630574471"}}},{"id":12387232317539,"title":"天空藍","option1":"天空藍","option2":null,"option3":null,"sku":"NX0105507E","requires_shipping":true,"taxable":true,"featured_image":{"id":3796018495587,"product_id":1414797033571,"position":3,"created_at":"2018-07-31T17:13:48+08:00","updated_at":"2021-09-02T17:21:11+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Azure_Blue-strip_ae76cdb2-342b-4a5a-852e-1c88f46c9644.png?v=1630574471","variant_ids":[12387232317539]},"available":true,"name":"犀牛盾專用飾條 - iPhone 7 Plus\/8 Plus - 天空藍","public_title":"天空藍","options":["天空藍"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-661,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":927470059619,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Azure_Blue-strip_ae76cdb2-342b-4a5a-852e-1c88f46c9644.png?v=1630574471"}}},{"id":12387232350307,"title":"紫色","option1":"紫色","option2":null,"option3":null,"sku":"NX0105508E","requires_shipping":true,"taxable":true,"featured_image":{"id":3796019675235,"product_id":1414797033571,"position":4,"created_at":"2018-07-31T17:14:03+08:00","updated_at":"2021-09-02T17:21:11+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/purple-strip_7704e77d-3118-47fc-af90-1e5daebea705.png?v=1630574471","variant_ids":[12387232350307]},"available":true,"name":"犀牛盾專用飾條 - iPhone 7 Plus\/8 Plus - 紫色","public_title":"紫色","options":["紫色"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-337,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":927471140963,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/purple-strip_7704e77d-3118-47fc-af90-1e5daebea705.png?v=1630574471"}}},{"id":12387232383075,"title":"黃色","option1":"黃色","option2":null,"option3":null,"sku":"NX0105509E","requires_shipping":true,"taxable":true,"featured_image":{"id":3796018298979,"product_id":1414797033571,"position":5,"created_at":"2018-07-31T17:13:45+08:00","updated_at":"2021-09-02T17:21:11+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Yellow-strip_099a99b5-c419-49d8-8d93-c317f1b93021.png?v=1630574471","variant_ids":[12387232383075]},"available":true,"name":"犀牛盾專用飾條 - iPhone 7 Plus\/8 Plus - 黃色","public_title":"黃色","options":["黃色"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-737,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":927469895779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Yellow-strip_099a99b5-c419-49d8-8d93-c317f1b93021.png?v=1630574471"}}},{"id":12387232415843,"title":"綠色","option1":"綠色","option2":null,"option3":null,"sku":"NX0105510E","requires_shipping":true,"taxable":true,"featured_image":{"id":3796019183715,"product_id":1414797033571,"position":6,"created_at":"2018-07-31T17:13:56+08:00","updated_at":"2021-09-02T17:21:11+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Fern_Green-strip_1add7cbc-dfca-4433-bec7-17908489d05c.png?v=1630574471","variant_ids":[12387232415843]},"available":true,"name":"犀牛盾專用飾條 - iPhone 7 Plus\/8 Plus - 綠色","public_title":"綠色","options":["綠色"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-439,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":927470682211,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Fern_Green-strip_1add7cbc-dfca-4433-bec7-17908489d05c.png?v=1630574471"}}},{"id":12387232448611,"title":"紅色","option1":"紅色","option2":null,"option3":null,"sku":"NX0105514E","requires_shipping":true,"taxable":true,"featured_image":{"id":3796019839075,"product_id":1414797033571,"position":7,"created_at":"2018-07-31T17:14:04+08:00","updated_at":"2021-09-02T17:21:11+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Red-strip_e14e11c7-a46b-47cb-aeb5-d8fefa1418e8.png?v=1630574471","variant_ids":[12387232448611]},"available":true,"name":"犀牛盾專用飾條 - iPhone 7 Plus\/8 Plus - 紅色","public_title":"紅色","options":["紅色"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-1206,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":927471304803,"position":7,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Red-strip_e14e11c7-a46b-47cb-aeb5-d8fefa1418e8.png?v=1630574471"}}},{"id":12387232481379,"title":"黑色","option1":"黑色","option2":null,"option3":null,"sku":"NX0105524E","requires_shipping":true,"taxable":true,"featured_image":{"id":3796018593891,"product_id":1414797033571,"position":8,"created_at":"2018-07-31T17:13:49+08:00","updated_at":"2021-09-02T17:21:11+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Black-strip_08e3877d-f57f-4652-a5f7-0fc0d240ea09.png?v=1630574471","variant_ids":[12387232481379]},"available":true,"name":"犀牛盾專用飾條 - iPhone 7 Plus\/8 Plus - 黑色","public_title":"黑色","options":["黑色"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-346,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":927470157923,"position":8,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Black-strip_08e3877d-f57f-4652-a5f7-0fc0d240ea09.png?v=1630574471"}}},{"id":12387232514147,"title":"櫻花粉","option1":"櫻花粉","option2":null,"option3":null,"sku":"NX0105557E","requires_shipping":true,"taxable":true,"featured_image":{"id":3796018888803,"product_id":1414797033571,"position":9,"created_at":"2018-07-31T17:13:53+08:00","updated_at":"2021-09-02T17:21:11+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Brush_Pink-strip_f8e864d7-4f75-484e-9147-760a612ec7c2.png?v=1630574471","variant_ids":[12387232514147]},"available":true,"name":"犀牛盾專用飾條 - iPhone 7 Plus\/8 Plus - 櫻花粉","public_title":"櫻花粉","options":["櫻花粉"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-501,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":927470420067,"position":9,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Brush_Pink-strip_f8e864d7-4f75-484e-9147-760a612ec7c2.png?v=1630574471"}}},{"id":12387232546915,"title":"泥灰","option1":"泥灰","option2":null,"option3":null,"sku":"NX0105569E","requires_shipping":true,"taxable":true,"featured_image":{"id":3796019380323,"product_id":1414797033571,"position":10,"created_at":"2018-07-31T17:13:57+08:00","updated_at":"2021-09-02T17:21:11+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Graphite-strip_87f2595e-5baa-4371-a4cf-07f83e8f18a9.png?v=1630574471","variant_ids":[12387232546915]},"available":true,"name":"犀牛盾專用飾條 - iPhone 7 Plus\/8 Plus - 泥灰","public_title":"泥灰","options":["泥灰"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-196,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":927470846051,"position":10,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Graphite-strip_87f2595e-5baa-4371-a4cf-07f83e8f18a9.png?v=1630574471"}}},{"id":12387232579683,"title":"雀藍","option1":"雀藍","option2":null,"option3":null,"sku":"NX0105577E","requires_shipping":true,"taxable":true,"featured_image":{"id":15230728765539,"product_id":1414797033571,"position":11,"created_at":"2020-06-10T15:41:39+08:00","updated_at":"2021-09-02T17:21:11+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Royal_Blue-Rim-NewFlow_fdfc9844-b540-4dc0-84c5-47aae626a719.png?v=1630574471","variant_ids":[12387232579683]},"available":true,"name":"犀牛盾專用飾條 - iPhone 7 Plus\/8 Plus - 雀藍","public_title":"雀藍","options":["雀藍"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-283,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":7388238315619,"position":11,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Royal_Blue-Rim-NewFlow_fdfc9844-b540-4dc0-84c5-47aae626a719.png?v=1630574471"}}},{"id":28238381645923,"title":"軍綠","option1":"軍綠","option2":null,"option3":null,"sku":"NX0105515E","requires_shipping":true,"taxable":true,"featured_image":{"id":11083887804515,"product_id":1414797033571,"position":12,"created_at":"2019-05-15T15:08:01+08:00","updated_at":"2021-09-02T17:21:11+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Camo_Green-Rim.png?v=1630574471","variant_ids":[28238381645923]},"available":true,"name":"犀牛盾專用飾條 - iPhone 7 Plus\/8 Plus - 軍綠","public_title":"軍綠","options":["軍綠"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-104,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":1390452146275,"position":12,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Camo_Green-Rim.png?v=1630574471"}}},{"id":39792807116899,"title":"海軍藍","option1":"海軍藍","option2":null,"option3":null,"sku":"NX01055J5E","requires_shipping":true,"taxable":true,"featured_image":{"id":28941080625251,"product_id":1414797033571,"position":16,"created_at":"2022-03-12T18:09:30+08:00","updated_at":"2022-03-12T18:09:30+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/NavyBlue-rim-addition_6da899eb-444a-4fc8-87fd-2dfa52032555.png?v=1647079770","variant_ids":[39792807116899]},"available":true,"name":"犀牛盾專用飾條 - iPhone 7 Plus\/8 Plus - 海軍藍","public_title":"海軍藍","options":["海軍藍"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"","featured_media":{"alt":null,"id":21276071755875,"position":16,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/NavyBlue-rim-addition_6da899eb-444a-4fc8-87fd-2dfa52032555.png?v=1647079770"}}},{"id":28238384201827,"title":"淺灰","option1":"淺灰","option2":null,"option3":null,"sku":"NX01055C0E","requires_shipping":true,"taxable":true,"featured_image":{"id":11083890589795,"product_id":1414797033571,"position":13,"created_at":"2019-05-15T15:08:33+08:00","updated_at":"2021-09-02T17:21:11+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Platinum_Gray-Rim.png?v=1630574471","variant_ids":[28238384201827]},"available":true,"name":"犀牛盾專用飾條 - iPhone 7 Plus\/8 Plus - 淺灰","public_title":"淺灰","options":["淺灰"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-113,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":1390452342883,"position":13,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Platinum_Gray-Rim.png?v=1630574471"}}},{"id":28238385152099,"title":"薰衣紫","option1":"薰衣紫","option2":null,"option3":null,"sku":"NX01055C1E","requires_shipping":true,"taxable":true,"featured_image":{"id":11083892195427,"product_id":1414797033571,"position":14,"created_at":"2019-05-15T15:09:03+08:00","updated_at":"2021-09-02T17:21:11+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Lavender-Rim.png?v=1630574471","variant_ids":[28238385152099]},"available":true,"name":"犀牛盾專用飾條 - iPhone 7 Plus\/8 Plus - 薰衣紫","public_title":"薰衣紫","options":["薰衣紫"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-135,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":1390452703331,"position":14,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Lavender-Rim.png?v=1630574471"}}},{"id":39533821821027,"title":"暗夜綠","option1":"暗夜綠","option2":null,"option3":null,"sku":"NX01055K8E","requires_shipping":true,"taxable":true,"featured_image":{"id":28481969422435,"product_id":1414797033571,"position":15,"created_at":"2021-08-23T14:25:58+08:00","updated_at":"2021-08-23T14:25:58+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Dark_Teal-rim-addition_a7dd321f-b7ed-4ca8-b579-15812522e840.png?v=1629699958","variant_ids":[39533821821027]},"available":true,"name":"犀牛盾專用飾條 - iPhone 7 Plus\/8 Plus - 暗夜綠","public_title":"暗夜綠","options":["暗夜綠"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-2,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":20792993513571,"position":15,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Dark_Teal-rim-addition_a7dd321f-b7ed-4ca8-b579-15812522e840.png?v=1629699958"}}}],"images":["\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/White-strip_43bb4853-e9db-4895-adf4-8cdc01a5542a.png?v=1630574471","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Orange-strip_a82265ef-dfa0-4462-a10f-17681a6e14f7.png?v=1630574471","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Azure_Blue-strip_ae76cdb2-342b-4a5a-852e-1c88f46c9644.png?v=1630574471","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/purple-strip_7704e77d-3118-47fc-af90-1e5daebea705.png?v=1630574471","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Yellow-strip_099a99b5-c419-49d8-8d93-c317f1b93021.png?v=1630574471","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Fern_Green-strip_1add7cbc-dfca-4433-bec7-17908489d05c.png?v=1630574471","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Red-strip_e14e11c7-a46b-47cb-aeb5-d8fefa1418e8.png?v=1630574471","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Black-strip_08e3877d-f57f-4652-a5f7-0fc0d240ea09.png?v=1630574471","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Brush_Pink-strip_f8e864d7-4f75-484e-9147-760a612ec7c2.png?v=1630574471","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Graphite-strip_87f2595e-5baa-4371-a4cf-07f83e8f18a9.png?v=1630574471","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Royal_Blue-Rim-NewFlow_fdfc9844-b540-4dc0-84c5-47aae626a719.png?v=1630574471","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Camo_Green-Rim.png?v=1630574471","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Platinum_Gray-Rim.png?v=1630574471","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Lavender-Rim.png?v=1630574471","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Dark_Teal-rim-addition_a7dd321f-b7ed-4ca8-b579-15812522e840.png?v=1629699958","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/NavyBlue-rim-addition_6da899eb-444a-4fc8-87fd-2dfa52032555.png?v=1647079770"],"featured_image":"\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/White-strip_43bb4853-e9db-4895-adf4-8cdc01a5542a.png?v=1630574471","options":["Color"],"media":[{"alt":null,"id":927471632483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/White-strip_43bb4853-e9db-4895-adf4-8cdc01a5542a.png?v=1630574471"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/White-strip_43bb4853-e9db-4895-adf4-8cdc01a5542a.png?v=1630574471","width":1701},{"alt":null,"id":927470977123,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Orange-strip_a82265ef-dfa0-4462-a10f-17681a6e14f7.png?v=1630574471"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Orange-strip_a82265ef-dfa0-4462-a10f-17681a6e14f7.png?v=1630574471","width":1701},{"alt":null,"id":927470059619,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Azure_Blue-strip_ae76cdb2-342b-4a5a-852e-1c88f46c9644.png?v=1630574471"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Azure_Blue-strip_ae76cdb2-342b-4a5a-852e-1c88f46c9644.png?v=1630574471","width":1701},{"alt":null,"id":927471140963,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/purple-strip_7704e77d-3118-47fc-af90-1e5daebea705.png?v=1630574471"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/purple-strip_7704e77d-3118-47fc-af90-1e5daebea705.png?v=1630574471","width":1701},{"alt":null,"id":927469895779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Yellow-strip_099a99b5-c419-49d8-8d93-c317f1b93021.png?v=1630574471"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Yellow-strip_099a99b5-c419-49d8-8d93-c317f1b93021.png?v=1630574471","width":1701},{"alt":null,"id":927470682211,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Fern_Green-strip_1add7cbc-dfca-4433-bec7-17908489d05c.png?v=1630574471"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Fern_Green-strip_1add7cbc-dfca-4433-bec7-17908489d05c.png?v=1630574471","width":1701},{"alt":null,"id":927471304803,"position":7,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Red-strip_e14e11c7-a46b-47cb-aeb5-d8fefa1418e8.png?v=1630574471"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Red-strip_e14e11c7-a46b-47cb-aeb5-d8fefa1418e8.png?v=1630574471","width":1701},{"alt":null,"id":927470157923,"position":8,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Black-strip_08e3877d-f57f-4652-a5f7-0fc0d240ea09.png?v=1630574471"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Black-strip_08e3877d-f57f-4652-a5f7-0fc0d240ea09.png?v=1630574471","width":1701},{"alt":null,"id":927470420067,"position":9,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Brush_Pink-strip_f8e864d7-4f75-484e-9147-760a612ec7c2.png?v=1630574471"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Brush_Pink-strip_f8e864d7-4f75-484e-9147-760a612ec7c2.png?v=1630574471","width":1701},{"alt":null,"id":927470846051,"position":10,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Graphite-strip_87f2595e-5baa-4371-a4cf-07f83e8f18a9.png?v=1630574471"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Graphite-strip_87f2595e-5baa-4371-a4cf-07f83e8f18a9.png?v=1630574471","width":1701},{"alt":null,"id":7388238315619,"position":11,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Royal_Blue-Rim-NewFlow_fdfc9844-b540-4dc0-84c5-47aae626a719.png?v=1630574471"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Royal_Blue-Rim-NewFlow_fdfc9844-b540-4dc0-84c5-47aae626a719.png?v=1630574471","width":1701},{"alt":null,"id":1390452146275,"position":12,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Camo_Green-Rim.png?v=1630574471"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Camo_Green-Rim.png?v=1630574471","width":1701},{"alt":null,"id":1390452342883,"position":13,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Platinum_Gray-Rim.png?v=1630574471"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Platinum_Gray-Rim.png?v=1630574471","width":1701},{"alt":null,"id":1390452703331,"position":14,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Lavender-Rim.png?v=1630574471"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Lavender-Rim.png?v=1630574471","width":1701},{"alt":null,"id":20792993513571,"position":15,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Dark_Teal-rim-addition_a7dd321f-b7ed-4ca8-b579-15812522e840.png?v=1629699958"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Dark_Teal-rim-addition_a7dd321f-b7ed-4ca8-b579-15812522e840.png?v=1629699958","width":1701},{"alt":null,"id":21276071755875,"position":16,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/NavyBlue-rim-addition_6da899eb-444a-4fc8-87fd-2dfa52032555.png?v=1647079770"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/NavyBlue-rim-addition_6da899eb-444a-4fc8-87fd-2dfa52032555.png?v=1647079770","width":1701}],"content":"\u003ch1\u003e\u003cspan\u003e\u003cstrong\u003e適用於MOD NX與CrashGuard NX\u003c\/strong\u003e\u003c\/span\u003e\u003c\/h1\u003e\n\u003cp\u003e\u003cspan\u003e建議售價:60元\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: "停產" }