$product = {"id":7409667440739,"title":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 有人喜歡","handle":"iphone-11-mod-nx-printable-kc18","description":null,"published_at":"2024-06-11T16:46:40+08:00","created_at":"2024-05-04T14:03:36+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":41891670982755,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-KC18","requires_shipping":true,"taxable":true,"featured_image":{"id":31476489388131,"product_id":7409667440739,"position":7,"created_at":"2024-05-04T14:03:53+08:00","updated_at":"2024-05-04T14:03:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4cc1bf113ca42aafd6f8c0674b3ebb3c07773bd_fce9b86c-0de7-4c3f-9d49-d58487b56fe3.webp?v=1714802633","variant_ids":[41891670982755]},"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-KC18","featured_media":{"alt":null,"id":23881701261411,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4cc1bf113ca42aafd6f8c0674b3ebb3c07773bd_fce9b86c-0de7-4c3f-9d49-d58487b56fe3.webp?v=1714802633"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891671048291,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0114804-KC18","requires_shipping":true,"taxable":true,"featured_image":{"id":31476490403939,"product_id":7409667440739,"position":9,"created_at":"2024-05-04T14:03:58+08:00","updated_at":"2024-05-04T14:03:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f9316001b9adf2969d2e208c55304ce8ccd6a2e_10372288-598d-4b82-9097-bd11a1e9da64.webp?v=1714802638","variant_ids":[41891671048291]},"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-KC18","featured_media":{"alt":null,"id":23881702277219,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f9316001b9adf2969d2e208c55304ce8ccd6a2e_10372288-598d-4b82-9097-bd11a1e9da64.webp?v=1714802638"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891671179363,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"NPB0114815-KC18","requires_shipping":true,"taxable":true,"featured_image":{"id":31476489912419,"product_id":7409667440739,"position":8,"created_at":"2024-05-04T14:03:55+08:00","updated_at":"2024-05-04T14:03:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f169cfd6a9acd04054ea71ec6991e0ede035fc2c_95a7c619-7f06-4822-8942-0ab5489b93bc.webp?v=1714802635","variant_ids":[41891671179363]},"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-KC18","featured_media":{"alt":null,"id":23881701752931,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f169cfd6a9acd04054ea71ec6991e0ede035fc2c_95a7c619-7f06-4822-8942-0ab5489b93bc.webp?v=1714802635"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891671244899,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"NPB01148C1-KC18","requires_shipping":true,"taxable":true,"featured_image":{"id":31476488667235,"product_id":7409667440739,"position":6,"created_at":"2024-05-04T14:03:51+08:00","updated_at":"2024-05-04T14:03:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e598e6aa93a34ed2c1c1747ab865ed31837c0642_0e53b235-0bc8-4227-9857-e2ee7db1d4e6.webp?v=1714802631","variant_ids":[41891671244899]},"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-KC18","featured_media":{"alt":null,"id":23881700507747,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e598e6aa93a34ed2c1c1747ab865ed31837c0642_0e53b235-0bc8-4227-9857-e2ee7db1d4e6.webp?v=1714802631"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51b673e307fa0c8222eb32756b2f265d4825deb6_cfe57c95-9af3-4661-bc86-4ec44bd0fe86.webp?v=1714802618","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17527cf91dd41f3a3779d5609d77584eba5a2e6a_bf8523e1-8d17-4051-a6f3-9dc34a26c0b0.webp?v=1714802621","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/633caacca2bccbd4a11c9bbf5915bf4431334c9a_7fb35a97-6283-4f65-82d9-ef9cc4e4defe.webp?v=1714802623","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5632f7a2cee5bade2b67691b3afc84d46e96d2e_cd41f0fe-d7ee-4fcb-a11e-2a73b725fd24.webp?v=1714802626","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79dcadd83867e22ca7e935655dbcd666a1cee66e_ceb16168-7efd-4a06-a564-eec3939405d8.webp?v=1714802628","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e598e6aa93a34ed2c1c1747ab865ed31837c0642_0e53b235-0bc8-4227-9857-e2ee7db1d4e6.webp?v=1714802631","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4cc1bf113ca42aafd6f8c0674b3ebb3c07773bd_fce9b86c-0de7-4c3f-9d49-d58487b56fe3.webp?v=1714802633","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f169cfd6a9acd04054ea71ec6991e0ede035fc2c_95a7c619-7f06-4822-8942-0ab5489b93bc.webp?v=1714802635","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f9316001b9adf2969d2e208c55304ce8ccd6a2e_10372288-598d-4b82-9097-bd11a1e9da64.webp?v=1714802638","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee9c58bf6b947025dd753e9716372275a5892cec_df37aeaa-803e-4637-907b-03f28ba928c3.webp?v=1714802640","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abfd4290281452df9fd3b85e45834ed93a349666_2e73b263-797f-4aea-aa1c-c7b55289ab15.webp?v=1714802643"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51b673e307fa0c8222eb32756b2f265d4825deb6_cfe57c95-9af3-4661-bc86-4ec44bd0fe86.webp?v=1714802618","options":["color"],"media":[{"alt":null,"id":23881697656931,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51b673e307fa0c8222eb32756b2f265d4825deb6_cfe57c95-9af3-4661-bc86-4ec44bd0fe86.webp?v=1714802618"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51b673e307fa0c8222eb32756b2f265d4825deb6_cfe57c95-9af3-4661-bc86-4ec44bd0fe86.webp?v=1714802618","width":2000},{"alt":null,"id":23881698181219,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17527cf91dd41f3a3779d5609d77584eba5a2e6a_bf8523e1-8d17-4051-a6f3-9dc34a26c0b0.webp?v=1714802621"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17527cf91dd41f3a3779d5609d77584eba5a2e6a_bf8523e1-8d17-4051-a6f3-9dc34a26c0b0.webp?v=1714802621","width":2000},{"alt":null,"id":23881698869347,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/633caacca2bccbd4a11c9bbf5915bf4431334c9a_7fb35a97-6283-4f65-82d9-ef9cc4e4defe.webp?v=1714802623"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/633caacca2bccbd4a11c9bbf5915bf4431334c9a_7fb35a97-6283-4f65-82d9-ef9cc4e4defe.webp?v=1714802623","width":2000},{"alt":null,"id":23881699393635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5632f7a2cee5bade2b67691b3afc84d46e96d2e_cd41f0fe-d7ee-4fcb-a11e-2a73b725fd24.webp?v=1714802626"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5632f7a2cee5bade2b67691b3afc84d46e96d2e_cd41f0fe-d7ee-4fcb-a11e-2a73b725fd24.webp?v=1714802626","width":2000},{"alt":null,"id":23881699983459,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79dcadd83867e22ca7e935655dbcd666a1cee66e_ceb16168-7efd-4a06-a564-eec3939405d8.webp?v=1714802628"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79dcadd83867e22ca7e935655dbcd666a1cee66e_ceb16168-7efd-4a06-a564-eec3939405d8.webp?v=1714802628","width":2000},{"alt":null,"id":23881700507747,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e598e6aa93a34ed2c1c1747ab865ed31837c0642_0e53b235-0bc8-4227-9857-e2ee7db1d4e6.webp?v=1714802631"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e598e6aa93a34ed2c1c1747ab865ed31837c0642_0e53b235-0bc8-4227-9857-e2ee7db1d4e6.webp?v=1714802631","width":2000},{"alt":null,"id":23881701261411,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4cc1bf113ca42aafd6f8c0674b3ebb3c07773bd_fce9b86c-0de7-4c3f-9d49-d58487b56fe3.webp?v=1714802633"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4cc1bf113ca42aafd6f8c0674b3ebb3c07773bd_fce9b86c-0de7-4c3f-9d49-d58487b56fe3.webp?v=1714802633","width":2000},{"alt":null,"id":23881701752931,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f169cfd6a9acd04054ea71ec6991e0ede035fc2c_95a7c619-7f06-4822-8942-0ab5489b93bc.webp?v=1714802635"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f169cfd6a9acd04054ea71ec6991e0ede035fc2c_95a7c619-7f06-4822-8942-0ab5489b93bc.webp?v=1714802635","width":2000},{"alt":null,"id":23881702277219,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f9316001b9adf2969d2e208c55304ce8ccd6a2e_10372288-598d-4b82-9097-bd11a1e9da64.webp?v=1714802638"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f9316001b9adf2969d2e208c55304ce8ccd6a2e_10372288-598d-4b82-9097-bd11a1e9da64.webp?v=1714802638","width":2000},{"alt":null,"id":23881702735971,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee9c58bf6b947025dd753e9716372275a5892cec_df37aeaa-803e-4637-907b-03f28ba928c3.webp?v=1714802640"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee9c58bf6b947025dd753e9716372275a5892cec_df37aeaa-803e-4637-907b-03f28ba928c3.webp?v=1714802640","width":2000},{"alt":null,"id":23881703129187,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abfd4290281452df9fd3b85e45834ed93a349666_2e73b263-797f-4aea-aa1c-c7b55289ab15.webp?v=1714802643"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abfd4290281452df9fd3b85e45834ed93a349666_2e73b263-797f-4aea-aa1c-c7b55289ab15.webp?v=1714802643","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41891670982755,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-KC18","requires_shipping":true,"taxable":true,"featured_image":{"id":31476489388131,"product_id":7409667440739,"position":7,"created_at":"2024-05-04T14:03:53+08:00","updated_at":"2024-05-04T14:03:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4cc1bf113ca42aafd6f8c0674b3ebb3c07773bd_fce9b86c-0de7-4c3f-9d49-d58487b56fe3.webp?v=1714802633","variant_ids":[41891670982755]},"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-KC18","featured_media":{"alt":null,"id":23881701261411,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4cc1bf113ca42aafd6f8c0674b3ebb3c07773bd_fce9b86c-0de7-4c3f-9d49-d58487b56fe3.webp?v=1714802633"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891671048291,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0114804-KC18","requires_shipping":true,"taxable":true,"featured_image":{"id":31476490403939,"product_id":7409667440739,"position":9,"created_at":"2024-05-04T14:03:58+08:00","updated_at":"2024-05-04T14:03:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f9316001b9adf2969d2e208c55304ce8ccd6a2e_10372288-598d-4b82-9097-bd11a1e9da64.webp?v=1714802638","variant_ids":[41891671048291]},"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-KC18","featured_media":{"alt":null,"id":23881702277219,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f9316001b9adf2969d2e208c55304ce8ccd6a2e_10372288-598d-4b82-9097-bd11a1e9da64.webp?v=1714802638"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891671179363,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"NPB0114815-KC18","requires_shipping":true,"taxable":true,"featured_image":{"id":31476489912419,"product_id":7409667440739,"position":8,"created_at":"2024-05-04T14:03:55+08:00","updated_at":"2024-05-04T14:03:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f169cfd6a9acd04054ea71ec6991e0ede035fc2c_95a7c619-7f06-4822-8942-0ab5489b93bc.webp?v=1714802635","variant_ids":[41891671179363]},"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-KC18","featured_media":{"alt":null,"id":23881701752931,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f169cfd6a9acd04054ea71ec6991e0ede035fc2c_95a7c619-7f06-4822-8942-0ab5489b93bc.webp?v=1714802635"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891671244899,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"NPB01148C1-KC18","requires_shipping":true,"taxable":true,"featured_image":{"id":31476488667235,"product_id":7409667440739,"position":6,"created_at":"2024-05-04T14:03:51+08:00","updated_at":"2024-05-04T14:03:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e598e6aa93a34ed2c1c1747ab865ed31837c0642_0e53b235-0bc8-4227-9857-e2ee7db1d4e6.webp?v=1714802631","variant_ids":[41891671244899]},"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-KC18","featured_media":{"alt":null,"id":23881700507747,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e598e6aa93a34ed2c1c1747ab865ed31837c0642_0e53b235-0bc8-4227-9857-e2ee7db1d4e6.webp?v=1714802631"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41891670982755,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-KC18","requires_shipping":true,"taxable":true,"featured_image":{"id":31476489388131,"product_id":7409667440739,"position":7,"created_at":"2024-05-04T14:03:53+08:00","updated_at":"2024-05-04T14:03:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4cc1bf113ca42aafd6f8c0674b3ebb3c07773bd_fce9b86c-0de7-4c3f-9d49-d58487b56fe3.webp?v=1714802633","variant_ids":[41891670982755]},"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-KC18","featured_media":{"alt":null,"id":23881701261411,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4cc1bf113ca42aafd6f8c0674b3ebb3c07773bd_fce9b86c-0de7-4c3f-9d49-d58487b56fe3.webp?v=1714802633"}},"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: "停產" }