Shopify.queue = []; $product = {"id":1425352589411,"title":"犀牛盾專用飾條 - iPhone 11 Pro Max \/ XS Max","handle":"iphone-11-pro-max-mod-nx-rim","description":"\u003ch1\u003e\n\u003cspan style=\"color: #ff0000;\"\u003e\u003cstrong\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003cspan\u003e\u003cstrong\u003e適用於MOD NX與CrashGuard NX\u003c\/strong\u003e\u003c\/span\u003e\n\u003c\/h1\u003e\n\u003cp\u003e\u003cspan\u003e建議售價:60元\u003c\/span\u003e\u003c\/p\u003e","published_at":"2018-09-04T12:05:05+08:00","created_at":"2018-09-04T12:05:17+08:00","vendor":"犀牛盾RHINOSHIELD","type":"ModNXRim","tags":["20%","25%","30%","35%","40%","45%","45degree","50%","brand-Apple","customized-backprint","device-iPhone 11 Pro Max","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":12496498655331,"title":"白色","option1":"白色","option2":null,"option3":null,"sku":"NX0114904E","requires_shipping":true,"taxable":true,"featured_image":{"id":3876011737187,"product_id":1425352589411,"position":1,"created_at":"2018-09-04T12:05:17+08:00","updated_at":"2021-09-02T17:21:00+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/White-strip_dc7ad595-111d-4e6c-80c8-1b83af9096ab.png?v=1630574460","variant_ids":[12496498655331]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro Max \/ XS Max - 白色","public_title":"白色","options":["白色"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-504,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":945419714659,"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_dc7ad595-111d-4e6c-80c8-1b83af9096ab.png?v=1630574460"}}},{"id":12496498688099,"title":"橘色","option1":"橘色","option2":null,"option3":null,"sku":"NX0114906E","requires_shipping":true,"taxable":true,"featured_image":{"id":3876011475043,"product_id":1425352589411,"position":2,"created_at":"2018-09-04T12:05:17+08:00","updated_at":"2021-09-02T17:21:00+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Orange-strip_3f0888fc-7f3b-4f0d-b581-cb5c216ddfa0.png?v=1630574460","variant_ids":[12496498688099]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro Max \/ XS Max - 橘色","public_title":"橘色","options":["橘色"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-506,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":945419452515,"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_3f0888fc-7f3b-4f0d-b581-cb5c216ddfa0.png?v=1630574460"}}},{"id":12496498720867,"title":"天空藍","option1":"天空藍","option2":null,"option3":null,"sku":"NX0114907E","requires_shipping":true,"taxable":true,"featured_image":{"id":3876011409507,"product_id":1425352589411,"position":3,"created_at":"2018-09-04T12:05:17+08:00","updated_at":"2021-09-02T17:21:00+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Azure_Blue-strip_b3a0cc96-8e29-455f-a477-be342fdf3f6e.png?v=1630574460","variant_ids":[12496498720867]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro Max \/ XS Max - 天空藍","public_title":"天空藍","options":["天空藍"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-517,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":945419386979,"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_b3a0cc96-8e29-455f-a477-be342fdf3f6e.png?v=1630574460"}}},{"id":12496498753635,"title":"紫色","option1":"紫色","option2":null,"option3":null,"sku":"NX0114908E","requires_shipping":true,"taxable":true,"featured_image":{"id":3876011507811,"product_id":1425352589411,"position":4,"created_at":"2018-09-04T12:05:17+08:00","updated_at":"2021-09-02T17:21:00+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/purple-strip_702d5b0b-6ea8-4dc8-b5ec-bc4c2e66382c.png?v=1630574460","variant_ids":[12496498753635]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro Max \/ XS Max - 紫色","public_title":"紫色","options":["紫色"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-418,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":945419485283,"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_702d5b0b-6ea8-4dc8-b5ec-bc4c2e66382c.png?v=1630574460"}}},{"id":12496498786403,"title":"黃色","option1":"黃色","option2":null,"option3":null,"sku":"NX0114909E","requires_shipping":true,"taxable":true,"featured_image":{"id":3876011573347,"product_id":1425352589411,"position":5,"created_at":"2018-09-04T12:05:17+08:00","updated_at":"2021-09-02T17:21:00+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Yellow-strip_7aacd0cc-c61f-457c-8bde-712dfe8b8169.png?v=1630574460","variant_ids":[12496498786403]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro Max \/ XS Max - 黃色","public_title":"黃色","options":["黃色"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-811,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":945419550819,"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_7aacd0cc-c61f-457c-8bde-712dfe8b8169.png?v=1630574460"}}},{"id":12496498819171,"title":"綠色","option1":"綠色","option2":null,"option3":null,"sku":"NX0114910E","requires_shipping":true,"taxable":true,"featured_image":{"id":3876011638883,"product_id":1425352589411,"position":6,"created_at":"2018-09-04T12:05:17+08:00","updated_at":"2021-09-02T17:21:00+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Fern_Green-strip_5ad1a55a-7687-4ebc-bb36-ce70470a6726.png?v=1630574460","variant_ids":[12496498819171]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro Max \/ XS Max - 綠色","public_title":"綠色","options":["綠色"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-464,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":945419616355,"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_5ad1a55a-7687-4ebc-bb36-ce70470a6726.png?v=1630574460"}}},{"id":12496498851939,"title":"紅色","option1":"紅色","option2":null,"option3":null,"sku":"NX0114914E","requires_shipping":true,"taxable":true,"featured_image":{"id":3876011540579,"product_id":1425352589411,"position":7,"created_at":"2018-09-04T12:05:17+08:00","updated_at":"2021-09-02T17:21:00+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Red-strip_1ab66de3-351e-4d55-8d34-6ac448b0a715.png?v=1630574460","variant_ids":[12496498851939]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro Max \/ XS Max - 紅色","public_title":"紅色","options":["紅色"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-835,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":945419518051,"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_1ab66de3-351e-4d55-8d34-6ac448b0a715.png?v=1630574460"}}},{"id":12496498884707,"title":"黑色","option1":"黑色","option2":null,"option3":null,"sku":"NX0114924E","requires_shipping":true,"taxable":true,"featured_image":{"id":3876011442275,"product_id":1425352589411,"position":8,"created_at":"2018-09-04T12:05:17+08:00","updated_at":"2021-09-02T17:21:00+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Black-strip_9de01819-ba68-4074-a994-78a65ade6b61.png?v=1630574460","variant_ids":[12496498884707]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro Max \/ XS Max - 黑色","public_title":"黑色","options":["黑色"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-335,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":945419419747,"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_9de01819-ba68-4074-a994-78a65ade6b61.png?v=1630574460"}}},{"id":12496498917475,"title":"櫻花粉","option1":"櫻花粉","option2":null,"option3":null,"sku":"NX0114957E","requires_shipping":true,"taxable":true,"featured_image":{"id":3876011671651,"product_id":1425352589411,"position":9,"created_at":"2018-09-04T12:05:17+08:00","updated_at":"2020-06-10T15:41:34+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Brush_Pink-strip_060e6526-91e9-4799-b0e4-dd54faa06bd6.png?v=1591774894","variant_ids":[12496498917475]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro Max \/ XS Max - 櫻花粉","public_title":"櫻花粉","options":["櫻花粉"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-483,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":945419649123,"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_060e6526-91e9-4799-b0e4-dd54faa06bd6.png?v=1591774894"}}},{"id":12496498950243,"title":"泥灰","option1":"泥灰","option2":null,"option3":null,"sku":"NX0114969E","requires_shipping":true,"taxable":true,"featured_image":{"id":3876011606115,"product_id":1425352589411,"position":10,"created_at":"2018-09-04T12:05:17+08:00","updated_at":"2021-09-02T17:21:00+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Graphite-strip_99436566-c421-431d-82b5-d15ec1e75d99.png?v=1630574460","variant_ids":[12496498950243]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro Max \/ XS Max - 泥灰","public_title":"泥灰","options":["泥灰"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-293,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":945419583587,"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_99436566-c421-431d-82b5-d15ec1e75d99.png?v=1630574460"}}},{"id":28238418837603,"title":"軍綠","option1":"軍綠","option2":null,"option3":null,"sku":"NX0114915E","requires_shipping":true,"taxable":true,"featured_image":{"id":11083938660451,"product_id":1425352589411,"position":11,"created_at":"2019-05-15T15:17:59+08:00","updated_at":"2021-09-02T17:21:00+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Camo_Green-Rim_55e7da1d-0ccf-48b5-9b20-2aca4b49a34c.png?v=1630574460","variant_ids":[28238418837603]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro Max \/ XS Max - 軍綠","public_title":"軍綠","options":["軍綠"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-127,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":1390468759651,"position":11,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Camo_Green-Rim_55e7da1d-0ccf-48b5-9b20-2aca4b49a34c.png?v=1630574460"}}},{"id":39792807313507,"title":"海軍藍","option1":"海軍藍","option2":null,"option3":null,"sku":"NX01149J5E","requires_shipping":true,"taxable":true,"featured_image":{"id":28941081772131,"product_id":1425352589411,"position":15,"created_at":"2022-03-12T18:11:42+08:00","updated_at":"2022-03-12T18:11:42+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/NavyBlue-rim-addition_f49949fa-6977-423a-baf9-7a38d6d76006.png?v=1647079902","variant_ids":[39792807313507]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro Max \/ XS Max - 海軍藍","public_title":"海軍藍","options":["海軍藍"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":21276072869987,"position":15,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/NavyBlue-rim-addition_f49949fa-6977-423a-baf9-7a38d6d76006.png?v=1647079902"}}},{"id":28238420607075,"title":"淺灰","option1":"淺灰","option2":null,"option3":null,"sku":"NX01149C0E","requires_shipping":true,"taxable":true,"featured_image":{"id":11083938857059,"product_id":1425352589411,"position":12,"created_at":"2019-05-15T15:18:02+08:00","updated_at":"2021-09-02T17:21:00+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Platinum_Gray-Rim_7e7af973-5c48-4b3a-a4cc-3b507320c72c.png?v=1630574460","variant_ids":[28238420607075]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro Max \/ XS Max - 淺灰","public_title":"淺灰","options":["淺灰"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-154,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":1390468956259,"position":12,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Platinum_Gray-Rim_7e7af973-5c48-4b3a-a4cc-3b507320c72c.png?v=1630574460"}}},{"id":28238420934755,"title":"薰衣紫","option1":"薰衣紫","option2":null,"option3":null,"sku":"NX01149C1E","requires_shipping":true,"taxable":true,"featured_image":{"id":11083939086435,"product_id":1425352589411,"position":13,"created_at":"2019-05-15T15:18:04+08:00","updated_at":"2021-09-02T17:21:00+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Lavender-Rim_8570e836-39b7-4466-bca4-bebff14b23bb.png?v=1630574460","variant_ids":[28238420934755]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro Max \/ XS Max - 薰衣紫","public_title":"薰衣紫","options":["薰衣紫"],"price":3000,"weight":0,"compare_at_price":null,"inventory_quantity":-156,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":1390469021795,"position":13,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Lavender-Rim_8570e836-39b7-4466-bca4-bebff14b23bb.png?v=1630574460"}}},{"id":39533821329507,"title":"暗夜綠","option1":"暗夜綠","option2":null,"option3":null,"sku":"NX01149K8E","requires_shipping":true,"taxable":true,"featured_image":{"id":28481968996451,"product_id":1425352589411,"position":14,"created_at":"2021-08-23T14:25:45+08:00","updated_at":"2021-08-23T14:25:45+08:00","alt":null,"width":1701,"height":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Dark_Teal-rim-addition_e33ebc01-cc47-49a3-bfe8-7c444d71b292.png?v=1629699945","variant_ids":[39533821329507]},"available":true,"name":"犀牛盾專用飾條 - iPhone 11 Pro Max \/ XS Max - 暗夜綠","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":20792992825443,"position":14,"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_e33ebc01-cc47-49a3-bfe8-7c444d71b292.png?v=1629699945"}}}],"images":["\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/White-strip_dc7ad595-111d-4e6c-80c8-1b83af9096ab.png?v=1630574460","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Orange-strip_3f0888fc-7f3b-4f0d-b581-cb5c216ddfa0.png?v=1630574460","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Azure_Blue-strip_b3a0cc96-8e29-455f-a477-be342fdf3f6e.png?v=1630574460","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/purple-strip_702d5b0b-6ea8-4dc8-b5ec-bc4c2e66382c.png?v=1630574460","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Yellow-strip_7aacd0cc-c61f-457c-8bde-712dfe8b8169.png?v=1630574460","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Fern_Green-strip_5ad1a55a-7687-4ebc-bb36-ce70470a6726.png?v=1630574460","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Red-strip_1ab66de3-351e-4d55-8d34-6ac448b0a715.png?v=1630574460","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Black-strip_9de01819-ba68-4074-a994-78a65ade6b61.png?v=1630574460","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Brush_Pink-strip_060e6526-91e9-4799-b0e4-dd54faa06bd6.png?v=1591774894","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Graphite-strip_99436566-c421-431d-82b5-d15ec1e75d99.png?v=1630574460","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Camo_Green-Rim_55e7da1d-0ccf-48b5-9b20-2aca4b49a34c.png?v=1630574460","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Platinum_Gray-Rim_7e7af973-5c48-4b3a-a4cc-3b507320c72c.png?v=1630574460","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Lavender-Rim_8570e836-39b7-4466-bca4-bebff14b23bb.png?v=1630574460","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Dark_Teal-rim-addition_e33ebc01-cc47-49a3-bfe8-7c444d71b292.png?v=1629699945","\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/NavyBlue-rim-addition_f49949fa-6977-423a-baf9-7a38d6d76006.png?v=1647079902"],"featured_image":"\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/White-strip_dc7ad595-111d-4e6c-80c8-1b83af9096ab.png?v=1630574460","options":["Color"],"media":[{"alt":null,"id":945419714659,"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_dc7ad595-111d-4e6c-80c8-1b83af9096ab.png?v=1630574460"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/White-strip_dc7ad595-111d-4e6c-80c8-1b83af9096ab.png?v=1630574460","width":1701},{"alt":null,"id":945419452515,"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_3f0888fc-7f3b-4f0d-b581-cb5c216ddfa0.png?v=1630574460"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Orange-strip_3f0888fc-7f3b-4f0d-b581-cb5c216ddfa0.png?v=1630574460","width":1701},{"alt":null,"id":945419386979,"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_b3a0cc96-8e29-455f-a477-be342fdf3f6e.png?v=1630574460"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Azure_Blue-strip_b3a0cc96-8e29-455f-a477-be342fdf3f6e.png?v=1630574460","width":1701},{"alt":null,"id":945419485283,"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_702d5b0b-6ea8-4dc8-b5ec-bc4c2e66382c.png?v=1630574460"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/purple-strip_702d5b0b-6ea8-4dc8-b5ec-bc4c2e66382c.png?v=1630574460","width":1701},{"alt":null,"id":945419550819,"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_7aacd0cc-c61f-457c-8bde-712dfe8b8169.png?v=1630574460"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Yellow-strip_7aacd0cc-c61f-457c-8bde-712dfe8b8169.png?v=1630574460","width":1701},{"alt":null,"id":945419616355,"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_5ad1a55a-7687-4ebc-bb36-ce70470a6726.png?v=1630574460"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Fern_Green-strip_5ad1a55a-7687-4ebc-bb36-ce70470a6726.png?v=1630574460","width":1701},{"alt":null,"id":945419518051,"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_1ab66de3-351e-4d55-8d34-6ac448b0a715.png?v=1630574460"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Red-strip_1ab66de3-351e-4d55-8d34-6ac448b0a715.png?v=1630574460","width":1701},{"alt":null,"id":945419419747,"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_9de01819-ba68-4074-a994-78a65ade6b61.png?v=1630574460"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Black-strip_9de01819-ba68-4074-a994-78a65ade6b61.png?v=1630574460","width":1701},{"alt":null,"id":945419649123,"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_060e6526-91e9-4799-b0e4-dd54faa06bd6.png?v=1591774894"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Brush_Pink-strip_060e6526-91e9-4799-b0e4-dd54faa06bd6.png?v=1591774894","width":1701},{"alt":null,"id":945419583587,"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_99436566-c421-431d-82b5-d15ec1e75d99.png?v=1630574460"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Graphite-strip_99436566-c421-431d-82b5-d15ec1e75d99.png?v=1630574460","width":1701},{"alt":null,"id":1390468759651,"position":11,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Camo_Green-Rim_55e7da1d-0ccf-48b5-9b20-2aca4b49a34c.png?v=1630574460"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Camo_Green-Rim_55e7da1d-0ccf-48b5-9b20-2aca4b49a34c.png?v=1630574460","width":1701},{"alt":null,"id":1390468956259,"position":12,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Platinum_Gray-Rim_7e7af973-5c48-4b3a-a4cc-3b507320c72c.png?v=1630574460"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Platinum_Gray-Rim_7e7af973-5c48-4b3a-a4cc-3b507320c72c.png?v=1630574460","width":1701},{"alt":null,"id":1390469021795,"position":13,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Lavender-Rim_8570e836-39b7-4466-bca4-bebff14b23bb.png?v=1630574460"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Lavender-Rim_8570e836-39b7-4466-bca4-bebff14b23bb.png?v=1630574460","width":1701},{"alt":null,"id":20792992825443,"position":14,"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_e33ebc01-cc47-49a3-bfe8-7c444d71b292.png?v=1629699945"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/Dark_Teal-rim-addition_e33ebc01-cc47-49a3-bfe8-7c444d71b292.png?v=1629699945","width":1701},{"alt":null,"id":21276072869987,"position":15,"preview_image":{"aspect_ratio":1.0,"height":1701,"width":1701,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/NavyBlue-rim-addition_f49949fa-6977-423a-baf9-7a38d6d76006.png?v=1647079902"},"aspect_ratio":1.0,"height":1701,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1082\/7110\/products\/NavyBlue-rim-addition_f49949fa-6977-423a-baf9-7a38d6d76006.png?v=1647079902","width":1701}],"content":"\u003ch1\u003e\n\u003cspan style=\"color: #ff0000;\"\u003e\u003cstrong\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003cspan\u003e\u003cstrong\u003e適用於MOD NX與CrashGuard NX\u003c\/strong\u003e\u003c\/span\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: "停產" }