$product = {"id":6805136703587,"title":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro","handle":"iphone-12-pro-mod-nx-magsafe","description":"\u003cp\u003e\u003cspan style=\"color: #2b00ff;\"\u003e\u003cstrong\u003e建議售價 $1,280\u003cbr\u003e\u003c\/strong\u003e\u003cstrong\u003e產品包含:手機殼外框 x 1、按鍵 x 3、背板(透明)\u003cspan data-mce-fragment=\"1\"\u003e \u003c\/span\u003ex 1、飾條\u003cspan data-mce-fragment=\"1\"\u003e \u003c\/span\u003ex 1\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e適用iPhone MagSafe(不支援安卓系列)\u003c\/p\u003e\n\u003cp\u003e具高度變換性的三件式的手機殼,\u003cbr\u003e 除了按鈕、飾條可拆換、背板當然也可以自由配搭。\u003c\/p\u003e\n\u003ch1\u003e\u003cspan style=\"color: #ff0000;\"\u003e\u003cstrong\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/h1\u003e","published_at":"2022-08-19T18:35:39+08:00","created_at":"2022-08-09T18:11:37+08:00","vendor":"犀牛盾有限公司","type":"ModNX MagSafe","tags":["20%","2023-tagsAdd-reseller-PL","20240304-reseller-\u003ereplace_to-","25%","30%","35%","40%","45%","45degree","50%","brand-Apple","bumper-clearplate","device-iphone 12 Pro","discountable-item","dropdownDevice-Apple iPhone 12 \/ iPhone 12 Pro","featured-product","member","quickbuy","refresh-2023","reseller","reseller-asus","reseller-modnx-magsafe","reseller-modnx_magsafe","Top50"],"price":130000,"price_min":130000,"price_max":130000,"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":40133660049507,"title":"白色","option1":"白色","option2":null,"option3":null,"sku":"MPB0118504","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107597411,"product_id":6805136703587,"position":1,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118504.png?v=1660041252","variant_ids":[40133660049507]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 白色","public_title":"白色","options":["白色"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-11304,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608363","featured_media":{"alt":null,"id":21823083118691,"position":1,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118504.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40133660082275,"title":"黃色","option1":"黃色","option2":null,"option3":null,"sku":"MPB0118509","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107630179,"product_id":6805136703587,"position":2,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118509.png?v=1660041252","variant_ids":[40133660082275]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 黃色","public_title":"黃色","options":["黃色"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-1885,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608370","featured_media":{"alt":null,"id":21823083151459,"position":2,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118509.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40133660115043,"title":"紅色","option1":"紅色","option2":null,"option3":null,"sku":"MPB0118514","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107662947,"product_id":6805136703587,"position":3,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118514.png?v=1660041252","variant_ids":[40133660115043]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 紅色","public_title":"紅色","options":["紅色"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-8754,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608387","featured_media":{"alt":null,"id":21823083184227,"position":3,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118514.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40133660147811,"title":"黑色","option1":"黑色","option2":null,"option3":null,"sku":"MPB0118524","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107695715,"product_id":6805136703587,"position":4,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118524.png?v=1660041252","variant_ids":[40133660147811]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 黑色","public_title":"黑色","options":["黑色"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-34977,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608400","featured_media":{"alt":null,"id":21823083216995,"position":4,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118524.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40133660180579,"title":"櫻花粉","option1":"櫻花粉","option2":null,"option3":null,"sku":"MPB0118557","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107728483,"product_id":6805136703587,"position":5,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118557.png?v=1660041252","variant_ids":[40133660180579]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 櫻花粉","public_title":"櫻花粉","options":["櫻花粉"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-12633,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608417","featured_media":{"alt":null,"id":21823083249763,"position":5,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118557.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40133660213347,"title":"泥灰","option1":"泥灰","option2":null,"option3":null,"sku":"MPB0118569","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107761251,"product_id":6805136703587,"position":6,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118569.png?v=1660041252","variant_ids":[40133660213347]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 泥灰","public_title":"泥灰","options":["泥灰"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-10785,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608424","featured_media":{"alt":null,"id":21823083282531,"position":6,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118569.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40133660246115,"title":"軍綠","option1":"軍綠","option2":null,"option3":null,"sku":"MPB0118515","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107794019,"product_id":6805136703587,"position":7,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118515.png?v=1660041252","variant_ids":[40133660246115]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 軍綠","public_title":"軍綠","options":["軍綠"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-8684,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608394","featured_media":{"alt":null,"id":21823083315299,"position":7,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118515.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40133660278883,"title":"淺灰","option1":"淺灰","option2":null,"option3":null,"sku":"MPB01185C0","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107826787,"product_id":6805136703587,"position":8,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185C0.png?v=1660041252","variant_ids":[40133660278883]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 淺灰","public_title":"淺灰","options":["淺灰"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-14060,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608431","featured_media":{"alt":null,"id":21823083348067,"position":8,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185C0.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40133660311651,"title":"薰衣紫","option1":"薰衣紫","option2":null,"option3":null,"sku":"MPB01185C1","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107859555,"product_id":6805136703587,"position":9,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185C1.png?v=1660041252","variant_ids":[40133660311651]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 薰衣紫","public_title":"薰衣紫","options":["薰衣紫"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-18370,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608448","featured_media":{"alt":null,"id":21823083380835,"position":9,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185C1.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40133660344419,"title":"海軍藍","option1":"海軍藍","option2":null,"option3":null,"sku":"MPB01185J5","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107892323,"product_id":6805136703587,"position":10,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185J5.png?v=1660041252","variant_ids":[40133660344419]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 海軍藍","public_title":"海軍藍","options":["海軍藍"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-21391,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608462","featured_media":{"alt":null,"id":21823083413603,"position":10,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185J5.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40133660377187,"title":"薄荷綠","option1":"薄荷綠","option2":null,"option3":null,"sku":"MPB01185C5","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107925091,"product_id":6805136703587,"position":11,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185C5.png?v=1660041252","variant_ids":[40133660377187]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 薄荷綠","public_title":"薄荷綠","options":["薄荷綠"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-6587,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608455","featured_media":{"alt":null,"id":21823083446371,"position":11,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185C5.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118504.png?v=1660041252","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118509.png?v=1660041252","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118514.png?v=1660041252","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118524.png?v=1660041252","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118557.png?v=1660041252","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118569.png?v=1660041252","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118515.png?v=1660041252","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185C0.png?v=1660041252","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185C1.png?v=1660041252","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185J5.png?v=1660041252","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185C5.png?v=1660041252"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118504.png?v=1660041252","options":["Color"],"media":[{"alt":null,"id":21823083118691,"position":1,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118504.png?v=1660041252"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118504.png?v=1660041252","width":1999},{"alt":null,"id":21823083151459,"position":2,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118509.png?v=1660041252"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118509.png?v=1660041252","width":1999},{"alt":null,"id":21823083184227,"position":3,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118514.png?v=1660041252"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118514.png?v=1660041252","width":1999},{"alt":null,"id":21823083216995,"position":4,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118524.png?v=1660041252"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118524.png?v=1660041252","width":1999},{"alt":null,"id":21823083249763,"position":5,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118557.png?v=1660041252"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118557.png?v=1660041252","width":1999},{"alt":null,"id":21823083282531,"position":6,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118569.png?v=1660041252"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118569.png?v=1660041252","width":1999},{"alt":null,"id":21823083315299,"position":7,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118515.png?v=1660041252"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118515.png?v=1660041252","width":1999},{"alt":null,"id":21823083348067,"position":8,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185C0.png?v=1660041252"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185C0.png?v=1660041252","width":1999},{"alt":null,"id":21823083380835,"position":9,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185C1.png?v=1660041252"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185C1.png?v=1660041252","width":1999},{"alt":null,"id":21823083413603,"position":10,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185J5.png?v=1660041252"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185J5.png?v=1660041252","width":1999},{"alt":null,"id":21823083446371,"position":11,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185C5.png?v=1660041252"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185C5.png?v=1660041252","width":1999}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003e\u003cspan style=\"color: #2b00ff;\"\u003e\u003cstrong\u003e建議售價 $1,280\u003cbr\u003e\u003c\/strong\u003e\u003cstrong\u003e產品包含:手機殼外框 x 1、按鍵 x 3、背板(透明)\u003cspan data-mce-fragment=\"1\"\u003e \u003c\/span\u003ex 1、飾條\u003cspan data-mce-fragment=\"1\"\u003e \u003c\/span\u003ex 1\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e適用iPhone MagSafe(不支援安卓系列)\u003c\/p\u003e\n\u003cp\u003e具高度變換性的三件式的手機殼,\u003cbr\u003e 除了按鈕、飾條可拆換、背板當然也可以自由配搭。\u003c\/p\u003e\n\u003ch1\u003e\u003cspan style=\"color: #ff0000;\"\u003e\u003cstrong\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/h1\u003e"}; $bumper = null; $variants = [{"id":40133660049507,"title":"白色","option1":"白色","option2":null,"option3":null,"sku":"MPB0118504","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107597411,"product_id":6805136703587,"position":1,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118504.png?v=1660041252","variant_ids":[40133660049507]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 白色","public_title":"白色","options":["白色"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-11304,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608363","featured_media":{"alt":null,"id":21823083118691,"position":1,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118504.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40133660082275,"title":"黃色","option1":"黃色","option2":null,"option3":null,"sku":"MPB0118509","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107630179,"product_id":6805136703587,"position":2,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118509.png?v=1660041252","variant_ids":[40133660082275]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 黃色","public_title":"黃色","options":["黃色"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-1885,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608370","featured_media":{"alt":null,"id":21823083151459,"position":2,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118509.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40133660115043,"title":"紅色","option1":"紅色","option2":null,"option3":null,"sku":"MPB0118514","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107662947,"product_id":6805136703587,"position":3,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118514.png?v=1660041252","variant_ids":[40133660115043]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 紅色","public_title":"紅色","options":["紅色"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-8754,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608387","featured_media":{"alt":null,"id":21823083184227,"position":3,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118514.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40133660147811,"title":"黑色","option1":"黑色","option2":null,"option3":null,"sku":"MPB0118524","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107695715,"product_id":6805136703587,"position":4,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118524.png?v=1660041252","variant_ids":[40133660147811]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 黑色","public_title":"黑色","options":["黑色"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-34977,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608400","featured_media":{"alt":null,"id":21823083216995,"position":4,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118524.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40133660180579,"title":"櫻花粉","option1":"櫻花粉","option2":null,"option3":null,"sku":"MPB0118557","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107728483,"product_id":6805136703587,"position":5,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118557.png?v=1660041252","variant_ids":[40133660180579]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 櫻花粉","public_title":"櫻花粉","options":["櫻花粉"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-12633,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608417","featured_media":{"alt":null,"id":21823083249763,"position":5,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118557.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40133660213347,"title":"泥灰","option1":"泥灰","option2":null,"option3":null,"sku":"MPB0118569","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107761251,"product_id":6805136703587,"position":6,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118569.png?v=1660041252","variant_ids":[40133660213347]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 泥灰","public_title":"泥灰","options":["泥灰"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-10785,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608424","featured_media":{"alt":null,"id":21823083282531,"position":6,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118569.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40133660246115,"title":"軍綠","option1":"軍綠","option2":null,"option3":null,"sku":"MPB0118515","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107794019,"product_id":6805136703587,"position":7,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118515.png?v=1660041252","variant_ids":[40133660246115]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 軍綠","public_title":"軍綠","options":["軍綠"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-8684,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608394","featured_media":{"alt":null,"id":21823083315299,"position":7,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118515.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40133660278883,"title":"淺灰","option1":"淺灰","option2":null,"option3":null,"sku":"MPB01185C0","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107826787,"product_id":6805136703587,"position":8,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185C0.png?v=1660041252","variant_ids":[40133660278883]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 淺灰","public_title":"淺灰","options":["淺灰"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-14060,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608431","featured_media":{"alt":null,"id":21823083348067,"position":8,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185C0.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40133660311651,"title":"薰衣紫","option1":"薰衣紫","option2":null,"option3":null,"sku":"MPB01185C1","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107859555,"product_id":6805136703587,"position":9,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185C1.png?v=1660041252","variant_ids":[40133660311651]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 薰衣紫","public_title":"薰衣紫","options":["薰衣紫"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-18370,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608448","featured_media":{"alt":null,"id":21823083380835,"position":9,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185C1.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40133660344419,"title":"海軍藍","option1":"海軍藍","option2":null,"option3":null,"sku":"MPB01185J5","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107892323,"product_id":6805136703587,"position":10,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185J5.png?v=1660041252","variant_ids":[40133660344419]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 海軍藍","public_title":"海軍藍","options":["海軍藍"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-21391,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608462","featured_media":{"alt":null,"id":21823083413603,"position":10,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185J5.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40133660377187,"title":"薄荷綠","option1":"薄荷綠","option2":null,"option3":null,"sku":"MPB01185C5","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107925091,"product_id":6805136703587,"position":11,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185C5.png?v=1660041252","variant_ids":[40133660377187]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 薄荷綠","public_title":"薄荷綠","options":["薄荷綠"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-6587,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608455","featured_media":{"alt":null,"id":21823083446371,"position":11,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB01185C5.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":40133660049507,"title":"白色","option1":"白色","option2":null,"option3":null,"sku":"MPB0118504","requires_shipping":true,"taxable":true,"featured_image":{"id":29477107597411,"product_id":6805136703587,"position":1,"created_at":"2022-08-09T18:34:12+08:00","updated_at":"2022-08-09T18:34:12+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118504.png?v=1660041252","variant_ids":[40133660049507]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)防摔手機殼 - iPhone 12 \/ iPhone 12 Pro - 白色","public_title":"白色","options":["白色"],"price":130000,"weight":100,"compare_at_price":null,"inventory_quantity":-11304,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203608363","featured_media":{"alt":null,"id":21823083118691,"position":1,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/minisite-MPB0118504.png?v=1660041252"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; var sellingStatus; $device_handle = null if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages([productImg, bumperColors[currentVariant]],{ crossOrigin: 'anonymous' }) .then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages([bumperColors[currentVariant], productImg],{ crossOrigin: 'anonymous' }) .then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } }); }; var storedData = sessionStorage.getItem('sellingStatusData'); try { sellingStatusData = JSON.parse(storedData) } catch (error) { console.error('JSON.parse Error', error) sellingStatusData = null } $(document).ready(function() { handleSellingStatus($defaultVariant.sku, sellingStatusData); }); function handleSellingStatus(currentSku, sellingStatusData) { const sellingStatusElement = document.getElementById('selling-status') const addToCartButton = document.getElementById('AddToCart-product-template') const currentProductSku = currentSku.replace(/-(.*)$/, '-') if ($variants) { const matchSellingStatusProduct = sellingStatusData.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, sellingStatusData) }); });
// 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: "停產" }