$product = {"id":7409647583331,"title":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - What's In My Bag - 哈利波特","handle":"iphone-11-mod-nx-printable-oo65","description":null,"published_at":"2024-06-11T16:46:21+08:00","created_at":"2024-05-04T13:59:30+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":41891505242211,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-OO65","requires_shipping":true,"taxable":true,"featured_image":{"id":31476439875683,"product_id":7409647583331,"position":11,"created_at":"2024-05-04T13:59:54+08:00","updated_at":"2024-05-04T13:59:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/978bb5545d4f3253a96e3cefb75c7479fa01eadb_e49c9666-d456-4cf2-b95a-be1f584d0218.webp?v=1714802395","variant_ids":[41891505242211]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - What's In My Bag - 哈利波特 - 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-OO65","featured_media":{"alt":null,"id":23881651552355,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/978bb5545d4f3253a96e3cefb75c7479fa01eadb_e49c9666-d456-4cf2-b95a-be1f584d0218.webp?v=1714802395"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891505307747,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0114804-OO65","requires_shipping":true,"taxable":true,"featured_image":{"id":31476438401123,"product_id":7409647583331,"position":8,"created_at":"2024-05-04T13:59:48+08:00","updated_at":"2024-05-04T13:59:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb0adf00ca0f3a3b5af6f611aeedc316852b421d_4a3afaa9-136f-451b-96ae-326f97e3d614.webp?v=1714802388","variant_ids":[41891505307747]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - What's In My Bag - 哈利波特 - 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-OO65","featured_media":{"alt":null,"id":23881650077795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb0adf00ca0f3a3b5af6f611aeedc316852b421d_4a3afaa9-136f-451b-96ae-326f97e3d614.webp?v=1714802388"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891505438819,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"NPB0114815-OO65","requires_shipping":true,"taxable":true,"featured_image":{"id":31476437450851,"product_id":7409647583331,"position":6,"created_at":"2024-05-04T13:59:44+08:00","updated_at":"2024-05-04T13:59:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/270724301f87363c985d32b68f654c37ca98e310_97fc969f-7ff8-476f-804a-47d7ea7905f7.webp?v=1714802384","variant_ids":[41891505438819]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - What's In My Bag - 哈利波特 - 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-OO65","featured_media":{"alt":null,"id":23881649160291,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/270724301f87363c985d32b68f654c37ca98e310_97fc969f-7ff8-476f-804a-47d7ea7905f7.webp?v=1714802384"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891505504355,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"NPB01148C1-OO65","requires_shipping":true,"taxable":true,"featured_image":{"id":31476438925411,"product_id":7409647583331,"position":9,"created_at":"2024-05-04T13:59:50+08:00","updated_at":"2024-05-04T13:59:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8b0b3cd662fc6f999b18d1b74cdee123cd94cbf_af2beeae-7f69-4310-991d-841f63476b8b.webp?v=1714802390","variant_ids":[41891505504355]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - What's In My Bag - 哈利波特 - 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-OO65","featured_media":{"alt":null,"id":23881650634851,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8b0b3cd662fc6f999b18d1b74cdee123cd94cbf_af2beeae-7f69-4310-991d-841f63476b8b.webp?v=1714802390"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aad379fed6bbd367b36326c4669720b79e61bc2b_fa95326c-ebb9-4341-8352-eaef74e61c6a.webp?v=1714802372","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/256dd14bbae98de339212c1b46212a494004baba_2dd717cc-2e54-4dd3-9a46-e1e9439a047a.webp?v=1714802374","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/383651bc619ec1041ed3295149f6689756d0bf84_23b9615c-7461-4f8e-bea4-ca27aaffea2d.webp?v=1714802377","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2de5f2cbb0c91877023283729cbfe30321464a60_b53bc6c8-1f8e-40fb-9b6f-4360bcc0eb76.webp?v=1714802379","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5bec9ec2e3d684d443d2efa9bbb6c15cd6c765e_c2860b2d-aed0-4b86-9609-454db2f096a4.webp?v=1714802381","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/270724301f87363c985d32b68f654c37ca98e310_97fc969f-7ff8-476f-804a-47d7ea7905f7.webp?v=1714802384","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f334874002aa46d303639054ef05e43d8d85baa_932163e8-65a4-4ca3-a31c-c7bdd5b25314.webp?v=1714802386","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb0adf00ca0f3a3b5af6f611aeedc316852b421d_4a3afaa9-136f-451b-96ae-326f97e3d614.webp?v=1714802388","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8b0b3cd662fc6f999b18d1b74cdee123cd94cbf_af2beeae-7f69-4310-991d-841f63476b8b.webp?v=1714802390","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6da8cd41753c5e5ea56ed9a473c2ffd851f6c20_ff652e5e-2570-4fcd-a34f-809789790535.webp?v=1714802392","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/978bb5545d4f3253a96e3cefb75c7479fa01eadb_e49c9666-d456-4cf2-b95a-be1f584d0218.webp?v=1714802395"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aad379fed6bbd367b36326c4669720b79e61bc2b_fa95326c-ebb9-4341-8352-eaef74e61c6a.webp?v=1714802372","options":["color"],"media":[{"alt":null,"id":23881646243939,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aad379fed6bbd367b36326c4669720b79e61bc2b_fa95326c-ebb9-4341-8352-eaef74e61c6a.webp?v=1714802372"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aad379fed6bbd367b36326c4669720b79e61bc2b_fa95326c-ebb9-4341-8352-eaef74e61c6a.webp?v=1714802372","width":2000},{"alt":null,"id":23881646899299,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/256dd14bbae98de339212c1b46212a494004baba_2dd717cc-2e54-4dd3-9a46-e1e9439a047a.webp?v=1714802374"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/256dd14bbae98de339212c1b46212a494004baba_2dd717cc-2e54-4dd3-9a46-e1e9439a047a.webp?v=1714802374","width":2000},{"alt":null,"id":23881647358051,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/383651bc619ec1041ed3295149f6689756d0bf84_23b9615c-7461-4f8e-bea4-ca27aaffea2d.webp?v=1714802377"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/383651bc619ec1041ed3295149f6689756d0bf84_23b9615c-7461-4f8e-bea4-ca27aaffea2d.webp?v=1714802377","width":2000},{"alt":null,"id":23881648046179,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2de5f2cbb0c91877023283729cbfe30321464a60_b53bc6c8-1f8e-40fb-9b6f-4360bcc0eb76.webp?v=1714802379"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2de5f2cbb0c91877023283729cbfe30321464a60_b53bc6c8-1f8e-40fb-9b6f-4360bcc0eb76.webp?v=1714802379","width":2000},{"alt":null,"id":23881648603235,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5bec9ec2e3d684d443d2efa9bbb6c15cd6c765e_c2860b2d-aed0-4b86-9609-454db2f096a4.webp?v=1714802381"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5bec9ec2e3d684d443d2efa9bbb6c15cd6c765e_c2860b2d-aed0-4b86-9609-454db2f096a4.webp?v=1714802381","width":2000},{"alt":null,"id":23881649160291,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/270724301f87363c985d32b68f654c37ca98e310_97fc969f-7ff8-476f-804a-47d7ea7905f7.webp?v=1714802384"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/270724301f87363c985d32b68f654c37ca98e310_97fc969f-7ff8-476f-804a-47d7ea7905f7.webp?v=1714802384","width":2000},{"alt":null,"id":23881649651811,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f334874002aa46d303639054ef05e43d8d85baa_932163e8-65a4-4ca3-a31c-c7bdd5b25314.webp?v=1714802386"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f334874002aa46d303639054ef05e43d8d85baa_932163e8-65a4-4ca3-a31c-c7bdd5b25314.webp?v=1714802386","width":2000},{"alt":null,"id":23881650077795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb0adf00ca0f3a3b5af6f611aeedc316852b421d_4a3afaa9-136f-451b-96ae-326f97e3d614.webp?v=1714802388"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb0adf00ca0f3a3b5af6f611aeedc316852b421d_4a3afaa9-136f-451b-96ae-326f97e3d614.webp?v=1714802388","width":2000},{"alt":null,"id":23881650634851,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8b0b3cd662fc6f999b18d1b74cdee123cd94cbf_af2beeae-7f69-4310-991d-841f63476b8b.webp?v=1714802390"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8b0b3cd662fc6f999b18d1b74cdee123cd94cbf_af2beeae-7f69-4310-991d-841f63476b8b.webp?v=1714802390","width":2000},{"alt":null,"id":23881651093603,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6da8cd41753c5e5ea56ed9a473c2ffd851f6c20_ff652e5e-2570-4fcd-a34f-809789790535.webp?v=1714802392"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6da8cd41753c5e5ea56ed9a473c2ffd851f6c20_ff652e5e-2570-4fcd-a34f-809789790535.webp?v=1714802392","width":2000},{"alt":null,"id":23881651552355,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/978bb5545d4f3253a96e3cefb75c7479fa01eadb_e49c9666-d456-4cf2-b95a-be1f584d0218.webp?v=1714802395"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/978bb5545d4f3253a96e3cefb75c7479fa01eadb_e49c9666-d456-4cf2-b95a-be1f584d0218.webp?v=1714802395","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41891505242211,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-OO65","requires_shipping":true,"taxable":true,"featured_image":{"id":31476439875683,"product_id":7409647583331,"position":11,"created_at":"2024-05-04T13:59:54+08:00","updated_at":"2024-05-04T13:59:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/978bb5545d4f3253a96e3cefb75c7479fa01eadb_e49c9666-d456-4cf2-b95a-be1f584d0218.webp?v=1714802395","variant_ids":[41891505242211]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - What's In My Bag - 哈利波特 - 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-OO65","featured_media":{"alt":null,"id":23881651552355,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/978bb5545d4f3253a96e3cefb75c7479fa01eadb_e49c9666-d456-4cf2-b95a-be1f584d0218.webp?v=1714802395"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891505307747,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0114804-OO65","requires_shipping":true,"taxable":true,"featured_image":{"id":31476438401123,"product_id":7409647583331,"position":8,"created_at":"2024-05-04T13:59:48+08:00","updated_at":"2024-05-04T13:59:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb0adf00ca0f3a3b5af6f611aeedc316852b421d_4a3afaa9-136f-451b-96ae-326f97e3d614.webp?v=1714802388","variant_ids":[41891505307747]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - What's In My Bag - 哈利波特 - 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-OO65","featured_media":{"alt":null,"id":23881650077795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb0adf00ca0f3a3b5af6f611aeedc316852b421d_4a3afaa9-136f-451b-96ae-326f97e3d614.webp?v=1714802388"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891505438819,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"NPB0114815-OO65","requires_shipping":true,"taxable":true,"featured_image":{"id":31476437450851,"product_id":7409647583331,"position":6,"created_at":"2024-05-04T13:59:44+08:00","updated_at":"2024-05-04T13:59:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/270724301f87363c985d32b68f654c37ca98e310_97fc969f-7ff8-476f-804a-47d7ea7905f7.webp?v=1714802384","variant_ids":[41891505438819]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - What's In My Bag - 哈利波特 - 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-OO65","featured_media":{"alt":null,"id":23881649160291,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/270724301f87363c985d32b68f654c37ca98e310_97fc969f-7ff8-476f-804a-47d7ea7905f7.webp?v=1714802384"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891505504355,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"NPB01148C1-OO65","requires_shipping":true,"taxable":true,"featured_image":{"id":31476438925411,"product_id":7409647583331,"position":9,"created_at":"2024-05-04T13:59:50+08:00","updated_at":"2024-05-04T13:59:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8b0b3cd662fc6f999b18d1b74cdee123cd94cbf_af2beeae-7f69-4310-991d-841f63476b8b.webp?v=1714802390","variant_ids":[41891505504355]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - What's In My Bag - 哈利波特 - 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-OO65","featured_media":{"alt":null,"id":23881650634851,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8b0b3cd662fc6f999b18d1b74cdee123cd94cbf_af2beeae-7f69-4310-991d-841f63476b8b.webp?v=1714802390"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41891505242211,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-OO65","requires_shipping":true,"taxable":true,"featured_image":{"id":31476439875683,"product_id":7409647583331,"position":11,"created_at":"2024-05-04T13:59:54+08:00","updated_at":"2024-05-04T13:59:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/978bb5545d4f3253a96e3cefb75c7479fa01eadb_e49c9666-d456-4cf2-b95a-be1f584d0218.webp?v=1714802395","variant_ids":[41891505242211]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - What's In My Bag - 哈利波特 - 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-OO65","featured_media":{"alt":null,"id":23881651552355,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/978bb5545d4f3253a96e3cefb75c7479fa01eadb_e49c9666-d456-4cf2-b95a-be1f584d0218.webp?v=1714802395"}},"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: "停產"
}