$product = {"id":7408614735971,"title":"犀牛盾Mod NX手機殼 - iPhone 11 - 【聯名設計款】 - 1G - 生日8","handle":"iphone-11-mod-nx-printable-iv02","description":null,"published_at":"2024-06-11T16:42:07+08:00","created_at":"2024-05-03T17:14:04+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-1G","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-1chun","device-iPhone 11","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-1chun","Top50","type-Mod NX Printable"],"price":90000,"price_min":90000,"price_max":90000,"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":41887421956195,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":31473010344035,"product_id":7408614735971,"position":9,"created_at":"2024-05-03T17:14:24+08:00","updated_at":"2024-05-03T17:14:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2968cbcd849a7777c9be6d737fa28082260cfb0_8f1426a7-c2db-4fa5-a17f-fef97fba5d9e.webp?v=1714727664","variant_ids":[41887421956195]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【聯名設計款】 - 1G - 生日8 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114824-IV02","featured_media":{"alt":null,"id":23877932089443,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2968cbcd849a7777c9be6d737fa28082260cfb0_8f1426a7-c2db-4fa5-a17f-fef97fba5d9e.webp?v=1714727664"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41887422021731,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0114804-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":31473007165539,"product_id":7408614735971,"position":4,"created_at":"2024-05-03T17:14:13+08:00","updated_at":"2024-05-03T17:14:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fa0c1a829601dcb581a3fe5c1cfc77e737aa012_7f952a4f-3a77-4d0c-ac71-cc1b78461cd7.webp?v=1714727653","variant_ids":[41887422021731]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【聯名設計款】 - 1G - 生日8 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114804-IV02","featured_media":{"alt":null,"id":23877928976483,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fa0c1a829601dcb581a3fe5c1cfc77e737aa012_7f952a4f-3a77-4d0c-ac71-cc1b78461cd7.webp?v=1714727653"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41887422152803,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"NPB0114815-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":31473006018659,"product_id":7408614735971,"position":2,"created_at":"2024-05-03T17:14:09+08:00","updated_at":"2024-05-03T17:14:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e53508d5996ce04f2d1cbfa88b6d022698813cf5_91f5a1df-d838-495e-87c1-9f48b46862a6.webp?v=1714727649","variant_ids":[41887422152803]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【聯名設計款】 - 1G - 生日8 - Mod NX-軍綠邊框","public_title":"Mod NX-軍綠邊框","options":["Mod NX-軍綠邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114815-IV02","featured_media":{"alt":null,"id":23877927731299,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e53508d5996ce04f2d1cbfa88b6d022698813cf5_91f5a1df-d838-495e-87c1-9f48b46862a6.webp?v=1714727649"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41887422218339,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"NPB01148C1-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":31473005330531,"product_id":7408614735971,"position":1,"created_at":"2024-05-03T17:14:07+08:00","updated_at":"2024-05-03T17:14:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60fdf5678ef4758e5c9b15bcb51ecb00c6ee0173_11830157-dc0c-438a-bb4f-bf4d5a6764a4.webp?v=1714727647","variant_ids":[41887422218339]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【聯名設計款】 - 1G - 生日8 - Mod NX-薰衣紫邊框","public_title":"Mod NX-薰衣紫邊框","options":["Mod NX-薰衣紫邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01148C1-IV02","featured_media":{"alt":null,"id":23877927141475,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60fdf5678ef4758e5c9b15bcb51ecb00c6ee0173_11830157-dc0c-438a-bb4f-bf4d5a6764a4.webp?v=1714727647"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60fdf5678ef4758e5c9b15bcb51ecb00c6ee0173_11830157-dc0c-438a-bb4f-bf4d5a6764a4.webp?v=1714727647","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e53508d5996ce04f2d1cbfa88b6d022698813cf5_91f5a1df-d838-495e-87c1-9f48b46862a6.webp?v=1714727649","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cb41499c88fca0b670a881de0231bacf2a03976_4019995d-1b41-4d9e-b4dc-10979e112348.webp?v=1714727651","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fa0c1a829601dcb581a3fe5c1cfc77e737aa012_7f952a4f-3a77-4d0c-ac71-cc1b78461cd7.webp?v=1714727653","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9ffd5ab9735bc9a8adc3514d8d830b73eea0e5d_a3628012-4e35-4a28-b4b3-3d1eea0614fc.webp?v=1714727656","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53c207f442606598d9af931d09f7e10571d82379_2842ffd2-746e-4096-82c7-70bef31f4608.webp?v=1714727658","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c07872146a8399ab9deac13d001d8d1ddd09bc6_20235d1b-5926-450a-940a-2a9cc4c8406e.webp?v=1714727660","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cadcc4b887bfb0fdd808ef442b05c9a1bdf7fde_58871565-926d-4b6e-9d43-5f360f1bb689.webp?v=1714727662","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2968cbcd849a7777c9be6d737fa28082260cfb0_8f1426a7-c2db-4fa5-a17f-fef97fba5d9e.webp?v=1714727664","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9e96c1ff72672ff9aa42bd456976c9bff60bea9_d200d46a-18e7-427b-a8cb-425a89ee077a.webp?v=1714727667","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6390f1107ba3a198443638d437e8e91bb0f597ce_bf8110ba-e8ad-41b4-890b-ff9c336eb8e5.webp?v=1714727669"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60fdf5678ef4758e5c9b15bcb51ecb00c6ee0173_11830157-dc0c-438a-bb4f-bf4d5a6764a4.webp?v=1714727647","options":["color"],"media":[{"alt":null,"id":23877927141475,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60fdf5678ef4758e5c9b15bcb51ecb00c6ee0173_11830157-dc0c-438a-bb4f-bf4d5a6764a4.webp?v=1714727647"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60fdf5678ef4758e5c9b15bcb51ecb00c6ee0173_11830157-dc0c-438a-bb4f-bf4d5a6764a4.webp?v=1714727647","width":2000},{"alt":null,"id":23877927731299,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e53508d5996ce04f2d1cbfa88b6d022698813cf5_91f5a1df-d838-495e-87c1-9f48b46862a6.webp?v=1714727649"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e53508d5996ce04f2d1cbfa88b6d022698813cf5_91f5a1df-d838-495e-87c1-9f48b46862a6.webp?v=1714727649","width":2000},{"alt":null,"id":23877928288355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cb41499c88fca0b670a881de0231bacf2a03976_4019995d-1b41-4d9e-b4dc-10979e112348.webp?v=1714727651"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cb41499c88fca0b670a881de0231bacf2a03976_4019995d-1b41-4d9e-b4dc-10979e112348.webp?v=1714727651","width":2000},{"alt":null,"id":23877928976483,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fa0c1a829601dcb581a3fe5c1cfc77e737aa012_7f952a4f-3a77-4d0c-ac71-cc1b78461cd7.webp?v=1714727653"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fa0c1a829601dcb581a3fe5c1cfc77e737aa012_7f952a4f-3a77-4d0c-ac71-cc1b78461cd7.webp?v=1714727653","width":2000},{"alt":null,"id":23877929435235,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9ffd5ab9735bc9a8adc3514d8d830b73eea0e5d_a3628012-4e35-4a28-b4b3-3d1eea0614fc.webp?v=1714727656"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9ffd5ab9735bc9a8adc3514d8d830b73eea0e5d_a3628012-4e35-4a28-b4b3-3d1eea0614fc.webp?v=1714727656","width":2000},{"alt":null,"id":23877930287203,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53c207f442606598d9af931d09f7e10571d82379_2842ffd2-746e-4096-82c7-70bef31f4608.webp?v=1714727658"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53c207f442606598d9af931d09f7e10571d82379_2842ffd2-746e-4096-82c7-70bef31f4608.webp?v=1714727658","width":2000},{"alt":null,"id":23877930745955,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c07872146a8399ab9deac13d001d8d1ddd09bc6_20235d1b-5926-450a-940a-2a9cc4c8406e.webp?v=1714727660"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c07872146a8399ab9deac13d001d8d1ddd09bc6_20235d1b-5926-450a-940a-2a9cc4c8406e.webp?v=1714727660","width":2000},{"alt":null,"id":23877931597923,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cadcc4b887bfb0fdd808ef442b05c9a1bdf7fde_58871565-926d-4b6e-9d43-5f360f1bb689.webp?v=1714727662"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cadcc4b887bfb0fdd808ef442b05c9a1bdf7fde_58871565-926d-4b6e-9d43-5f360f1bb689.webp?v=1714727662","width":2000},{"alt":null,"id":23877932089443,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2968cbcd849a7777c9be6d737fa28082260cfb0_8f1426a7-c2db-4fa5-a17f-fef97fba5d9e.webp?v=1714727664"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2968cbcd849a7777c9be6d737fa28082260cfb0_8f1426a7-c2db-4fa5-a17f-fef97fba5d9e.webp?v=1714727664","width":2000},{"alt":null,"id":23877932679267,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9e96c1ff72672ff9aa42bd456976c9bff60bea9_d200d46a-18e7-427b-a8cb-425a89ee077a.webp?v=1714727667"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9e96c1ff72672ff9aa42bd456976c9bff60bea9_d200d46a-18e7-427b-a8cb-425a89ee077a.webp?v=1714727667","width":2000},{"alt":null,"id":23877933236323,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6390f1107ba3a198443638d437e8e91bb0f597ce_bf8110ba-e8ad-41b4-890b-ff9c336eb8e5.webp?v=1714727669"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6390f1107ba3a198443638d437e8e91bb0f597ce_bf8110ba-e8ad-41b4-890b-ff9c336eb8e5.webp?v=1714727669","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41887421956195,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":31473010344035,"product_id":7408614735971,"position":9,"created_at":"2024-05-03T17:14:24+08:00","updated_at":"2024-05-03T17:14:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2968cbcd849a7777c9be6d737fa28082260cfb0_8f1426a7-c2db-4fa5-a17f-fef97fba5d9e.webp?v=1714727664","variant_ids":[41887421956195]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【聯名設計款】 - 1G - 生日8 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114824-IV02","featured_media":{"alt":null,"id":23877932089443,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2968cbcd849a7777c9be6d737fa28082260cfb0_8f1426a7-c2db-4fa5-a17f-fef97fba5d9e.webp?v=1714727664"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41887422021731,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0114804-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":31473007165539,"product_id":7408614735971,"position":4,"created_at":"2024-05-03T17:14:13+08:00","updated_at":"2024-05-03T17:14:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fa0c1a829601dcb581a3fe5c1cfc77e737aa012_7f952a4f-3a77-4d0c-ac71-cc1b78461cd7.webp?v=1714727653","variant_ids":[41887422021731]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【聯名設計款】 - 1G - 生日8 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114804-IV02","featured_media":{"alt":null,"id":23877928976483,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fa0c1a829601dcb581a3fe5c1cfc77e737aa012_7f952a4f-3a77-4d0c-ac71-cc1b78461cd7.webp?v=1714727653"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41887422152803,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"NPB0114815-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":31473006018659,"product_id":7408614735971,"position":2,"created_at":"2024-05-03T17:14:09+08:00","updated_at":"2024-05-03T17:14:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e53508d5996ce04f2d1cbfa88b6d022698813cf5_91f5a1df-d838-495e-87c1-9f48b46862a6.webp?v=1714727649","variant_ids":[41887422152803]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【聯名設計款】 - 1G - 生日8 - Mod NX-軍綠邊框","public_title":"Mod NX-軍綠邊框","options":["Mod NX-軍綠邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114815-IV02","featured_media":{"alt":null,"id":23877927731299,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e53508d5996ce04f2d1cbfa88b6d022698813cf5_91f5a1df-d838-495e-87c1-9f48b46862a6.webp?v=1714727649"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41887422218339,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"NPB01148C1-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":31473005330531,"product_id":7408614735971,"position":1,"created_at":"2024-05-03T17:14:07+08:00","updated_at":"2024-05-03T17:14:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60fdf5678ef4758e5c9b15bcb51ecb00c6ee0173_11830157-dc0c-438a-bb4f-bf4d5a6764a4.webp?v=1714727647","variant_ids":[41887422218339]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【聯名設計款】 - 1G - 生日8 - Mod NX-薰衣紫邊框","public_title":"Mod NX-薰衣紫邊框","options":["Mod NX-薰衣紫邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01148C1-IV02","featured_media":{"alt":null,"id":23877927141475,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60fdf5678ef4758e5c9b15bcb51ecb00c6ee0173_11830157-dc0c-438a-bb4f-bf4d5a6764a4.webp?v=1714727647"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41887421956195,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":31473010344035,"product_id":7408614735971,"position":9,"created_at":"2024-05-03T17:14:24+08:00","updated_at":"2024-05-03T17:14:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2968cbcd849a7777c9be6d737fa28082260cfb0_8f1426a7-c2db-4fa5-a17f-fef97fba5d9e.webp?v=1714727664","variant_ids":[41887421956195]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【聯名設計款】 - 1G - 生日8 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114824-IV02","featured_media":{"alt":null,"id":23877932089443,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2968cbcd849a7777c9be6d737fa28082260cfb0_8f1426a7-c2db-4fa5-a17f-fef97fba5d9e.webp?v=1714727664"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $brand_handle = null; $type = ""; var sellingStatus // 只有設計款(SKU 含 '-')才需要合圖 if ($isMerge && $defaultVariant.sku.includes('-')) { $(document).ready(function() { var productImg = $product.images[0]; var bumperImg = window.getProductImageUrl($defaultVariant.sku.split('-')[0]); var layers = ($type === 'mod-nx-backplate' || $type === 'mod-backplate') ? [productImg, bumperImg] : [bumperImg, productImg]; window.mergeProductImages(layers).then(function (mergedImg) { $('.merged-img').attr('src', mergedImg); }); }); }; var sellingStatusData window.fetchSellingStatus().then(data => { try { sellingStatusData = data; } catch (error) { sellingStatusData = null console.error('Unable to parse selling status', error) } $(document).ready(function() { handleSellingStatus($defaultVariant.sku); }); }) function handleSellingStatus(currentSku) { if (!sellingStatusData) { console.error('No selling status available!') return } const sellingStatusElement = document.getElementById('selling-status') const addToCartButton = document.getElementById('AddToCart-product-template') const currentProductSku = currentSku.replace(/-(.*)$/, '-') if ($variants) { const flattenedSellingStatus = [...sellingStatusData.pending, ...sellingStatusData.preorder] const matchSellingStatusProduct = flattenedSellingStatus.filter(product => currentProductSku === product.sku) if (matchSellingStatusProduct.length > 0) { const isProductPending = matchSellingStatusProduct[0].status === 'pending' const matchDate = matchSellingStatusProduct[0].date sellingStatus = isProductPending ? "缺貨中" : "預購完成出貨日:" + matchDate sellingStatusElement.textContent = sellingStatus if (sellingStatus.includes("缺貨中")){ addToCartButton.disabled ='true'; addToCartButton.textContent = "缺貨中無法加入購物車" } else { addToCartButton.textContent = "加到購物車" } } else { sellingStatusElement.textContent = '' addToCartButton.textContent = "加到購物車" }; }; }; document.addEventListener('DOMContentLoaded', function () { var currentVariantSelect = document.getElementById('SingleOptionSelector-0') currentVariantSelect.addEventListener('change', function() { var currentSku = $('#current_sku').text() var skuElement = document.getElementById('current-sku') skuElement.textContent = currentSku handleSellingStatus(currentSku) }); });
// 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: "停產" }