$product = {"id":7409578344547,"title":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - PIXAR-Logo","handle":"iphone-11-mod-nx-printable-pd31","description":null,"published_at":"2024-06-11T16:45:04+08:00","created_at":"2024-05-04T13:44:45+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":41890888253539,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-PD31","requires_shipping":true,"taxable":true,"featured_image":{"id":31476260569187,"product_id":7409578344547,"position":3,"created_at":"2024-05-04T13:44:52+08:00","updated_at":"2024-05-04T13:44:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aae8decc1e91bef8a6b84cbc7b8c8fdb77aa8a9e_2770a40a-1c22-4346-a398-ec43707d7f83.webp?v=1714801492","variant_ids":[41890888253539]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - PIXAR-Logo - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114824-PD31","featured_media":{"alt":null,"id":23881471164515,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aae8decc1e91bef8a6b84cbc7b8c8fdb77aa8a9e_2770a40a-1c22-4346-a398-ec43707d7f83.webp?v=1714801492"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41890888319075,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0114804-PD31","requires_shipping":true,"taxable":true,"featured_image":{"id":31476261126243,"product_id":7409578344547,"position":4,"created_at":"2024-05-04T13:44:54+08:00","updated_at":"2024-05-04T13:44:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ddd7270a9b19fe4eaff4dcbd86afaa8791444b1_62c09cee-fb69-4f21-9cb5-777f04d2d01a.webp?v=1714801494","variant_ids":[41890888319075]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - PIXAR-Logo - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114804-PD31","featured_media":{"alt":null,"id":23881471787107,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ddd7270a9b19fe4eaff4dcbd86afaa8791444b1_62c09cee-fb69-4f21-9cb5-777f04d2d01a.webp?v=1714801494"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41890888450147,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"NPB0114815-PD31","requires_shipping":true,"taxable":true,"featured_image":{"id":31476264468579,"product_id":7409578344547,"position":11,"created_at":"2024-05-04T13:45:10+08:00","updated_at":"2024-05-04T13:45:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b7b20e22ca6835cabc6e93accab8f1e95b1b9cc_02cea7ae-82b3-4089-8182-a29c81bf6ea5.webp?v=1714801510","variant_ids":[41890888450147]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - PIXAR-Logo - Mod NX-軍綠邊框","public_title":"Mod NX-軍綠邊框","options":["Mod NX-軍綠邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114815-PD31","featured_media":{"alt":null,"id":23881475129443,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b7b20e22ca6835cabc6e93accab8f1e95b1b9cc_02cea7ae-82b3-4089-8182-a29c81bf6ea5.webp?v=1714801510"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41890888515683,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"NPB01148C1-PD31","requires_shipping":true,"taxable":true,"featured_image":{"id":31476263092323,"product_id":7409578344547,"position":8,"created_at":"2024-05-04T13:45:03+08:00","updated_at":"2024-05-04T13:45:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180eb0af2281fc06e9f14590113bb0f1fb7ef137_6d85ce4b-0546-48bb-80c4-5833850e6d68.webp?v=1714801503","variant_ids":[41890888515683]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - PIXAR-Logo - Mod NX-薰衣紫邊框","public_title":"Mod NX-薰衣紫邊框","options":["Mod NX-薰衣紫邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01148C1-PD31","featured_media":{"alt":null,"id":23881473687651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180eb0af2281fc06e9f14590113bb0f1fb7ef137_6d85ce4b-0546-48bb-80c4-5833850e6d68.webp?v=1714801503"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63acc3ede6a7529d4939fc2245c74556d3866581_e5e85a3a-4cdc-4451-a367-bd896df69886.webp?v=1714801487","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/879c379886cff98f6f32595d69f2ef65ccdbee01_5213d83c-50e9-4a3a-9ee6-9eec7a7bd7a2.webp?v=1714801490","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aae8decc1e91bef8a6b84cbc7b8c8fdb77aa8a9e_2770a40a-1c22-4346-a398-ec43707d7f83.webp?v=1714801492","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ddd7270a9b19fe4eaff4dcbd86afaa8791444b1_62c09cee-fb69-4f21-9cb5-777f04d2d01a.webp?v=1714801494","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e9349d182e07d8900b5d121532b8ee85abfeedc_ba341f1a-e638-43a1-996b-7c6845833cc9.webp?v=1714801497","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c42d4ddc1701943de56ec00c2f169a37bb9ee39a_c600dd58-4184-43db-84c7-99bb20ed617e.webp?v=1714801499","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e7b07513772dcec5629116ff299e41a30696d98_9c4b75a1-e7be-4b27-9475-4c39be900e85.webp?v=1714801501","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180eb0af2281fc06e9f14590113bb0f1fb7ef137_6d85ce4b-0546-48bb-80c4-5833850e6d68.webp?v=1714801503","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33ce919c72481d21ed977d49b191f5726b1957f3_91f8da09-eb76-46f9-865d-810d61fd157c.webp?v=1714801506","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30ef27a07c2676a6ff998f6c5728637c6f3b43f3_0a4df57c-6efc-4be2-81ef-dbc44ea54ace.webp?v=1714801508","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b7b20e22ca6835cabc6e93accab8f1e95b1b9cc_02cea7ae-82b3-4089-8182-a29c81bf6ea5.webp?v=1714801510"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63acc3ede6a7529d4939fc2245c74556d3866581_e5e85a3a-4cdc-4451-a367-bd896df69886.webp?v=1714801487","options":["color"],"media":[{"alt":null,"id":23881470279779,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63acc3ede6a7529d4939fc2245c74556d3866581_e5e85a3a-4cdc-4451-a367-bd896df69886.webp?v=1714801487"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63acc3ede6a7529d4939fc2245c74556d3866581_e5e85a3a-4cdc-4451-a367-bd896df69886.webp?v=1714801487","width":2000},{"alt":null,"id":23881470771299,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/879c379886cff98f6f32595d69f2ef65ccdbee01_5213d83c-50e9-4a3a-9ee6-9eec7a7bd7a2.webp?v=1714801490"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/879c379886cff98f6f32595d69f2ef65ccdbee01_5213d83c-50e9-4a3a-9ee6-9eec7a7bd7a2.webp?v=1714801490","width":2000},{"alt":null,"id":23881471164515,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aae8decc1e91bef8a6b84cbc7b8c8fdb77aa8a9e_2770a40a-1c22-4346-a398-ec43707d7f83.webp?v=1714801492"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aae8decc1e91bef8a6b84cbc7b8c8fdb77aa8a9e_2770a40a-1c22-4346-a398-ec43707d7f83.webp?v=1714801492","width":2000},{"alt":null,"id":23881471787107,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ddd7270a9b19fe4eaff4dcbd86afaa8791444b1_62c09cee-fb69-4f21-9cb5-777f04d2d01a.webp?v=1714801494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ddd7270a9b19fe4eaff4dcbd86afaa8791444b1_62c09cee-fb69-4f21-9cb5-777f04d2d01a.webp?v=1714801494","width":2000},{"alt":null,"id":23881472213091,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e9349d182e07d8900b5d121532b8ee85abfeedc_ba341f1a-e638-43a1-996b-7c6845833cc9.webp?v=1714801497"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e9349d182e07d8900b5d121532b8ee85abfeedc_ba341f1a-e638-43a1-996b-7c6845833cc9.webp?v=1714801497","width":2000},{"alt":null,"id":23881472868451,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c42d4ddc1701943de56ec00c2f169a37bb9ee39a_c600dd58-4184-43db-84c7-99bb20ed617e.webp?v=1714801499"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c42d4ddc1701943de56ec00c2f169a37bb9ee39a_c600dd58-4184-43db-84c7-99bb20ed617e.webp?v=1714801499","width":2000},{"alt":null,"id":23881473327203,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e7b07513772dcec5629116ff299e41a30696d98_9c4b75a1-e7be-4b27-9475-4c39be900e85.webp?v=1714801501"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e7b07513772dcec5629116ff299e41a30696d98_9c4b75a1-e7be-4b27-9475-4c39be900e85.webp?v=1714801501","width":2000},{"alt":null,"id":23881473687651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180eb0af2281fc06e9f14590113bb0f1fb7ef137_6d85ce4b-0546-48bb-80c4-5833850e6d68.webp?v=1714801503"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180eb0af2281fc06e9f14590113bb0f1fb7ef137_6d85ce4b-0546-48bb-80c4-5833850e6d68.webp?v=1714801503","width":2000},{"alt":null,"id":23881474211939,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33ce919c72481d21ed977d49b191f5726b1957f3_91f8da09-eb76-46f9-865d-810d61fd157c.webp?v=1714801506"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33ce919c72481d21ed977d49b191f5726b1957f3_91f8da09-eb76-46f9-865d-810d61fd157c.webp?v=1714801506","width":2000},{"alt":null,"id":23881474605155,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30ef27a07c2676a6ff998f6c5728637c6f3b43f3_0a4df57c-6efc-4be2-81ef-dbc44ea54ace.webp?v=1714801508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30ef27a07c2676a6ff998f6c5728637c6f3b43f3_0a4df57c-6efc-4be2-81ef-dbc44ea54ace.webp?v=1714801508","width":2000},{"alt":null,"id":23881475129443,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b7b20e22ca6835cabc6e93accab8f1e95b1b9cc_02cea7ae-82b3-4089-8182-a29c81bf6ea5.webp?v=1714801510"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b7b20e22ca6835cabc6e93accab8f1e95b1b9cc_02cea7ae-82b3-4089-8182-a29c81bf6ea5.webp?v=1714801510","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41890888253539,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-PD31","requires_shipping":true,"taxable":true,"featured_image":{"id":31476260569187,"product_id":7409578344547,"position":3,"created_at":"2024-05-04T13:44:52+08:00","updated_at":"2024-05-04T13:44:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aae8decc1e91bef8a6b84cbc7b8c8fdb77aa8a9e_2770a40a-1c22-4346-a398-ec43707d7f83.webp?v=1714801492","variant_ids":[41890888253539]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - PIXAR-Logo - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114824-PD31","featured_media":{"alt":null,"id":23881471164515,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aae8decc1e91bef8a6b84cbc7b8c8fdb77aa8a9e_2770a40a-1c22-4346-a398-ec43707d7f83.webp?v=1714801492"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41890888319075,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0114804-PD31","requires_shipping":true,"taxable":true,"featured_image":{"id":31476261126243,"product_id":7409578344547,"position":4,"created_at":"2024-05-04T13:44:54+08:00","updated_at":"2024-05-04T13:44:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ddd7270a9b19fe4eaff4dcbd86afaa8791444b1_62c09cee-fb69-4f21-9cb5-777f04d2d01a.webp?v=1714801494","variant_ids":[41890888319075]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - PIXAR-Logo - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114804-PD31","featured_media":{"alt":null,"id":23881471787107,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ddd7270a9b19fe4eaff4dcbd86afaa8791444b1_62c09cee-fb69-4f21-9cb5-777f04d2d01a.webp?v=1714801494"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41890888450147,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"NPB0114815-PD31","requires_shipping":true,"taxable":true,"featured_image":{"id":31476264468579,"product_id":7409578344547,"position":11,"created_at":"2024-05-04T13:45:10+08:00","updated_at":"2024-05-04T13:45:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b7b20e22ca6835cabc6e93accab8f1e95b1b9cc_02cea7ae-82b3-4089-8182-a29c81bf6ea5.webp?v=1714801510","variant_ids":[41890888450147]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - PIXAR-Logo - Mod NX-軍綠邊框","public_title":"Mod NX-軍綠邊框","options":["Mod NX-軍綠邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114815-PD31","featured_media":{"alt":null,"id":23881475129443,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b7b20e22ca6835cabc6e93accab8f1e95b1b9cc_02cea7ae-82b3-4089-8182-a29c81bf6ea5.webp?v=1714801510"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41890888515683,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"NPB01148C1-PD31","requires_shipping":true,"taxable":true,"featured_image":{"id":31476263092323,"product_id":7409578344547,"position":8,"created_at":"2024-05-04T13:45:03+08:00","updated_at":"2024-05-04T13:45:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180eb0af2281fc06e9f14590113bb0f1fb7ef137_6d85ce4b-0546-48bb-80c4-5833850e6d68.webp?v=1714801503","variant_ids":[41890888515683]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - PIXAR-Logo - Mod NX-薰衣紫邊框","public_title":"Mod NX-薰衣紫邊框","options":["Mod NX-薰衣紫邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01148C1-PD31","featured_media":{"alt":null,"id":23881473687651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180eb0af2281fc06e9f14590113bb0f1fb7ef137_6d85ce4b-0546-48bb-80c4-5833850e6d68.webp?v=1714801503"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41890888253539,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-PD31","requires_shipping":true,"taxable":true,"featured_image":{"id":31476260569187,"product_id":7409578344547,"position":3,"created_at":"2024-05-04T13:44:52+08:00","updated_at":"2024-05-04T13:44:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aae8decc1e91bef8a6b84cbc7b8c8fdb77aa8a9e_2770a40a-1c22-4346-a398-ec43707d7f83.webp?v=1714801492","variant_ids":[41890888253539]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - PIXAR-Logo - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114824-PD31","featured_media":{"alt":null,"id":23881471164515,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aae8decc1e91bef8a6b84cbc7b8c8fdb77aa8a9e_2770a40a-1c22-4346-a398-ec43707d7f83.webp?v=1714801492"}},"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: "停產" }