$product = {"id":7408664871011,"title":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 芭蕾舞熊貓","handle":"iphone-11-mod-nx-printable-gd19","description":null,"published_at":"2024-06-11T16:43:35+08:00","created_at":"2024-05-03T17:28:35+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":41887977570403,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-GD19","requires_shipping":true,"taxable":true,"featured_image":{"id":31473231757411,"product_id":7408664871011,"position":9,"created_at":"2024-05-03T17:28:56+08:00","updated_at":"2024-05-03T17:28:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/221bc59cf4a251e5f6c2372ff6d222433398a275_3f0dd93f-0fc6-4ea0-a63a-d7b484fae61a.webp?v=1714728536","variant_ids":[41887977570403]},"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-GD19","featured_media":{"alt":null,"id":23878154977379,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/221bc59cf4a251e5f6c2372ff6d222433398a275_3f0dd93f-0fc6-4ea0-a63a-d7b484fae61a.webp?v=1714728536"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41887977635939,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0114804-GD19","requires_shipping":true,"taxable":true,"featured_image":{"id":31473233199203,"product_id":7408664871011,"position":11,"created_at":"2024-05-03T17:29:01+08:00","updated_at":"2024-05-03T17:29:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df256f45e226400081807a1b28106bac1a32dbce_d9b16684-2c64-4b67-998f-1acb3eb6b6e3.webp?v=1714728541","variant_ids":[41887977635939]},"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-GD19","featured_media":{"alt":null,"id":23878156320867,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df256f45e226400081807a1b28106bac1a32dbce_d9b16684-2c64-4b67-998f-1acb3eb6b6e3.webp?v=1714728541"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41887977799779,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"NPB0114815-GD19","requires_shipping":true,"taxable":true,"featured_image":{"id":31473231233123,"product_id":7408664871011,"position":8,"created_at":"2024-05-03T17:28:54+08:00","updated_at":"2024-05-03T17:28:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1362e6b623331cec411be62cbd89d96b1da1a9_1cc1a5c7-cfb9-401f-a57b-db2d129a9201.webp?v=1714728534","variant_ids":[41887977799779]},"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-GD19","featured_media":{"alt":null,"id":23878154322019,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1362e6b623331cec411be62cbd89d96b1da1a9_1cc1a5c7-cfb9-401f-a57b-db2d129a9201.webp?v=1714728534"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41887977898083,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"NPB01148C1-GD19","requires_shipping":true,"taxable":true,"featured_image":{"id":31473227694179,"product_id":7408664871011,"position":2,"created_at":"2024-05-03T17:28:40+08:00","updated_at":"2024-05-03T17:28:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f395d1ca15b688b003fa45b79767ec0e79bf91c0_51fdc0ea-b76f-4899-872b-f3f19b146bc2.webp?v=1714728520","variant_ids":[41887977898083]},"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-GD19","featured_media":{"alt":null,"id":23878150848611,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f395d1ca15b688b003fa45b79767ec0e79bf91c0_51fdc0ea-b76f-4899-872b-f3f19b146bc2.webp?v=1714728520"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/425a5534061f73c1d7bdccbcf881222ee469da39_c1bcff3c-d97a-415a-8342-deb5aa36b2a0.webp?v=1714728517","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f395d1ca15b688b003fa45b79767ec0e79bf91c0_51fdc0ea-b76f-4899-872b-f3f19b146bc2.webp?v=1714728520","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0c0a7ffecdcbc4f9c30908115ef148eae36c482_7091885c-3af4-41a2-a243-2a8e675da9ac.webp?v=1714728522","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012cf18bbd9d14066de69cc3c3a71539fec9cf72_cf1b8e34-1556-427a-924a-fbea5b8955cb.webp?v=1714728524","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a5e58285643b2bf81599cf6377d5ddd516e2176_fbef5868-011a-4957-aa86-06c6d2f273c5.webp?v=1714728527","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73a2a4d40a66ed73ce36f26cb29605e99af9bcd0_68eee9b4-eeed-4a73-8265-a30795ee0b9d.webp?v=1714728529","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ad33960da0329412d5fcfaeedc278dc7892e052_fb389223-9dcb-48eb-9839-aab27d20caf6.webp?v=1714728532","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1362e6b623331cec411be62cbd89d96b1da1a9_1cc1a5c7-cfb9-401f-a57b-db2d129a9201.webp?v=1714728534","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/221bc59cf4a251e5f6c2372ff6d222433398a275_3f0dd93f-0fc6-4ea0-a63a-d7b484fae61a.webp?v=1714728536","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41b49227b0a9af27983b37be71b25bbff1b9d080_4b54b21a-1599-44c4-a188-ae0409f5f8ee.webp?v=1714728538","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df256f45e226400081807a1b28106bac1a32dbce_d9b16684-2c64-4b67-998f-1acb3eb6b6e3.webp?v=1714728541"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/425a5534061f73c1d7bdccbcf881222ee469da39_c1bcff3c-d97a-415a-8342-deb5aa36b2a0.webp?v=1714728517","options":["color"],"media":[{"alt":null,"id":23878150422627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/425a5534061f73c1d7bdccbcf881222ee469da39_c1bcff3c-d97a-415a-8342-deb5aa36b2a0.webp?v=1714728517"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/425a5534061f73c1d7bdccbcf881222ee469da39_c1bcff3c-d97a-415a-8342-deb5aa36b2a0.webp?v=1714728517","width":2000},{"alt":null,"id":23878150848611,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f395d1ca15b688b003fa45b79767ec0e79bf91c0_51fdc0ea-b76f-4899-872b-f3f19b146bc2.webp?v=1714728520"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f395d1ca15b688b003fa45b79767ec0e79bf91c0_51fdc0ea-b76f-4899-872b-f3f19b146bc2.webp?v=1714728520","width":2000},{"alt":null,"id":23878151241827,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0c0a7ffecdcbc4f9c30908115ef148eae36c482_7091885c-3af4-41a2-a243-2a8e675da9ac.webp?v=1714728522"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0c0a7ffecdcbc4f9c30908115ef148eae36c482_7091885c-3af4-41a2-a243-2a8e675da9ac.webp?v=1714728522","width":2000},{"alt":null,"id":23878151864419,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012cf18bbd9d14066de69cc3c3a71539fec9cf72_cf1b8e34-1556-427a-924a-fbea5b8955cb.webp?v=1714728524"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012cf18bbd9d14066de69cc3c3a71539fec9cf72_cf1b8e34-1556-427a-924a-fbea5b8955cb.webp?v=1714728524","width":2000},{"alt":null,"id":23878152421475,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a5e58285643b2bf81599cf6377d5ddd516e2176_fbef5868-011a-4957-aa86-06c6d2f273c5.webp?v=1714728527"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a5e58285643b2bf81599cf6377d5ddd516e2176_fbef5868-011a-4957-aa86-06c6d2f273c5.webp?v=1714728527","width":2000},{"alt":null,"id":23878153338979,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73a2a4d40a66ed73ce36f26cb29605e99af9bcd0_68eee9b4-eeed-4a73-8265-a30795ee0b9d.webp?v=1714728529"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73a2a4d40a66ed73ce36f26cb29605e99af9bcd0_68eee9b4-eeed-4a73-8265-a30795ee0b9d.webp?v=1714728529","width":2000},{"alt":null,"id":23878153830499,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ad33960da0329412d5fcfaeedc278dc7892e052_fb389223-9dcb-48eb-9839-aab27d20caf6.webp?v=1714728532"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ad33960da0329412d5fcfaeedc278dc7892e052_fb389223-9dcb-48eb-9839-aab27d20caf6.webp?v=1714728532","width":2000},{"alt":null,"id":23878154322019,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1362e6b623331cec411be62cbd89d96b1da1a9_1cc1a5c7-cfb9-401f-a57b-db2d129a9201.webp?v=1714728534"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1362e6b623331cec411be62cbd89d96b1da1a9_1cc1a5c7-cfb9-401f-a57b-db2d129a9201.webp?v=1714728534","width":2000},{"alt":null,"id":23878154977379,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/221bc59cf4a251e5f6c2372ff6d222433398a275_3f0dd93f-0fc6-4ea0-a63a-d7b484fae61a.webp?v=1714728536"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/221bc59cf4a251e5f6c2372ff6d222433398a275_3f0dd93f-0fc6-4ea0-a63a-d7b484fae61a.webp?v=1714728536","width":2000},{"alt":null,"id":23878155501667,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41b49227b0a9af27983b37be71b25bbff1b9d080_4b54b21a-1599-44c4-a188-ae0409f5f8ee.webp?v=1714728538"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41b49227b0a9af27983b37be71b25bbff1b9d080_4b54b21a-1599-44c4-a188-ae0409f5f8ee.webp?v=1714728538","width":2000},{"alt":null,"id":23878156320867,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df256f45e226400081807a1b28106bac1a32dbce_d9b16684-2c64-4b67-998f-1acb3eb6b6e3.webp?v=1714728541"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df256f45e226400081807a1b28106bac1a32dbce_d9b16684-2c64-4b67-998f-1acb3eb6b6e3.webp?v=1714728541","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41887977570403,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-GD19","requires_shipping":true,"taxable":true,"featured_image":{"id":31473231757411,"product_id":7408664871011,"position":9,"created_at":"2024-05-03T17:28:56+08:00","updated_at":"2024-05-03T17:28:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/221bc59cf4a251e5f6c2372ff6d222433398a275_3f0dd93f-0fc6-4ea0-a63a-d7b484fae61a.webp?v=1714728536","variant_ids":[41887977570403]},"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-GD19","featured_media":{"alt":null,"id":23878154977379,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/221bc59cf4a251e5f6c2372ff6d222433398a275_3f0dd93f-0fc6-4ea0-a63a-d7b484fae61a.webp?v=1714728536"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41887977635939,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0114804-GD19","requires_shipping":true,"taxable":true,"featured_image":{"id":31473233199203,"product_id":7408664871011,"position":11,"created_at":"2024-05-03T17:29:01+08:00","updated_at":"2024-05-03T17:29:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df256f45e226400081807a1b28106bac1a32dbce_d9b16684-2c64-4b67-998f-1acb3eb6b6e3.webp?v=1714728541","variant_ids":[41887977635939]},"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-GD19","featured_media":{"alt":null,"id":23878156320867,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df256f45e226400081807a1b28106bac1a32dbce_d9b16684-2c64-4b67-998f-1acb3eb6b6e3.webp?v=1714728541"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41887977799779,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"NPB0114815-GD19","requires_shipping":true,"taxable":true,"featured_image":{"id":31473231233123,"product_id":7408664871011,"position":8,"created_at":"2024-05-03T17:28:54+08:00","updated_at":"2024-05-03T17:28:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1362e6b623331cec411be62cbd89d96b1da1a9_1cc1a5c7-cfb9-401f-a57b-db2d129a9201.webp?v=1714728534","variant_ids":[41887977799779]},"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-GD19","featured_media":{"alt":null,"id":23878154322019,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1362e6b623331cec411be62cbd89d96b1da1a9_1cc1a5c7-cfb9-401f-a57b-db2d129a9201.webp?v=1714728534"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41887977898083,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"NPB01148C1-GD19","requires_shipping":true,"taxable":true,"featured_image":{"id":31473227694179,"product_id":7408664871011,"position":2,"created_at":"2024-05-03T17:28:40+08:00","updated_at":"2024-05-03T17:28:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f395d1ca15b688b003fa45b79767ec0e79bf91c0_51fdc0ea-b76f-4899-872b-f3f19b146bc2.webp?v=1714728520","variant_ids":[41887977898083]},"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-GD19","featured_media":{"alt":null,"id":23878150848611,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f395d1ca15b688b003fa45b79767ec0e79bf91c0_51fdc0ea-b76f-4899-872b-f3f19b146bc2.webp?v=1714728520"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41887977570403,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-GD19","requires_shipping":true,"taxable":true,"featured_image":{"id":31473231757411,"product_id":7408664871011,"position":9,"created_at":"2024-05-03T17:28:56+08:00","updated_at":"2024-05-03T17:28:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/221bc59cf4a251e5f6c2372ff6d222433398a275_3f0dd93f-0fc6-4ea0-a63a-d7b484fae61a.webp?v=1714728536","variant_ids":[41887977570403]},"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-GD19","featured_media":{"alt":null,"id":23878154977379,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/221bc59cf4a251e5f6c2372ff6d222433398a275_3f0dd93f-0fc6-4ea0-a63a-d7b484fae61a.webp?v=1714728536"}},"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: "停產" }