$product = {"id":7408676667491,"title":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 願傷疤開花(恆春)","handle":"iphone-11-mod-nx-printable-ae01","description":null,"published_at":"2024-06-11T16:43:55+08:00","created_at":"2024-05-03T17:31:54+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-chi-po-lin-series","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":41888099172451,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31473289003107,"product_id":7408676667491,"position":3,"created_at":"2024-05-03T17:32:01+08:00","updated_at":"2024-05-03T17:32:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/503fb7382cfad06a1c4e1ad247d89a0e3e710cba_dff46404-ea65-4791-98b9-0584cbb93393.webp?v=1714728721","variant_ids":[41888099172451]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 願傷疤開花(恆春) - 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-AE01","featured_media":{"alt":null,"id":23878212386915,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/503fb7382cfad06a1c4e1ad247d89a0e3e710cba_dff46404-ea65-4791-98b9-0584cbb93393.webp?v=1714728721"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41888099303523,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0114804-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31473290707043,"product_id":7408676667491,"position":5,"created_at":"2024-05-03T17:32:06+08:00","updated_at":"2024-05-03T17:32:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e7f80be94122e6e2d6dc3f5fdea58c1a3c92671_f873622f-e79a-4146-81a6-2a113e431d2b.webp?v=1714728726","variant_ids":[41888099303523]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 願傷疤開花(恆春) - 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-AE01","featured_media":{"alt":null,"id":23878214090851,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e7f80be94122e6e2d6dc3f5fdea58c1a3c92671_f873622f-e79a-4146-81a6-2a113e431d2b.webp?v=1714728726"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41888099663971,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"NPB0114815-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31473294671971,"product_id":7408676667491,"position":11,"created_at":"2024-05-03T17:32:21+08:00","updated_at":"2024-05-03T17:32:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4a84e494972d29f24297492f49dd3cf8f26ed08_c609d64c-9e48-42ea-b9b4-3b4b4ff27970.webp?v=1714728741","variant_ids":[41888099663971]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 願傷疤開花(恆春) - 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-AE01","featured_media":{"alt":null,"id":23878218121315,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4a84e494972d29f24297492f49dd3cf8f26ed08_c609d64c-9e48-42ea-b9b4-3b4b4ff27970.webp?v=1714728741"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41888099827811,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"NPB01148C1-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31473293426787,"product_id":7408676667491,"position":9,"created_at":"2024-05-03T17:32:16+08:00","updated_at":"2024-05-03T17:32:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95952f93027060f9024320a2daf2b6c075c2b4f1_034a6cdf-d8e1-4499-a298-c267850312c9.webp?v=1714728736","variant_ids":[41888099827811]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 願傷疤開花(恆春) - 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-AE01","featured_media":{"alt":null,"id":23878216876131,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95952f93027060f9024320a2daf2b6c075c2b4f1_034a6cdf-d8e1-4499-a298-c267850312c9.webp?v=1714728736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5d426d9f04e56811135a515b70b8976edb1cd44_e7079530-120d-404c-9a5f-5da3cf677f87.webp?v=1714728716","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea6f10cf99059d290ce4814bbcd9a44fea20c262_e78b3208-abc5-44ba-883a-86d070c6ca75.webp?v=1714728719","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/503fb7382cfad06a1c4e1ad247d89a0e3e710cba_dff46404-ea65-4791-98b9-0584cbb93393.webp?v=1714728721","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efa0c6b2fbe2daa7207b03471d522df2851bc1b3_b454a848-a37b-41d3-a97b-0c7a61b5546c.webp?v=1714728724","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e7f80be94122e6e2d6dc3f5fdea58c1a3c92671_f873622f-e79a-4146-81a6-2a113e431d2b.webp?v=1714728726","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31255e08e63af6a447c59189c906343257c29344_0b6a438e-044b-48b5-b902-aac256b86d0b.webp?v=1714728729","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5649ddf5fca2e67d78526f710c061a03dad54f24_0f80ae50-b556-4aae-b0c2-7253bdf52eef.webp?v=1714728731","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47687260be0be6d2506e0e9ed48bface5d0e531e_a655f7c8-c46e-4229-a5cb-356a03bbe24e.webp?v=1714728734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95952f93027060f9024320a2daf2b6c075c2b4f1_034a6cdf-d8e1-4499-a298-c267850312c9.webp?v=1714728736","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7c4cf866710bf13dd66b99a02a3af49a47d31f4_b6c4f15d-6eb2-4b98-a993-de00b5b20d90.webp?v=1714728739","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4a84e494972d29f24297492f49dd3cf8f26ed08_c609d64c-9e48-42ea-b9b4-3b4b4ff27970.webp?v=1714728741"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5d426d9f04e56811135a515b70b8976edb1cd44_e7079530-120d-404c-9a5f-5da3cf677f87.webp?v=1714728716","options":["color"],"media":[{"alt":null,"id":23878211272803,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5d426d9f04e56811135a515b70b8976edb1cd44_e7079530-120d-404c-9a5f-5da3cf677f87.webp?v=1714728716"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5d426d9f04e56811135a515b70b8976edb1cd44_e7079530-120d-404c-9a5f-5da3cf677f87.webp?v=1714728716","width":2000},{"alt":null,"id":23878211862627,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea6f10cf99059d290ce4814bbcd9a44fea20c262_e78b3208-abc5-44ba-883a-86d070c6ca75.webp?v=1714728719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea6f10cf99059d290ce4814bbcd9a44fea20c262_e78b3208-abc5-44ba-883a-86d070c6ca75.webp?v=1714728719","width":2000},{"alt":null,"id":23878212386915,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/503fb7382cfad06a1c4e1ad247d89a0e3e710cba_dff46404-ea65-4791-98b9-0584cbb93393.webp?v=1714728721"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/503fb7382cfad06a1c4e1ad247d89a0e3e710cba_dff46404-ea65-4791-98b9-0584cbb93393.webp?v=1714728721","width":2000},{"alt":null,"id":23878212943971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efa0c6b2fbe2daa7207b03471d522df2851bc1b3_b454a848-a37b-41d3-a97b-0c7a61b5546c.webp?v=1714728724"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efa0c6b2fbe2daa7207b03471d522df2851bc1b3_b454a848-a37b-41d3-a97b-0c7a61b5546c.webp?v=1714728724","width":2000},{"alt":null,"id":23878214090851,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e7f80be94122e6e2d6dc3f5fdea58c1a3c92671_f873622f-e79a-4146-81a6-2a113e431d2b.webp?v=1714728726"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e7f80be94122e6e2d6dc3f5fdea58c1a3c92671_f873622f-e79a-4146-81a6-2a113e431d2b.webp?v=1714728726","width":2000},{"alt":null,"id":23878214713443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31255e08e63af6a447c59189c906343257c29344_0b6a438e-044b-48b5-b902-aac256b86d0b.webp?v=1714728729"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31255e08e63af6a447c59189c906343257c29344_0b6a438e-044b-48b5-b902-aac256b86d0b.webp?v=1714728729","width":2000},{"alt":null,"id":23878215467107,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5649ddf5fca2e67d78526f710c061a03dad54f24_0f80ae50-b556-4aae-b0c2-7253bdf52eef.webp?v=1714728731"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5649ddf5fca2e67d78526f710c061a03dad54f24_0f80ae50-b556-4aae-b0c2-7253bdf52eef.webp?v=1714728731","width":2000},{"alt":null,"id":23878216089699,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47687260be0be6d2506e0e9ed48bface5d0e531e_a655f7c8-c46e-4229-a5cb-356a03bbe24e.webp?v=1714728734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47687260be0be6d2506e0e9ed48bface5d0e531e_a655f7c8-c46e-4229-a5cb-356a03bbe24e.webp?v=1714728734","width":2000},{"alt":null,"id":23878216876131,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95952f93027060f9024320a2daf2b6c075c2b4f1_034a6cdf-d8e1-4499-a298-c267850312c9.webp?v=1714728736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95952f93027060f9024320a2daf2b6c075c2b4f1_034a6cdf-d8e1-4499-a298-c267850312c9.webp?v=1714728736","width":2000},{"alt":null,"id":23878217433187,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7c4cf866710bf13dd66b99a02a3af49a47d31f4_b6c4f15d-6eb2-4b98-a993-de00b5b20d90.webp?v=1714728739"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7c4cf866710bf13dd66b99a02a3af49a47d31f4_b6c4f15d-6eb2-4b98-a993-de00b5b20d90.webp?v=1714728739","width":2000},{"alt":null,"id":23878218121315,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4a84e494972d29f24297492f49dd3cf8f26ed08_c609d64c-9e48-42ea-b9b4-3b4b4ff27970.webp?v=1714728741"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4a84e494972d29f24297492f49dd3cf8f26ed08_c609d64c-9e48-42ea-b9b4-3b4b4ff27970.webp?v=1714728741","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41888099172451,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31473289003107,"product_id":7408676667491,"position":3,"created_at":"2024-05-03T17:32:01+08:00","updated_at":"2024-05-03T17:32:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/503fb7382cfad06a1c4e1ad247d89a0e3e710cba_dff46404-ea65-4791-98b9-0584cbb93393.webp?v=1714728721","variant_ids":[41888099172451]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 願傷疤開花(恆春) - 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-AE01","featured_media":{"alt":null,"id":23878212386915,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/503fb7382cfad06a1c4e1ad247d89a0e3e710cba_dff46404-ea65-4791-98b9-0584cbb93393.webp?v=1714728721"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41888099303523,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0114804-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31473290707043,"product_id":7408676667491,"position":5,"created_at":"2024-05-03T17:32:06+08:00","updated_at":"2024-05-03T17:32:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e7f80be94122e6e2d6dc3f5fdea58c1a3c92671_f873622f-e79a-4146-81a6-2a113e431d2b.webp?v=1714728726","variant_ids":[41888099303523]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 願傷疤開花(恆春) - 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-AE01","featured_media":{"alt":null,"id":23878214090851,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e7f80be94122e6e2d6dc3f5fdea58c1a3c92671_f873622f-e79a-4146-81a6-2a113e431d2b.webp?v=1714728726"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41888099663971,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"NPB0114815-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31473294671971,"product_id":7408676667491,"position":11,"created_at":"2024-05-03T17:32:21+08:00","updated_at":"2024-05-03T17:32:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4a84e494972d29f24297492f49dd3cf8f26ed08_c609d64c-9e48-42ea-b9b4-3b4b4ff27970.webp?v=1714728741","variant_ids":[41888099663971]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 願傷疤開花(恆春) - 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-AE01","featured_media":{"alt":null,"id":23878218121315,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4a84e494972d29f24297492f49dd3cf8f26ed08_c609d64c-9e48-42ea-b9b4-3b4b4ff27970.webp?v=1714728741"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41888099827811,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"NPB01148C1-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31473293426787,"product_id":7408676667491,"position":9,"created_at":"2024-05-03T17:32:16+08:00","updated_at":"2024-05-03T17:32:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95952f93027060f9024320a2daf2b6c075c2b4f1_034a6cdf-d8e1-4499-a298-c267850312c9.webp?v=1714728736","variant_ids":[41888099827811]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 願傷疤開花(恆春) - 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-AE01","featured_media":{"alt":null,"id":23878216876131,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95952f93027060f9024320a2daf2b6c075c2b4f1_034a6cdf-d8e1-4499-a298-c267850312c9.webp?v=1714728736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41888099172451,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31473289003107,"product_id":7408676667491,"position":3,"created_at":"2024-05-03T17:32:01+08:00","updated_at":"2024-05-03T17:32:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/503fb7382cfad06a1c4e1ad247d89a0e3e710cba_dff46404-ea65-4791-98b9-0584cbb93393.webp?v=1714728721","variant_ids":[41888099172451]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 願傷疤開花(恆春) - 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-AE01","featured_media":{"alt":null,"id":23878212386915,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/503fb7382cfad06a1c4e1ad247d89a0e3e710cba_dff46404-ea65-4791-98b9-0584cbb93393.webp?v=1714728721"}},"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: "停產" }