Shopify.queue = []; $product = {"id":1414797066339,"title":"犀牛盾專用飾條 - iPhone 11 Pro \/ XS \/ X","handle":"iphone-11-pro-mod-nx-rim","description":"\u003ch1\u003e\n\u003cspan style=\"color: #ff0000;\"\u003e\u003cstrong\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003cstrong\u003e適用於MOD NX與CrashGuard NX\u003c\/strong\u003e\n\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:41+08:00","vendor":"犀牛盾RHINOSHIELD","type":"ModNXRim","tags":["20%","25%","30%","35%","40%","45%","45degree","50%","brand-Apple","customized-backprint","device-iPhone 11 Pro","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":12387232612451,"title":"白色","option1":"白色","option2":null,"option3":null,"sku":"NX0114704E","requires_shipping":true,"taxable":true,"featured_image":{"id":3796020691043,"product_id":1414797066339,"position":1,"created_at":"2018-07-31T17:14:17+08:00","updated_at":"2021-09-02T17:21:09+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/White-strip_33ab1ebb-ad02-48cd-809a-bb95f86bf9a8.png?v=1630574469","variant_ids":[12387232612451]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro \/ XS \/ X - 白色","public_title":"白色","options":["白色"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-847,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":927472091235,"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_33ab1ebb-ad02-48cd-809a-bb95f86bf9a8.png?v=1630574469"}}},{"id":12387232645219,"title":"橘色","option1":"橘色","option2":null,"option3":null,"sku":"NX0114706E","requires_shipping":true,"taxable":true,"featured_image":{"id":3796020297827,"product_id":1414797066339,"position":2,"created_at":"2018-07-31T17:14:11+08:00","updated_at":"2021-09-02T17:21:09+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Orange-strip_bf91b6f5-f3d2-4175-a7c5-e7263cab7316.png?v=1630574469","variant_ids":[12387232645219]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro \/ XS \/ X - 橘色","public_title":"橘色","options":["橘色"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-535,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":927471763555,"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_bf91b6f5-f3d2-4175-a7c5-e7263cab7316.png?v=1630574469"}}},{"id":12387232677987,"title":"天空藍","option1":"天空藍","option2":null,"option3":null,"sku":"NX0114707E","requires_shipping":true,"taxable":true,"featured_image":{"id":3796019708003,"product_id":1414797066339,"position":3,"created_at":"2018-07-31T17:14:03+08:00","updated_at":"2021-09-02T17:21:09+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Azure_Blue-strip_c1da5014-cb13-4b5f-9801-a7d047d7c5ea.png?v=1630574469","variant_ids":[12387232677987]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro \/ XS \/ X - 天空藍","public_title":"天空藍","options":["天空藍"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-721,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":927471173731,"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_c1da5014-cb13-4b5f-9801-a7d047d7c5ea.png?v=1630574469"}}},{"id":12387232710755,"title":"紫色","option1":"紫色","option2":null,"option3":null,"sku":"NX0114708E","requires_shipping":true,"taxable":true,"featured_image":{"id":3796020428899,"product_id":1414797066339,"position":4,"created_at":"2018-07-31T17:14:13+08:00","updated_at":"2021-09-02T17:21:09+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/purple-strip_81cb872c-8851-4fdb-83a0-8fe875cda6ae.png?v=1630574469","variant_ids":[12387232710755]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro \/ XS \/ X - 紫色","public_title":"紫色","options":["紫色"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-364,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":927471861859,"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_81cb872c-8851-4fdb-83a0-8fe875cda6ae.png?v=1630574469"}}},{"id":12387232743523,"title":"黃色","option1":"黃色","option2":null,"option3":null,"sku":"NX0114709E","requires_shipping":true,"taxable":true,"featured_image":{"id":3796019544163,"product_id":1414797066339,"position":5,"created_at":"2018-07-31T17:14:00+08:00","updated_at":"2021-09-02T17:21:09+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Yellow-strip_96be6f54-3cfe-4f9b-987b-c67fb9c3b425.png?v=1630574469","variant_ids":[12387232743523]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro \/ XS \/ X - 黃色","public_title":"黃色","options":["黃色"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-930,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":927471009891,"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_96be6f54-3cfe-4f9b-987b-c67fb9c3b425.png?v=1630574469"}}},{"id":12387232776291,"title":"綠色","option1":"綠色","option2":null,"option3":null,"sku":"NX0114710E","requires_shipping":true,"taxable":true,"featured_image":{"id":3796020068451,"product_id":1414797066339,"position":6,"created_at":"2018-07-31T17:14:07+08:00","updated_at":"2021-09-02T17:21:09+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Fern_Green-strip_955aa613-5c6d-4a16-9a50-2c5df5ea125a.png?v=1630574469","variant_ids":[12387232776291]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro \/ XS \/ X - 綠色","public_title":"綠色","options":["綠色"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-480,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":927471534179,"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_955aa613-5c6d-4a16-9a50-2c5df5ea125a.png?v=1630574469"}}},{"id":12387232809059,"title":"紅色","option1":"紅色","option2":null,"option3":null,"sku":"NX0114714E","requires_shipping":true,"taxable":true,"featured_image":{"id":3796020559971,"product_id":1414797066339,"position":7,"created_at":"2018-07-31T17:14:14+08:00","updated_at":"2021-09-02T17:21:09+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Red-strip_28bf955a-00d1-445f-b2a6-994e25560005.png?v=1630574469","variant_ids":[12387232809059]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro \/ XS \/ X - 紅色","public_title":"紅色","options":["紅色"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-1044,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":927471960163,"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_28bf955a-00d1-445f-b2a6-994e25560005.png?v=1630574469"}}},{"id":12387232841827,"title":"黑色","option1":"黑色","option2":null,"option3":null,"sku":"NX0114724E","requires_shipping":true,"taxable":true,"featured_image":{"id":3796019806307,"product_id":1414797066339,"position":8,"created_at":"2018-07-31T17:14:04+08:00","updated_at":"2021-09-02T17:21:09+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Black-strip_f6e89410-d01d-407c-8ba1-014fe7a7bd4c.png?v=1630574469","variant_ids":[12387232841827]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro \/ XS \/ X - 黑色","public_title":"黑色","options":["黑色"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-366,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":927471272035,"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_f6e89410-d01d-407c-8ba1-014fe7a7bd4c.png?v=1630574469"}}},{"id":12387232874595,"title":"櫻花粉","option1":"櫻花粉","option2":null,"option3":null,"sku":"NX0114757E","requires_shipping":true,"taxable":true,"featured_image":{"id":3796019904611,"product_id":1414797066339,"position":9,"created_at":"2018-07-31T17:14:05+08:00","updated_at":"2020-06-10T15:41:29+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Brush_Pink-strip_79755356-669d-4c26-96a5-9349f4811300.png?v=1591774889","variant_ids":[12387232874595]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro \/ XS \/ X - 櫻花粉","public_title":"櫻花粉","options":["櫻花粉"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-545,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":927471370339,"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_79755356-669d-4c26-96a5-9349f4811300.png?v=1591774889"}}},{"id":12387232907363,"title":"泥灰","option1":"泥灰","option2":null,"option3":null,"sku":"NX0114769E","requires_shipping":true,"taxable":true,"featured_image":{"id":3796020199523,"product_id":1414797066339,"position":10,"created_at":"2018-07-31T17:14:08+08:00","updated_at":"2021-09-02T17:21:09+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Graphite-strip_c2dd128c-adda-4b79-a130-a2842699f830.png?v=1630574469","variant_ids":[12387232907363]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro \/ XS \/ X - 泥灰","public_title":"泥灰","options":["泥灰"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-354,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":927471665251,"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_c2dd128c-adda-4b79-a130-a2842699f830.png?v=1630574469"}}},{"id":12387232940131,"title":"雀藍","option1":"雀藍","option2":null,"option3":null,"sku":"NX0114777E","requires_shipping":true,"taxable":true,"featured_image":{"id":15230728372323,"product_id":1414797066339,"position":11,"created_at":"2020-06-10T15:41:29+08:00","updated_at":"2021-09-02T17:21:09+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Royal_Blue-Rim-NewFlow_a1c2ddf7-7569-4c34-be0e-24d8d4d92ac0.png?v=1630574469","variant_ids":[12387232940131]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro \/ XS \/ X - 雀藍","public_title":"雀藍","options":["雀藍"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-376,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":7388237922403,"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_a1c2ddf7-7569-4c34-be0e-24d8d4d92ac0.png?v=1630574469"}}},{"id":28238405763171,"title":"軍綠","option1":"軍綠","option2":null,"option3":null,"sku":"NX0114715E","requires_shipping":true,"taxable":true,"featured_image":{"id":11083913658467,"product_id":1414797066339,"position":12,"created_at":"2019-05-15T15:13:55+08:00","updated_at":"2021-09-02T17:21:09+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Camo_Green-Rim_1d3ab075-77be-46ea-a319-c3f366432917.png?v=1630574469","variant_ids":[28238405763171]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro \/ XS \/ X - 軍綠","public_title":"軍綠","options":["軍綠"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-155,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":1390457061475,"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_1d3ab075-77be-46ea-a319-c3f366432917.png?v=1630574469"}}},{"id":28238407925859,"title":"淺灰","option1":"淺灰","option2":null,"option3":null,"sku":"NX01147C0E","requires_shipping":true,"taxable":true,"featured_image":{"id":11083917230179,"product_id":1414797066339,"position":13,"created_at":"2019-05-15T15:14:23+08:00","updated_at":"2021-09-02T17:21:09+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Platinum_Gray-Rim_9ac756d4-352b-416f-8054-d65be0c7fd43.png?v=1630574469","variant_ids":[28238407925859]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro \/ XS \/ X - 淺灰","public_title":"淺灰","options":["淺灰"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-173,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":1390458110051,"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_9ac756d4-352b-416f-8054-d65be0c7fd43.png?v=1630574469"}}},{"id":28238408351843,"title":"薰衣紫","option1":"薰衣紫","option2":null,"option3":null,"sku":"NX01147C1E","requires_shipping":true,"taxable":true,"featured_image":{"id":11083919097955,"product_id":1414797066339,"position":14,"created_at":"2019-05-15T15:14:51+08:00","updated_at":"2021-09-02T17:21:09+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Lavender-Rim_0c1af726-f034-42e4-8dde-359341f0439d.png?v=1630574469","variant_ids":[28238408351843]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro \/ XS \/ X - 薰衣紫","public_title":"薰衣紫","options":["薰衣紫"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-187,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":1390459453539,"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_0c1af726-f034-42e4-8dde-359341f0439d.png?v=1630574469"}}},{"id":39533821427811,"title":"暗夜綠","option1":"暗夜綠","option2":null,"option3":null,"sku":"NX01147K8E","requires_shipping":true,"taxable":true,"featured_image":{"id":28481969061987,"product_id":1414797066339,"position":15,"created_at":"2021-08-23T14:25:47+08:00","updated_at":"2021-08-23T14:25:47+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Dark_Teal-rim-addition_a75d32c5-47a2-47c8-af57-1806ae1db2bf.png?v=1629699947","variant_ids":[39533821427811]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro \/ XS \/ X - 暗夜綠","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":20792992890979,"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_a75d32c5-47a2-47c8-af57-1806ae1db2bf.png?v=1629699947"}}}],"images":["\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/White-strip_33ab1ebb-ad02-48cd-809a-bb95f86bf9a8.png?v=1630574469","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Orange-strip_bf91b6f5-f3d2-4175-a7c5-e7263cab7316.png?v=1630574469","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Azure_Blue-strip_c1da5014-cb13-4b5f-9801-a7d047d7c5ea.png?v=1630574469","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/purple-strip_81cb872c-8851-4fdb-83a0-8fe875cda6ae.png?v=1630574469","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Yellow-strip_96be6f54-3cfe-4f9b-987b-c67fb9c3b425.png?v=1630574469","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Fern_Green-strip_955aa613-5c6d-4a16-9a50-2c5df5ea125a.png?v=1630574469","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Red-strip_28bf955a-00d1-445f-b2a6-994e25560005.png?v=1630574469","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Black-strip_f6e89410-d01d-407c-8ba1-014fe7a7bd4c.png?v=1630574469","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Brush_Pink-strip_79755356-669d-4c26-96a5-9349f4811300.png?v=1591774889","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Graphite-strip_c2dd128c-adda-4b79-a130-a2842699f830.png?v=1630574469","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Royal_Blue-Rim-NewFlow_a1c2ddf7-7569-4c34-be0e-24d8d4d92ac0.png?v=1630574469","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Camo_Green-Rim_1d3ab075-77be-46ea-a319-c3f366432917.png?v=1630574469","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Platinum_Gray-Rim_9ac756d4-352b-416f-8054-d65be0c7fd43.png?v=1630574469","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Lavender-Rim_0c1af726-f034-42e4-8dde-359341f0439d.png?v=1630574469","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Dark_Teal-rim-addition_a75d32c5-47a2-47c8-af57-1806ae1db2bf.png?v=1629699947"],"featured_image":"\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/White-strip_33ab1ebb-ad02-48cd-809a-bb95f86bf9a8.png?v=1630574469","options":["Color"],"media":[{"alt":null,"id":927472091235,"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_33ab1ebb-ad02-48cd-809a-bb95f86bf9a8.png?v=1630574469"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/White-strip_33ab1ebb-ad02-48cd-809a-bb95f86bf9a8.png?v=1630574469","width":1701},{"alt":null,"id":927471763555,"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_bf91b6f5-f3d2-4175-a7c5-e7263cab7316.png?v=1630574469"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Orange-strip_bf91b6f5-f3d2-4175-a7c5-e7263cab7316.png?v=1630574469","width":1701},{"alt":null,"id":927471173731,"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_c1da5014-cb13-4b5f-9801-a7d047d7c5ea.png?v=1630574469"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Azure_Blue-strip_c1da5014-cb13-4b5f-9801-a7d047d7c5ea.png?v=1630574469","width":1701},{"alt":null,"id":927471861859,"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_81cb872c-8851-4fdb-83a0-8fe875cda6ae.png?v=1630574469"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/purple-strip_81cb872c-8851-4fdb-83a0-8fe875cda6ae.png?v=1630574469","width":1701},{"alt":null,"id":927471009891,"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_96be6f54-3cfe-4f9b-987b-c67fb9c3b425.png?v=1630574469"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Yellow-strip_96be6f54-3cfe-4f9b-987b-c67fb9c3b425.png?v=1630574469","width":1701},{"alt":null,"id":927471534179,"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_955aa613-5c6d-4a16-9a50-2c5df5ea125a.png?v=1630574469"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Fern_Green-strip_955aa613-5c6d-4a16-9a50-2c5df5ea125a.png?v=1630574469","width":1701},{"alt":null,"id":927471960163,"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_28bf955a-00d1-445f-b2a6-994e25560005.png?v=1630574469"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Red-strip_28bf955a-00d1-445f-b2a6-994e25560005.png?v=1630574469","width":1701},{"alt":null,"id":927471272035,"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_f6e89410-d01d-407c-8ba1-014fe7a7bd4c.png?v=1630574469"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Black-strip_f6e89410-d01d-407c-8ba1-014fe7a7bd4c.png?v=1630574469","width":1701},{"alt":null,"id":927471370339,"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_79755356-669d-4c26-96a5-9349f4811300.png?v=1591774889"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Brush_Pink-strip_79755356-669d-4c26-96a5-9349f4811300.png?v=1591774889","width":1701},{"alt":null,"id":927471665251,"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_c2dd128c-adda-4b79-a130-a2842699f830.png?v=1630574469"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Graphite-strip_c2dd128c-adda-4b79-a130-a2842699f830.png?v=1630574469","width":1701},{"alt":null,"id":7388237922403,"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_a1c2ddf7-7569-4c34-be0e-24d8d4d92ac0.png?v=1630574469"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Royal_Blue-Rim-NewFlow_a1c2ddf7-7569-4c34-be0e-24d8d4d92ac0.png?v=1630574469","width":1701},{"alt":null,"id":1390457061475,"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_1d3ab075-77be-46ea-a319-c3f366432917.png?v=1630574469"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Camo_Green-Rim_1d3ab075-77be-46ea-a319-c3f366432917.png?v=1630574469","width":1701},{"alt":null,"id":1390458110051,"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_9ac756d4-352b-416f-8054-d65be0c7fd43.png?v=1630574469"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Platinum_Gray-Rim_9ac756d4-352b-416f-8054-d65be0c7fd43.png?v=1630574469","width":1701},{"alt":null,"id":1390459453539,"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_0c1af726-f034-42e4-8dde-359341f0439d.png?v=1630574469"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Lavender-Rim_0c1af726-f034-42e4-8dde-359341f0439d.png?v=1630574469","width":1701},{"alt":null,"id":20792992890979,"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_a75d32c5-47a2-47c8-af57-1806ae1db2bf.png?v=1629699947"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Dark_Teal-rim-addition_a75d32c5-47a2-47c8-af57-1806ae1db2bf.png?v=1629699947","width":1701}],"content":"\u003ch1\u003e\n\u003cspan style=\"color: #ff0000;\"\u003e\u003cstrong\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003cstrong\u003e適用於MOD NX與CrashGuard NX\u003c\/strong\u003e\n\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: "停產" }