$product = {"id":3996593193059,"title":"犀牛盾Mod NX防摔手機殼 - iPhone 11 Pro Max (6.5)","handle":"iphone-11-pro-max-mod-nx","description":"\u003cp\u003e\u003cspan style=\"color: #0000ff;\"\u003e\u003cstrong\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003cspan style=\"color: #0000ff;\"\u003e\u003cstrong\u003eQ:Mod NX商品是否相容滿版保護貼和背面保護貼?\u003c\/strong\u003e\u003cbr\u003eA:\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"color: #0000ff;\"\u003e1. Mod NX適用一般市售螢幕滿版保護貼,但是因為市售螢幕玻璃保護貼廠牌較多,每一片保護貼設計螢幕的覆蓋範圍較無法一一測試,所以需以實際安裝結果為主。\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"color: #0000ff;\"\u003e2.犀牛盾耐衝擊背貼:Mod NX 無論邊框模組或是背蓋模組“皆可以相容”它牌滿版玻璃背貼:因為Mod NX保護殼設計較包覆,背面玻璃保護貼將“無法相容”\u003c\/span\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":"2019-08-27T09:44:19+08:00","created_at":"2019-08-26T15:05:03+08:00","vendor":"犀牛盾有限公司","type":"ModNX","tags":["20%","25%","30%","35%","40%","45%","45degree","50%","brand-Apple","bumper-clearplate","device-iphone 11 Pro Max","discountable-item","dropdownDevice-Apple iPhone 11 Pro Max","featured-product","member","quickbuy","reseller","reseller-asus","reseller-modnx","Top50"],"price":80000,"price_min":80000,"price_max":80000,"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":30926878965859,"title":"白色","option1":"白色","option2":null,"option3":null,"sku":"NPB0114904","requires_shipping":true,"taxable":true,"featured_image":{"id":12484671012963,"product_id":3996593193059,"position":8,"created_at":"2019-09-16T18:26:40+08:00","updated_at":"2021-06-21T15:32:28+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Lavender-Bumper-Lavender-Button.png?v=1624260748","variant_ids":[30926878965859,30926879031395,30926879064163,30926879096931]},"available":true,"name":"犀牛盾Mod NX防摔手機殼 - iPhone 11 Pro Max (6.5) - 白色","public_title":"白色","options":["白色"],"price":80000,"weight":100,"compare_at_price":null,"inventory_quantity":-2296,"inventory_management":null,"inventory_policy":"deny","barcode":"4710562405491","featured_media":{"alt":null,"id":1013547107,"position":8,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Lavender-Bumper-Lavender-Button.png?v=1624260748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":30926879031395,"title":"黃色","option1":"黃色","option2":null,"option3":null,"sku":"NPB0114909","requires_shipping":true,"taxable":true,"featured_image":{"id":12484671012963,"product_id":3996593193059,"position":8,"created_at":"2019-09-16T18:26:40+08:00","updated_at":"2021-06-21T15:32:28+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Lavender-Bumper-Lavender-Button.png?v=1624260748","variant_ids":[30926878965859,30926879031395,30926879064163,30926879096931]},"available":true,"name":"犀牛盾Mod NX防摔手機殼 - iPhone 11 Pro Max (6.5) - 黃色","public_title":"黃色","options":["黃色"],"price":80000,"weight":100,"compare_at_price":null,"inventory_quantity":-949,"inventory_management":null,"inventory_policy":"deny","barcode":"4710562405545","featured_media":{"alt":null,"id":1013547107,"position":8,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Lavender-Bumper-Lavender-Button.png?v=1624260748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":30926879064163,"title":"紅色","option1":"紅色","option2":null,"option3":null,"sku":"NPB0114914","requires_shipping":true,"taxable":true,"featured_image":{"id":12484671012963,"product_id":3996593193059,"position":8,"created_at":"2019-09-16T18:26:40+08:00","updated_at":"2021-06-21T15:32:28+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Lavender-Bumper-Lavender-Button.png?v=1624260748","variant_ids":[30926878965859,30926879031395,30926879064163,30926879096931]},"available":true,"name":"犀牛盾Mod NX防摔手機殼 - iPhone 11 Pro Max (6.5) - 紅色","public_title":"紅色","options":["紅色"],"price":80000,"weight":100,"compare_at_price":null,"inventory_quantity":-1511,"inventory_management":null,"inventory_policy":"deny","barcode":"4710562405590","featured_media":{"alt":null,"id":1013547107,"position":8,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Lavender-Bumper-Lavender-Button.png?v=1624260748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":30926879096931,"title":"黑色","option1":"黑色","option2":null,"option3":null,"sku":"NPB0114924","requires_shipping":true,"taxable":true,"featured_image":{"id":12484671012963,"product_id":3996593193059,"position":8,"created_at":"2019-09-16T18:26:40+08:00","updated_at":"2021-06-21T15:32:28+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Lavender-Bumper-Lavender-Button.png?v=1624260748","variant_ids":[30926878965859,30926879031395,30926879064163,30926879096931]},"available":true,"name":"犀牛盾Mod NX防摔手機殼 - iPhone 11 Pro Max (6.5) - 黑色","public_title":"黑色","options":["黑色"],"price":80000,"weight":100,"compare_at_price":null,"inventory_quantity":-9094,"inventory_management":null,"inventory_policy":"deny","barcode":"4710562405644","featured_media":{"alt":null,"id":1013547107,"position":8,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Lavender-Bumper-Lavender-Button.png?v=1624260748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":30926879162467,"title":"泥灰","option1":"泥灰","option2":null,"option3":null,"sku":"NPB0114969","requires_shipping":true,"taxable":true,"featured_image":{"id":29856236077155,"product_id":3996593193059,"position":11,"created_at":"2023-02-07T15:27:01+08:00","updated_at":"2023-02-07T15:27:01+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Graphite-Bumper-Graphite-Button_95a133b8-6b9e-4d8c-8a8b-cb3bc51555d6.png?v=1675754821","variant_ids":[30926879162467]},"available":true,"name":"犀牛盾Mod NX防摔手機殼 - iPhone 11 Pro Max (6.5) - 泥灰","public_title":"泥灰","options":["泥灰"],"price":80000,"weight":100,"compare_at_price":null,"inventory_quantity":-2906,"inventory_management":null,"inventory_policy":"deny","barcode":"4710562405743","featured_media":{"alt":null,"id":22209580269667,"position":11,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Graphite-Bumper-Graphite-Button_95a133b8-6b9e-4d8c-8a8b-cb3bc51555d6.png?v=1675754821"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":30926879359075,"title":"淺灰","option1":"淺灰","option2":null,"option3":null,"sku":"NPB01149C0","requires_shipping":true,"taxable":true,"featured_image":{"id":12484670816355,"product_id":3996593193059,"position":7,"created_at":"2019-09-16T18:26:37+08:00","updated_at":"2021-06-21T15:32:28+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Platinum_Gray-Bumper-Platinum_Gray-Button.png?v=1624260748","variant_ids":[30926879359075]},"available":true,"name":"犀牛盾Mod NX防摔手機殼 - iPhone 11 Pro Max (6.5) - 淺灰","public_title":"淺灰","options":["淺灰"],"price":80000,"weight":100,"compare_at_price":null,"inventory_quantity":-1650,"inventory_management":null,"inventory_policy":"deny","barcode":"4710562405897","featured_media":{"alt":null,"id":1013514339,"position":7,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Platinum_Gray-Bumper-Platinum_Gray-Button.png?v=1624260748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":39531091427427,"title":"海軍藍","option1":"海軍藍","option2":null,"option3":null,"sku":"NPB01149J5","requires_shipping":true,"taxable":true,"featured_image":{"id":29899863195747,"product_id":3996593193059,"position":12,"created_at":"2023-03-09T11:32:45+08:00","updated_at":"2023-03-09T11:32:45+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/NPB01149J5T-Bumper_58d7cb64-1755-44ee-a8ab-5a6f17d16e87.png?v=1678332765","variant_ids":[39531091427427]},"available":true,"name":"犀牛盾Mod NX防摔手機殼 - iPhone 11 Pro Max (6.5) - 海軍藍","public_title":"海軍藍","options":["海軍藍"],"price":80000,"weight":100,"compare_at_price":null,"inventory_quantity":-493,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203591795","featured_media":{"alt":null,"id":22253834731619,"position":12,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/NPB01149J5T-Bumper_58d7cb64-1755-44ee-a8ab-5a6f17d16e87.png?v=1678332765"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Camo_Green-Bumper-Camo_Green-Button.png?v=1571275699","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-White-Bumper-White-Button.png?v=1571275699","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Yellow-Bumper-Yellow-Button.png?v=1571275699","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Red-Bumper-Red-Button.png?v=1571275699","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Black-Bumper-Black-Button.png?v=1571275699","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Blush_Pink-Bumper-Blush_Pink-Button.png?v=1571275699","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Platinum_Gray-Bumper-Platinum_Gray-Button.png?v=1624260748","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Lavender-Bumper-Lavender-Button.png?v=1624260748","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/11_Pro_Max_Space_Gray-NPB0114977T-Bumper-No_Print_Backplate.png?v=1624260748","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/NPB01149K8-b2b.png?v=1629715813","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Graphite-Bumper-Graphite-Button_95a133b8-6b9e-4d8c-8a8b-cb3bc51555d6.png?v=1675754821","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/NPB01149J5T-Bumper_58d7cb64-1755-44ee-a8ab-5a6f17d16e87.png?v=1678332765"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Camo_Green-Bumper-Camo_Green-Button.png?v=1571275699","options":["Color"],"media":[{"alt":null,"id":1013481571,"position":1,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Camo_Green-Bumper-Camo_Green-Button.png?v=1571275699"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Camo_Green-Bumper-Camo_Green-Button.png?v=1571275699","width":1999},{"alt":null,"id":1013252195,"position":2,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-White-Bumper-White-Button.png?v=1571275699"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-White-Bumper-White-Button.png?v=1571275699","width":1999},{"alt":null,"id":1013284963,"position":3,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Yellow-Bumper-Yellow-Button.png?v=1571275699"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Yellow-Bumper-Yellow-Button.png?v=1571275699","width":1999},{"alt":null,"id":1013317731,"position":4,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Red-Bumper-Red-Button.png?v=1571275699"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Red-Bumper-Red-Button.png?v=1571275699","width":1999},{"alt":null,"id":1013350499,"position":5,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Black-Bumper-Black-Button.png?v=1571275699"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Black-Bumper-Black-Button.png?v=1571275699","width":1999},{"alt":null,"id":1013383267,"position":6,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Blush_Pink-Bumper-Blush_Pink-Button.png?v=1571275699"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Blush_Pink-Bumper-Blush_Pink-Button.png?v=1571275699","width":1999},{"alt":null,"id":1013514339,"position":7,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Platinum_Gray-Bumper-Platinum_Gray-Button.png?v=1624260748"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Platinum_Gray-Bumper-Platinum_Gray-Button.png?v=1624260748","width":1999},{"alt":null,"id":1013547107,"position":8,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Lavender-Bumper-Lavender-Button.png?v=1624260748"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Lavender-Bumper-Lavender-Button.png?v=1624260748","width":1999},{"alt":null,"id":7388212985955,"position":9,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/11_Pro_Max_Space_Gray-NPB0114977T-Bumper-No_Print_Backplate.png?v=1624260748"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/11_Pro_Max_Space_Gray-NPB0114977T-Bumper-No_Print_Backplate.png?v=1624260748","width":1999},{"alt":null,"id":20793613844579,"position":10,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/NPB01149K8-b2b.png?v=1629715813"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/NPB01149K8-b2b.png?v=1629715813","width":1999},{"alt":null,"id":22209580269667,"position":11,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Graphite-Bumper-Graphite-Button_95a133b8-6b9e-4d8c-8a8b-cb3bc51555d6.png?v=1675754821"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Graphite-Bumper-Graphite-Button_95a133b8-6b9e-4d8c-8a8b-cb3bc51555d6.png?v=1675754821","width":1999},{"alt":null,"id":22253834731619,"position":12,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/NPB01149J5T-Bumper_58d7cb64-1755-44ee-a8ab-5a6f17d16e87.png?v=1678332765"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/NPB01149J5T-Bumper_58d7cb64-1755-44ee-a8ab-5a6f17d16e87.png?v=1678332765","width":1999}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003e\u003cspan style=\"color: #0000ff;\"\u003e\u003cstrong\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003cspan style=\"color: #0000ff;\"\u003e\u003cstrong\u003eQ:Mod NX商品是否相容滿版保護貼和背面保護貼?\u003c\/strong\u003e\u003cbr\u003eA:\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"color: #0000ff;\"\u003e1. Mod NX適用一般市售螢幕滿版保護貼,但是因為市售螢幕玻璃保護貼廠牌較多,每一片保護貼設計螢幕的覆蓋範圍較無法一一測試,所以需以實際安裝結果為主。\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"color: #0000ff;\"\u003e2.犀牛盾耐衝擊背貼:Mod NX 無論邊框模組或是背蓋模組“皆可以相容”它牌滿版玻璃背貼:因為Mod NX保護殼設計較包覆,背面玻璃保護貼將“無法相容”\u003c\/span\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":30926878965859,"title":"白色","option1":"白色","option2":null,"option3":null,"sku":"NPB0114904","requires_shipping":true,"taxable":true,"featured_image":{"id":12484671012963,"product_id":3996593193059,"position":8,"created_at":"2019-09-16T18:26:40+08:00","updated_at":"2021-06-21T15:32:28+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Lavender-Bumper-Lavender-Button.png?v=1624260748","variant_ids":[30926878965859,30926879031395,30926879064163,30926879096931]},"available":true,"name":"犀牛盾Mod NX防摔手機殼 - iPhone 11 Pro Max (6.5) - 白色","public_title":"白色","options":["白色"],"price":80000,"weight":100,"compare_at_price":null,"inventory_quantity":-2296,"inventory_management":null,"inventory_policy":"deny","barcode":"4710562405491","featured_media":{"alt":null,"id":1013547107,"position":8,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Lavender-Bumper-Lavender-Button.png?v=1624260748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":30926879031395,"title":"黃色","option1":"黃色","option2":null,"option3":null,"sku":"NPB0114909","requires_shipping":true,"taxable":true,"featured_image":{"id":12484671012963,"product_id":3996593193059,"position":8,"created_at":"2019-09-16T18:26:40+08:00","updated_at":"2021-06-21T15:32:28+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Lavender-Bumper-Lavender-Button.png?v=1624260748","variant_ids":[30926878965859,30926879031395,30926879064163,30926879096931]},"available":true,"name":"犀牛盾Mod NX防摔手機殼 - iPhone 11 Pro Max (6.5) - 黃色","public_title":"黃色","options":["黃色"],"price":80000,"weight":100,"compare_at_price":null,"inventory_quantity":-949,"inventory_management":null,"inventory_policy":"deny","barcode":"4710562405545","featured_media":{"alt":null,"id":1013547107,"position":8,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Lavender-Bumper-Lavender-Button.png?v=1624260748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":30926879064163,"title":"紅色","option1":"紅色","option2":null,"option3":null,"sku":"NPB0114914","requires_shipping":true,"taxable":true,"featured_image":{"id":12484671012963,"product_id":3996593193059,"position":8,"created_at":"2019-09-16T18:26:40+08:00","updated_at":"2021-06-21T15:32:28+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Lavender-Bumper-Lavender-Button.png?v=1624260748","variant_ids":[30926878965859,30926879031395,30926879064163,30926879096931]},"available":true,"name":"犀牛盾Mod NX防摔手機殼 - iPhone 11 Pro Max (6.5) - 紅色","public_title":"紅色","options":["紅色"],"price":80000,"weight":100,"compare_at_price":null,"inventory_quantity":-1511,"inventory_management":null,"inventory_policy":"deny","barcode":"4710562405590","featured_media":{"alt":null,"id":1013547107,"position":8,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Lavender-Bumper-Lavender-Button.png?v=1624260748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":30926879096931,"title":"黑色","option1":"黑色","option2":null,"option3":null,"sku":"NPB0114924","requires_shipping":true,"taxable":true,"featured_image":{"id":12484671012963,"product_id":3996593193059,"position":8,"created_at":"2019-09-16T18:26:40+08:00","updated_at":"2021-06-21T15:32:28+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Lavender-Bumper-Lavender-Button.png?v=1624260748","variant_ids":[30926878965859,30926879031395,30926879064163,30926879096931]},"available":true,"name":"犀牛盾Mod NX防摔手機殼 - iPhone 11 Pro Max (6.5) - 黑色","public_title":"黑色","options":["黑色"],"price":80000,"weight":100,"compare_at_price":null,"inventory_quantity":-9094,"inventory_management":null,"inventory_policy":"deny","barcode":"4710562405644","featured_media":{"alt":null,"id":1013547107,"position":8,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Lavender-Bumper-Lavender-Button.png?v=1624260748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":30926879162467,"title":"泥灰","option1":"泥灰","option2":null,"option3":null,"sku":"NPB0114969","requires_shipping":true,"taxable":true,"featured_image":{"id":29856236077155,"product_id":3996593193059,"position":11,"created_at":"2023-02-07T15:27:01+08:00","updated_at":"2023-02-07T15:27:01+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Graphite-Bumper-Graphite-Button_95a133b8-6b9e-4d8c-8a8b-cb3bc51555d6.png?v=1675754821","variant_ids":[30926879162467]},"available":true,"name":"犀牛盾Mod NX防摔手機殼 - iPhone 11 Pro Max (6.5) - 泥灰","public_title":"泥灰","options":["泥灰"],"price":80000,"weight":100,"compare_at_price":null,"inventory_quantity":-2906,"inventory_management":null,"inventory_policy":"deny","barcode":"4710562405743","featured_media":{"alt":null,"id":22209580269667,"position":11,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Graphite-Bumper-Graphite-Button_95a133b8-6b9e-4d8c-8a8b-cb3bc51555d6.png?v=1675754821"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":30926879359075,"title":"淺灰","option1":"淺灰","option2":null,"option3":null,"sku":"NPB01149C0","requires_shipping":true,"taxable":true,"featured_image":{"id":12484670816355,"product_id":3996593193059,"position":7,"created_at":"2019-09-16T18:26:37+08:00","updated_at":"2021-06-21T15:32:28+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Platinum_Gray-Bumper-Platinum_Gray-Button.png?v=1624260748","variant_ids":[30926879359075]},"available":true,"name":"犀牛盾Mod NX防摔手機殼 - iPhone 11 Pro Max (6.5) - 淺灰","public_title":"淺灰","options":["淺灰"],"price":80000,"weight":100,"compare_at_price":null,"inventory_quantity":-1650,"inventory_management":null,"inventory_policy":"deny","barcode":"4710562405897","featured_media":{"alt":null,"id":1013514339,"position":7,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Platinum_Gray-Bumper-Platinum_Gray-Button.png?v=1624260748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":39531091427427,"title":"海軍藍","option1":"海軍藍","option2":null,"option3":null,"sku":"NPB01149J5","requires_shipping":true,"taxable":true,"featured_image":{"id":29899863195747,"product_id":3996593193059,"position":12,"created_at":"2023-03-09T11:32:45+08:00","updated_at":"2023-03-09T11:32:45+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/NPB01149J5T-Bumper_58d7cb64-1755-44ee-a8ab-5a6f17d16e87.png?v=1678332765","variant_ids":[39531091427427]},"available":true,"name":"犀牛盾Mod NX防摔手機殼 - iPhone 11 Pro Max (6.5) - 海軍藍","public_title":"海軍藍","options":["海軍藍"],"price":80000,"weight":100,"compare_at_price":null,"inventory_quantity":-493,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203591795","featured_media":{"alt":null,"id":22253834731619,"position":12,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/NPB01149J5T-Bumper_58d7cb64-1755-44ee-a8ab-5a6f17d16e87.png?v=1678332765"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":30926878965859,"title":"白色","option1":"白色","option2":null,"option3":null,"sku":"NPB0114904","requires_shipping":true,"taxable":true,"featured_image":{"id":12484671012963,"product_id":3996593193059,"position":8,"created_at":"2019-09-16T18:26:40+08:00","updated_at":"2021-06-21T15:32:28+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Lavender-Bumper-Lavender-Button.png?v=1624260748","variant_ids":[30926878965859,30926879031395,30926879064163,30926879096931]},"available":true,"name":"犀牛盾Mod NX防摔手機殼 - iPhone 11 Pro Max (6.5) - 白色","public_title":"白色","options":["白色"],"price":80000,"weight":100,"compare_at_price":null,"inventory_quantity":-2296,"inventory_management":null,"inventory_policy":"deny","barcode":"4710562405491","featured_media":{"alt":null,"id":1013547107,"position":8,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/iPhone_11_Pro_Max-SpaceGray-Lavender-Bumper-Lavender-Button.png?v=1624260748"}},"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: "停產"
}