$product = {"id":7408669556835,"title":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 華麗的麵包對決","handle":"iphone-11-mod-nx-printable-fz25","description":null,"published_at":"2024-06-11T16:43:43+08:00","created_at":"2024-05-03T17:29:51+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"MOD NX 客製化","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","device-iPhone 11","discountable-item","member","merge","mod-nx-printable","new-modnx-sku","reseller","reseller-modnx-nature-explorers","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":41888030392419,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-FZ25","requires_shipping":true,"taxable":true,"featured_image":{"id":31473260789859,"product_id":7408669556835,"position":11,"created_at":"2024-05-03T17:30:20+08:00","updated_at":"2024-05-03T17:30:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29c4a9d557829a7eb0c44d72c1343322a6c7f9c2_61df7cde-ead9-4376-a934-58c4852c2290.webp?v=1714728620","variant_ids":[41888030392419]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 華麗的麵包對決 - 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-FZ25","featured_media":{"alt":null,"id":23878184009827,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29c4a9d557829a7eb0c44d72c1343322a6c7f9c2_61df7cde-ead9-4376-a934-58c4852c2290.webp?v=1714728620"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41888030457955,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0114804-FZ25","requires_shipping":true,"taxable":true,"featured_image":{"id":31473257906275,"product_id":7408669556835,"position":8,"created_at":"2024-05-03T17:30:12+08:00","updated_at":"2024-05-03T17:30:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4b3e85a2721b27abbdbcdf8025a4b3a7c04031b_63c4f5c7-8303-4df6-83d1-79a9b865742f.webp?v=1714728612","variant_ids":[41888030457955]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 華麗的麵包對決 - 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-FZ25","featured_media":{"alt":null,"id":23878181126243,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4b3e85a2721b27abbdbcdf8025a4b3a7c04031b_63c4f5c7-8303-4df6-83d1-79a9b865742f.webp?v=1714728612"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41888030589027,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"NPB0114815-FZ25","requires_shipping":true,"taxable":true,"featured_image":{"id":31473254137955,"product_id":7408669556835,"position":3,"created_at":"2024-05-03T17:29:59+08:00","updated_at":"2024-05-03T17:29:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c97ce15bf9dedcd594978228e5216b6fcf9033_c046b404-03f9-48a8-8f97-ba2964c18df0.webp?v=1714728599","variant_ids":[41888030589027]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 華麗的麵包對決 - 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-FZ25","featured_media":{"alt":null,"id":23878177488995,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c97ce15bf9dedcd594978228e5216b6fcf9033_c046b404-03f9-48a8-8f97-ba2964c18df0.webp?v=1714728599"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41888030654563,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"NPB01148C1-FZ25","requires_shipping":true,"taxable":true,"featured_image":{"id":31473259053155,"product_id":7408669556835,"position":10,"created_at":"2024-05-03T17:30:17+08:00","updated_at":"2024-05-03T17:30:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3ac9a0a0729e52041a7875a9287a58868808fb2_ac16cebc-951b-4878-916a-14932bb1a070.webp?v=1714728617","variant_ids":[41888030654563]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 華麗的麵包對決 - 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-FZ25","featured_media":{"alt":null,"id":23878182600803,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3ac9a0a0729e52041a7875a9287a58868808fb2_ac16cebc-951b-4878-916a-14932bb1a070.webp?v=1714728617"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8adb8c5f10d20e5d7ae8c01b296568e690257e1d_68bf01f4-f0bf-4d5d-90bb-67659216e470.webp?v=1714728594","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41f588e2d493128fac416c3dedec5864604fc84f_3a6cae7d-d0d7-48d9-8c56-660cf32b0377.webp?v=1714728597","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c97ce15bf9dedcd594978228e5216b6fcf9033_c046b404-03f9-48a8-8f97-ba2964c18df0.webp?v=1714728599","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a5504d11fa1b908ca30ef8b7e197b032ff9d99c_473d5963-e991-4a4e-96b1-7b75d09b9612.webp?v=1714728602","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee29aaa5d310ae7d4d15be85970fbba470c83675_11fc4fb1-1b92-41bd-b71d-55654263f873.webp?v=1714728604","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8aab28705697779ca0e51d84fa6963aed5fff1a_866b30a4-b8d2-49df-b162-85c0e4b1425e.webp?v=1714728607","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84dbd98e8fdadaa6a08655ffa06c9809c8cc1a7d_c7c4cdf2-ad2e-4e18-9d25-692768245d27.webp?v=1714728609","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4b3e85a2721b27abbdbcdf8025a4b3a7c04031b_63c4f5c7-8303-4df6-83d1-79a9b865742f.webp?v=1714728612","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6157a8342ce3a60f3907f9cc7ad9c6f26311a02e_2a044d15-bf7c-43e7-a4c1-cf9fb2eed259.webp?v=1714728614","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3ac9a0a0729e52041a7875a9287a58868808fb2_ac16cebc-951b-4878-916a-14932bb1a070.webp?v=1714728617","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29c4a9d557829a7eb0c44d72c1343322a6c7f9c2_61df7cde-ead9-4376-a934-58c4852c2290.webp?v=1714728620"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8adb8c5f10d20e5d7ae8c01b296568e690257e1d_68bf01f4-f0bf-4d5d-90bb-67659216e470.webp?v=1714728594","options":["color"],"media":[{"alt":null,"id":23878175522915,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8adb8c5f10d20e5d7ae8c01b296568e690257e1d_68bf01f4-f0bf-4d5d-90bb-67659216e470.webp?v=1714728594"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8adb8c5f10d20e5d7ae8c01b296568e690257e1d_68bf01f4-f0bf-4d5d-90bb-67659216e470.webp?v=1714728594","width":2000},{"alt":null,"id":23878176800867,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41f588e2d493128fac416c3dedec5864604fc84f_3a6cae7d-d0d7-48d9-8c56-660cf32b0377.webp?v=1714728597"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41f588e2d493128fac416c3dedec5864604fc84f_3a6cae7d-d0d7-48d9-8c56-660cf32b0377.webp?v=1714728597","width":2000},{"alt":null,"id":23878177488995,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c97ce15bf9dedcd594978228e5216b6fcf9033_c046b404-03f9-48a8-8f97-ba2964c18df0.webp?v=1714728599"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c97ce15bf9dedcd594978228e5216b6fcf9033_c046b404-03f9-48a8-8f97-ba2964c18df0.webp?v=1714728599","width":2000},{"alt":null,"id":23878178340963,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a5504d11fa1b908ca30ef8b7e197b032ff9d99c_473d5963-e991-4a4e-96b1-7b75d09b9612.webp?v=1714728602"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a5504d11fa1b908ca30ef8b7e197b032ff9d99c_473d5963-e991-4a4e-96b1-7b75d09b9612.webp?v=1714728602","width":2000},{"alt":null,"id":23878178832483,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee29aaa5d310ae7d4d15be85970fbba470c83675_11fc4fb1-1b92-41bd-b71d-55654263f873.webp?v=1714728604"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee29aaa5d310ae7d4d15be85970fbba470c83675_11fc4fb1-1b92-41bd-b71d-55654263f873.webp?v=1714728604","width":2000},{"alt":null,"id":23878179389539,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8aab28705697779ca0e51d84fa6963aed5fff1a_866b30a4-b8d2-49df-b162-85c0e4b1425e.webp?v=1714728607"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8aab28705697779ca0e51d84fa6963aed5fff1a_866b30a4-b8d2-49df-b162-85c0e4b1425e.webp?v=1714728607","width":2000},{"alt":null,"id":23878180274275,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84dbd98e8fdadaa6a08655ffa06c9809c8cc1a7d_c7c4cdf2-ad2e-4e18-9d25-692768245d27.webp?v=1714728609"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84dbd98e8fdadaa6a08655ffa06c9809c8cc1a7d_c7c4cdf2-ad2e-4e18-9d25-692768245d27.webp?v=1714728609","width":2000},{"alt":null,"id":23878181126243,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4b3e85a2721b27abbdbcdf8025a4b3a7c04031b_63c4f5c7-8303-4df6-83d1-79a9b865742f.webp?v=1714728612"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4b3e85a2721b27abbdbcdf8025a4b3a7c04031b_63c4f5c7-8303-4df6-83d1-79a9b865742f.webp?v=1714728612","width":2000},{"alt":null,"id":23878181748835,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6157a8342ce3a60f3907f9cc7ad9c6f26311a02e_2a044d15-bf7c-43e7-a4c1-cf9fb2eed259.webp?v=1714728614"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6157a8342ce3a60f3907f9cc7ad9c6f26311a02e_2a044d15-bf7c-43e7-a4c1-cf9fb2eed259.webp?v=1714728614","width":2000},{"alt":null,"id":23878182600803,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3ac9a0a0729e52041a7875a9287a58868808fb2_ac16cebc-951b-4878-916a-14932bb1a070.webp?v=1714728617"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3ac9a0a0729e52041a7875a9287a58868808fb2_ac16cebc-951b-4878-916a-14932bb1a070.webp?v=1714728617","width":2000},{"alt":null,"id":23878184009827,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29c4a9d557829a7eb0c44d72c1343322a6c7f9c2_61df7cde-ead9-4376-a934-58c4852c2290.webp?v=1714728620"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29c4a9d557829a7eb0c44d72c1343322a6c7f9c2_61df7cde-ead9-4376-a934-58c4852c2290.webp?v=1714728620","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41888030392419,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-FZ25","requires_shipping":true,"taxable":true,"featured_image":{"id":31473260789859,"product_id":7408669556835,"position":11,"created_at":"2024-05-03T17:30:20+08:00","updated_at":"2024-05-03T17:30:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29c4a9d557829a7eb0c44d72c1343322a6c7f9c2_61df7cde-ead9-4376-a934-58c4852c2290.webp?v=1714728620","variant_ids":[41888030392419]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 華麗的麵包對決 - 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-FZ25","featured_media":{"alt":null,"id":23878184009827,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29c4a9d557829a7eb0c44d72c1343322a6c7f9c2_61df7cde-ead9-4376-a934-58c4852c2290.webp?v=1714728620"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41888030457955,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0114804-FZ25","requires_shipping":true,"taxable":true,"featured_image":{"id":31473257906275,"product_id":7408669556835,"position":8,"created_at":"2024-05-03T17:30:12+08:00","updated_at":"2024-05-03T17:30:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4b3e85a2721b27abbdbcdf8025a4b3a7c04031b_63c4f5c7-8303-4df6-83d1-79a9b865742f.webp?v=1714728612","variant_ids":[41888030457955]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 華麗的麵包對決 - 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-FZ25","featured_media":{"alt":null,"id":23878181126243,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4b3e85a2721b27abbdbcdf8025a4b3a7c04031b_63c4f5c7-8303-4df6-83d1-79a9b865742f.webp?v=1714728612"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41888030589027,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"NPB0114815-FZ25","requires_shipping":true,"taxable":true,"featured_image":{"id":31473254137955,"product_id":7408669556835,"position":3,"created_at":"2024-05-03T17:29:59+08:00","updated_at":"2024-05-03T17:29:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c97ce15bf9dedcd594978228e5216b6fcf9033_c046b404-03f9-48a8-8f97-ba2964c18df0.webp?v=1714728599","variant_ids":[41888030589027]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 華麗的麵包對決 - 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-FZ25","featured_media":{"alt":null,"id":23878177488995,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c97ce15bf9dedcd594978228e5216b6fcf9033_c046b404-03f9-48a8-8f97-ba2964c18df0.webp?v=1714728599"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41888030654563,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"NPB01148C1-FZ25","requires_shipping":true,"taxable":true,"featured_image":{"id":31473259053155,"product_id":7408669556835,"position":10,"created_at":"2024-05-03T17:30:17+08:00","updated_at":"2024-05-03T17:30:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3ac9a0a0729e52041a7875a9287a58868808fb2_ac16cebc-951b-4878-916a-14932bb1a070.webp?v=1714728617","variant_ids":[41888030654563]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 華麗的麵包對決 - 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-FZ25","featured_media":{"alt":null,"id":23878182600803,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3ac9a0a0729e52041a7875a9287a58868808fb2_ac16cebc-951b-4878-916a-14932bb1a070.webp?v=1714728617"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41888030392419,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-FZ25","requires_shipping":true,"taxable":true,"featured_image":{"id":31473260789859,"product_id":7408669556835,"position":11,"created_at":"2024-05-03T17:30:20+08:00","updated_at":"2024-05-03T17:30:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29c4a9d557829a7eb0c44d72c1343322a6c7f9c2_61df7cde-ead9-4376-a934-58c4852c2290.webp?v=1714728620","variant_ids":[41888030392419]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 華麗的麵包對決 - 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-FZ25","featured_media":{"alt":null,"id":23878184009827,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29c4a9d557829a7eb0c44d72c1343322a6c7f9c2_61df7cde-ead9-4376-a934-58c4852c2290.webp?v=1714728620"}},"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: "停產" }