$product = {"id":7369089876067,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險","handle":"iphone-14-pro-mod-nx-magsafe-printable-sz05","description":null,"published_at":"2024-06-11T17:31:01+08:00","created_at":"2024-04-23T14:43:09+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區華納兄弟百年慶典 Warner Bros 100th Anniversary","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-warnerbros100","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-warnerbros100","Top50","type-Mod NX Printable MagSafe Printable"],"price":150000,"price_min":150000,"price_max":150000,"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":41792764870755,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386654900323,"product_id":7369089876067,"position":6,"created_at":"2024-04-23T14:43:21+08:00","updated_at":"2024-04-23T14:43:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e4e242149bfe84c2033dc52780b83c463641dfd_bc4fe942-6bb4-45ca-8181-6a7d6196d80b.webp?v=1713854601","variant_ids":[41792764870755]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":150000,"weight":1500,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-SZ05","featured_media":{"alt":null,"id":23788888588387,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e4e242149bfe84c2033dc52780b83c463641dfd_bc4fe942-6bb4-45ca-8181-6a7d6196d80b.webp?v=1713854601"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41792764903523,"title":"Mod NX-泥灰邊框","option1":"Mod NX-泥灰邊框","option2":null,"option3":null,"sku":"MPB0126269-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386656276579,"product_id":7369089876067,"position":9,"created_at":"2024-04-23T14:43:27+08:00","updated_at":"2024-04-23T14:43:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/112cd7de283a912b7a52b1bcf1edcf9600c83cd1_eb04711f-9088-4b5f-9c59-7478e271ca47.webp?v=1713854607","variant_ids":[41792764903523]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-泥灰邊框","public_title":"Mod NX-泥灰邊框","options":["Mod NX-泥灰邊框"],"price":150000,"weight":1500,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126269-SZ05","featured_media":{"alt":null,"id":23788889931875,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/112cd7de283a912b7a52b1bcf1edcf9600c83cd1_eb04711f-9088-4b5f-9c59-7478e271ca47.webp?v=1713854607"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41792764936291,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386655490147,"product_id":7369089876067,"position":7,"created_at":"2024-04-23T14:43:23+08:00","updated_at":"2024-04-23T14:43:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f1f2f47c171eafdaf6596a416bca19f9ea20d91_b5a5c5e4-2660-468d-944c-dad40a1cda16.webp?v=1713854603","variant_ids":[41792764936291]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":150000,"weight":1500,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-SZ05","featured_media":{"alt":null,"id":23788889145443,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f1f2f47c171eafdaf6596a416bca19f9ea20d91_b5a5c5e4-2660-468d-944c-dad40a1cda16.webp?v=1713854603"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41792764969059,"title":"Mod NX-紅色邊框","option1":"Mod NX-紅色邊框","option2":null,"option3":null,"sku":"MPB0126214-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386652934243,"product_id":7369089876067,"position":3,"created_at":"2024-04-23T14:43:15+08:00","updated_at":"2024-04-23T14:43:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c1c6256182703824ae1e84b0cbc0ddc3ac72a4d_85c83d39-bd67-44b6-a71f-c2630b47c26d.webp?v=1713854595","variant_ids":[41792764969059]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-紅色邊框","public_title":"Mod NX-紅色邊框","options":["Mod NX-紅色邊框"],"price":150000,"weight":1500,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126214-SZ05","featured_media":{"alt":null,"id":23788886622307,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c1c6256182703824ae1e84b0cbc0ddc3ac72a4d_85c83d39-bd67-44b6-a71f-c2630b47c26d.webp?v=1713854595"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41792765001827,"title":"Mod NX-櫻花粉邊框","option1":"Mod NX-櫻花粉邊框","option2":null,"option3":null,"sku":"MPB0126257-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386653425763,"product_id":7369089876067,"position":4,"created_at":"2024-04-23T14:43:17+08:00","updated_at":"2024-04-23T14:43:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68842e692f22a154468a69a939e33e6c2e5e7196_c9f659e5-4691-4b35-aad3-3f70109f955f.webp?v=1713854597","variant_ids":[41792765001827]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-櫻花粉邊框","public_title":"Mod NX-櫻花粉邊框","options":["Mod NX-櫻花粉邊框"],"price":150000,"weight":1500,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126257-SZ05","featured_media":{"alt":null,"id":23788887048291,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68842e692f22a154468a69a939e33e6c2e5e7196_c9f659e5-4691-4b35-aad3-3f70109f955f.webp?v=1713854597"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41792765034595,"title":"Mod NX-黃色邊框","option1":"Mod NX-黃色邊框","option2":null,"option3":null,"sku":"MPB0126209-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386655981667,"product_id":7369089876067,"position":8,"created_at":"2024-04-23T14:43:25+08:00","updated_at":"2024-04-23T14:43:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5db11ba7bc0654b18fb21eba406a4066296f5c2_9db01b1b-ffc5-41eb-880e-5b4e024683b2.webp?v=1713854605","variant_ids":[41792765034595]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-黃色邊框","public_title":"Mod NX-黃色邊框","options":["Mod NX-黃色邊框"],"price":150000,"weight":1500,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126209-SZ05","featured_media":{"alt":null,"id":23788889636963,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5db11ba7bc0654b18fb21eba406a4066296f5c2_9db01b1b-ffc5-41eb-880e-5b4e024683b2.webp?v=1713854605"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41792765067363,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"MPB0126215-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386653851747,"product_id":7369089876067,"position":5,"created_at":"2024-04-23T14:43:19+08:00","updated_at":"2024-04-23T14:43:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f56b5af4aca262447dee56d7021df5911080a093_07e1b37c-cd9b-4942-a398-6d589eb8bc35.webp?v=1713854599","variant_ids":[41792765067363]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-軍綠邊框","public_title":"Mod NX-軍綠邊框","options":["Mod NX-軍綠邊框"],"price":150000,"weight":1500,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126215-SZ05","featured_media":{"alt":null,"id":23788887474275,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f56b5af4aca262447dee56d7021df5911080a093_07e1b37c-cd9b-4942-a398-6d589eb8bc35.webp?v=1713854599"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41792765100131,"title":"Mod NX-淺灰邊框","option1":"Mod NX-淺灰邊框","option2":null,"option3":null,"sku":"MPB01262C0-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386657063011,"product_id":7369089876067,"position":10,"created_at":"2024-04-23T14:43:30+08:00","updated_at":"2024-04-23T14:43:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d761b4b1e4b0ce5791a00591843c8a51d5550dec_c04f5441-26f9-4cff-afd4-0807f2d2e388.webp?v=1713854610","variant_ids":[41792765100131]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-淺灰邊框","public_title":"Mod NX-淺灰邊框","options":["Mod NX-淺灰邊框"],"price":150000,"weight":1500,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262C0-SZ05","featured_media":{"alt":null,"id":23788890816611,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d761b4b1e4b0ce5791a00591843c8a51d5550dec_c04f5441-26f9-4cff-afd4-0807f2d2e388.webp?v=1713854610"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41792765132899,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"MPB01262C1-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386652115043,"product_id":7369089876067,"position":1,"created_at":"2024-04-23T14:43:11+08:00","updated_at":"2024-04-23T14:43:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a249ba88a6ac5eb000175361e85bc7aaa0434cff_856b1750-17b1-4980-88ca-8b91e7556544.webp?v=1713854591","variant_ids":[41792765132899]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-薰衣紫邊框","public_title":"Mod NX-薰衣紫邊框","options":["Mod NX-薰衣紫邊框"],"price":150000,"weight":1500,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262C1-SZ05","featured_media":{"alt":null,"id":23788885737571,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a249ba88a6ac5eb000175361e85bc7aaa0434cff_856b1750-17b1-4980-88ca-8b91e7556544.webp?v=1713854591"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41792765165667,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386652541027,"product_id":7369089876067,"position":2,"created_at":"2024-04-23T14:43:13+08:00","updated_at":"2024-04-23T14:43:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27d30308e51addc533a321d37c37bc707e20d909_fe55a614-794b-458e-8080-f5d1a54c8b2f.webp?v=1713854593","variant_ids":[41792765165667]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":150000,"weight":1500,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-SZ05","featured_media":{"alt":null,"id":23788886163555,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27d30308e51addc533a321d37c37bc707e20d909_fe55a614-794b-458e-8080-f5d1a54c8b2f.webp?v=1713854593"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a249ba88a6ac5eb000175361e85bc7aaa0434cff_856b1750-17b1-4980-88ca-8b91e7556544.webp?v=1713854591","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27d30308e51addc533a321d37c37bc707e20d909_fe55a614-794b-458e-8080-f5d1a54c8b2f.webp?v=1713854593","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c1c6256182703824ae1e84b0cbc0ddc3ac72a4d_85c83d39-bd67-44b6-a71f-c2630b47c26d.webp?v=1713854595","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68842e692f22a154468a69a939e33e6c2e5e7196_c9f659e5-4691-4b35-aad3-3f70109f955f.webp?v=1713854597","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f56b5af4aca262447dee56d7021df5911080a093_07e1b37c-cd9b-4942-a398-6d589eb8bc35.webp?v=1713854599","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e4e242149bfe84c2033dc52780b83c463641dfd_bc4fe942-6bb4-45ca-8181-6a7d6196d80b.webp?v=1713854601","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f1f2f47c171eafdaf6596a416bca19f9ea20d91_b5a5c5e4-2660-468d-944c-dad40a1cda16.webp?v=1713854603","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5db11ba7bc0654b18fb21eba406a4066296f5c2_9db01b1b-ffc5-41eb-880e-5b4e024683b2.webp?v=1713854605","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/112cd7de283a912b7a52b1bcf1edcf9600c83cd1_eb04711f-9088-4b5f-9c59-7478e271ca47.webp?v=1713854607","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d761b4b1e4b0ce5791a00591843c8a51d5550dec_c04f5441-26f9-4cff-afd4-0807f2d2e388.webp?v=1713854610"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a249ba88a6ac5eb000175361e85bc7aaa0434cff_856b1750-17b1-4980-88ca-8b91e7556544.webp?v=1713854591","options":["color"],"media":[{"alt":null,"id":23788885737571,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a249ba88a6ac5eb000175361e85bc7aaa0434cff_856b1750-17b1-4980-88ca-8b91e7556544.webp?v=1713854591"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a249ba88a6ac5eb000175361e85bc7aaa0434cff_856b1750-17b1-4980-88ca-8b91e7556544.webp?v=1713854591","width":2000},{"alt":null,"id":23788886163555,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27d30308e51addc533a321d37c37bc707e20d909_fe55a614-794b-458e-8080-f5d1a54c8b2f.webp?v=1713854593"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27d30308e51addc533a321d37c37bc707e20d909_fe55a614-794b-458e-8080-f5d1a54c8b2f.webp?v=1713854593","width":2000},{"alt":null,"id":23788886622307,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c1c6256182703824ae1e84b0cbc0ddc3ac72a4d_85c83d39-bd67-44b6-a71f-c2630b47c26d.webp?v=1713854595"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c1c6256182703824ae1e84b0cbc0ddc3ac72a4d_85c83d39-bd67-44b6-a71f-c2630b47c26d.webp?v=1713854595","width":2000},{"alt":null,"id":23788887048291,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68842e692f22a154468a69a939e33e6c2e5e7196_c9f659e5-4691-4b35-aad3-3f70109f955f.webp?v=1713854597"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68842e692f22a154468a69a939e33e6c2e5e7196_c9f659e5-4691-4b35-aad3-3f70109f955f.webp?v=1713854597","width":2000},{"alt":null,"id":23788887474275,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f56b5af4aca262447dee56d7021df5911080a093_07e1b37c-cd9b-4942-a398-6d589eb8bc35.webp?v=1713854599"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f56b5af4aca262447dee56d7021df5911080a093_07e1b37c-cd9b-4942-a398-6d589eb8bc35.webp?v=1713854599","width":2000},{"alt":null,"id":23788888588387,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e4e242149bfe84c2033dc52780b83c463641dfd_bc4fe942-6bb4-45ca-8181-6a7d6196d80b.webp?v=1713854601"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e4e242149bfe84c2033dc52780b83c463641dfd_bc4fe942-6bb4-45ca-8181-6a7d6196d80b.webp?v=1713854601","width":2000},{"alt":null,"id":23788889145443,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f1f2f47c171eafdaf6596a416bca19f9ea20d91_b5a5c5e4-2660-468d-944c-dad40a1cda16.webp?v=1713854603"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f1f2f47c171eafdaf6596a416bca19f9ea20d91_b5a5c5e4-2660-468d-944c-dad40a1cda16.webp?v=1713854603","width":2000},{"alt":null,"id":23788889636963,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5db11ba7bc0654b18fb21eba406a4066296f5c2_9db01b1b-ffc5-41eb-880e-5b4e024683b2.webp?v=1713854605"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5db11ba7bc0654b18fb21eba406a4066296f5c2_9db01b1b-ffc5-41eb-880e-5b4e024683b2.webp?v=1713854605","width":2000},{"alt":null,"id":23788889931875,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/112cd7de283a912b7a52b1bcf1edcf9600c83cd1_eb04711f-9088-4b5f-9c59-7478e271ca47.webp?v=1713854607"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/112cd7de283a912b7a52b1bcf1edcf9600c83cd1_eb04711f-9088-4b5f-9c59-7478e271ca47.webp?v=1713854607","width":2000},{"alt":null,"id":23788890816611,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d761b4b1e4b0ce5791a00591843c8a51d5550dec_c04f5441-26f9-4cff-afd4-0807f2d2e388.webp?v=1713854610"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d761b4b1e4b0ce5791a00591843c8a51d5550dec_c04f5441-26f9-4cff-afd4-0807f2d2e388.webp?v=1713854610","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":41792764870755,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386654900323,"product_id":7369089876067,"position":6,"created_at":"2024-04-23T14:43:21+08:00","updated_at":"2024-04-23T14:43:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e4e242149bfe84c2033dc52780b83c463641dfd_bc4fe942-6bb4-45ca-8181-6a7d6196d80b.webp?v=1713854601","variant_ids":[41792764870755]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":150000,"weight":1500,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-SZ05","featured_media":{"alt":null,"id":23788888588387,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e4e242149bfe84c2033dc52780b83c463641dfd_bc4fe942-6bb4-45ca-8181-6a7d6196d80b.webp?v=1713854601"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41792764903523,"title":"Mod NX-泥灰邊框","option1":"Mod NX-泥灰邊框","option2":null,"option3":null,"sku":"MPB0126269-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386656276579,"product_id":7369089876067,"position":9,"created_at":"2024-04-23T14:43:27+08:00","updated_at":"2024-04-23T14:43:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/112cd7de283a912b7a52b1bcf1edcf9600c83cd1_eb04711f-9088-4b5f-9c59-7478e271ca47.webp?v=1713854607","variant_ids":[41792764903523]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-泥灰邊框","public_title":"Mod NX-泥灰邊框","options":["Mod NX-泥灰邊框"],"price":150000,"weight":1500,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126269-SZ05","featured_media":{"alt":null,"id":23788889931875,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/112cd7de283a912b7a52b1bcf1edcf9600c83cd1_eb04711f-9088-4b5f-9c59-7478e271ca47.webp?v=1713854607"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41792764936291,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386655490147,"product_id":7369089876067,"position":7,"created_at":"2024-04-23T14:43:23+08:00","updated_at":"2024-04-23T14:43:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f1f2f47c171eafdaf6596a416bca19f9ea20d91_b5a5c5e4-2660-468d-944c-dad40a1cda16.webp?v=1713854603","variant_ids":[41792764936291]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":150000,"weight":1500,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-SZ05","featured_media":{"alt":null,"id":23788889145443,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f1f2f47c171eafdaf6596a416bca19f9ea20d91_b5a5c5e4-2660-468d-944c-dad40a1cda16.webp?v=1713854603"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41792764969059,"title":"Mod NX-紅色邊框","option1":"Mod NX-紅色邊框","option2":null,"option3":null,"sku":"MPB0126214-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386652934243,"product_id":7369089876067,"position":3,"created_at":"2024-04-23T14:43:15+08:00","updated_at":"2024-04-23T14:43:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c1c6256182703824ae1e84b0cbc0ddc3ac72a4d_85c83d39-bd67-44b6-a71f-c2630b47c26d.webp?v=1713854595","variant_ids":[41792764969059]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-紅色邊框","public_title":"Mod NX-紅色邊框","options":["Mod NX-紅色邊框"],"price":150000,"weight":1500,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126214-SZ05","featured_media":{"alt":null,"id":23788886622307,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c1c6256182703824ae1e84b0cbc0ddc3ac72a4d_85c83d39-bd67-44b6-a71f-c2630b47c26d.webp?v=1713854595"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41792765001827,"title":"Mod NX-櫻花粉邊框","option1":"Mod NX-櫻花粉邊框","option2":null,"option3":null,"sku":"MPB0126257-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386653425763,"product_id":7369089876067,"position":4,"created_at":"2024-04-23T14:43:17+08:00","updated_at":"2024-04-23T14:43:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68842e692f22a154468a69a939e33e6c2e5e7196_c9f659e5-4691-4b35-aad3-3f70109f955f.webp?v=1713854597","variant_ids":[41792765001827]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-櫻花粉邊框","public_title":"Mod NX-櫻花粉邊框","options":["Mod NX-櫻花粉邊框"],"price":150000,"weight":1500,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126257-SZ05","featured_media":{"alt":null,"id":23788887048291,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68842e692f22a154468a69a939e33e6c2e5e7196_c9f659e5-4691-4b35-aad3-3f70109f955f.webp?v=1713854597"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41792765034595,"title":"Mod NX-黃色邊框","option1":"Mod NX-黃色邊框","option2":null,"option3":null,"sku":"MPB0126209-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386655981667,"product_id":7369089876067,"position":8,"created_at":"2024-04-23T14:43:25+08:00","updated_at":"2024-04-23T14:43:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5db11ba7bc0654b18fb21eba406a4066296f5c2_9db01b1b-ffc5-41eb-880e-5b4e024683b2.webp?v=1713854605","variant_ids":[41792765034595]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-黃色邊框","public_title":"Mod NX-黃色邊框","options":["Mod NX-黃色邊框"],"price":150000,"weight":1500,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126209-SZ05","featured_media":{"alt":null,"id":23788889636963,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5db11ba7bc0654b18fb21eba406a4066296f5c2_9db01b1b-ffc5-41eb-880e-5b4e024683b2.webp?v=1713854605"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41792765067363,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"MPB0126215-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386653851747,"product_id":7369089876067,"position":5,"created_at":"2024-04-23T14:43:19+08:00","updated_at":"2024-04-23T14:43:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f56b5af4aca262447dee56d7021df5911080a093_07e1b37c-cd9b-4942-a398-6d589eb8bc35.webp?v=1713854599","variant_ids":[41792765067363]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-軍綠邊框","public_title":"Mod NX-軍綠邊框","options":["Mod NX-軍綠邊框"],"price":150000,"weight":1500,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126215-SZ05","featured_media":{"alt":null,"id":23788887474275,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f56b5af4aca262447dee56d7021df5911080a093_07e1b37c-cd9b-4942-a398-6d589eb8bc35.webp?v=1713854599"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41792765100131,"title":"Mod NX-淺灰邊框","option1":"Mod NX-淺灰邊框","option2":null,"option3":null,"sku":"MPB01262C0-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386657063011,"product_id":7369089876067,"position":10,"created_at":"2024-04-23T14:43:30+08:00","updated_at":"2024-04-23T14:43:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d761b4b1e4b0ce5791a00591843c8a51d5550dec_c04f5441-26f9-4cff-afd4-0807f2d2e388.webp?v=1713854610","variant_ids":[41792765100131]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-淺灰邊框","public_title":"Mod NX-淺灰邊框","options":["Mod NX-淺灰邊框"],"price":150000,"weight":1500,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262C0-SZ05","featured_media":{"alt":null,"id":23788890816611,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d761b4b1e4b0ce5791a00591843c8a51d5550dec_c04f5441-26f9-4cff-afd4-0807f2d2e388.webp?v=1713854610"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41792765132899,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"MPB01262C1-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386652115043,"product_id":7369089876067,"position":1,"created_at":"2024-04-23T14:43:11+08:00","updated_at":"2024-04-23T14:43:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a249ba88a6ac5eb000175361e85bc7aaa0434cff_856b1750-17b1-4980-88ca-8b91e7556544.webp?v=1713854591","variant_ids":[41792765132899]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-薰衣紫邊框","public_title":"Mod NX-薰衣紫邊框","options":["Mod NX-薰衣紫邊框"],"price":150000,"weight":1500,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262C1-SZ05","featured_media":{"alt":null,"id":23788885737571,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a249ba88a6ac5eb000175361e85bc7aaa0434cff_856b1750-17b1-4980-88ca-8b91e7556544.webp?v=1713854591"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41792765165667,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386652541027,"product_id":7369089876067,"position":2,"created_at":"2024-04-23T14:43:13+08:00","updated_at":"2024-04-23T14:43:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27d30308e51addc533a321d37c37bc707e20d909_fe55a614-794b-458e-8080-f5d1a54c8b2f.webp?v=1713854593","variant_ids":[41792765165667]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":150000,"weight":1500,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-SZ05","featured_media":{"alt":null,"id":23788886163555,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27d30308e51addc533a321d37c37bc707e20d909_fe55a614-794b-458e-8080-f5d1a54c8b2f.webp?v=1713854593"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41792764870755,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386654900323,"product_id":7369089876067,"position":6,"created_at":"2024-04-23T14:43:21+08:00","updated_at":"2024-04-23T14:43:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e4e242149bfe84c2033dc52780b83c463641dfd_bc4fe942-6bb4-45ca-8181-6a7d6196d80b.webp?v=1713854601","variant_ids":[41792764870755]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":150000,"weight":1500,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-SZ05","featured_media":{"alt":null,"id":23788888588387,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e4e242149bfe84c2033dc52780b83c463641dfd_bc4fe942-6bb4-45ca-8181-6a7d6196d80b.webp?v=1713854601"}},"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: "停產"
}