$product = {"id":1424439509091,"title":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS","handle":"iphone-x-xs-crashguard-nx","description":"\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003e\u003cstrong\u003e\u003cspan style=\"color: #ff0000;\" data-mce-style=\"color: #ff0000;\"\u003e\u003cspan\u003e1、CrashGuard NX與ModNX的飾條、按鈕皆可共用。\u003c\/span\u003e\u003c\/span\u003e\u003c\/strong\u003e\u003cbr\u003e\u003cspan style=\"color: #ff0000;\" data-mce-style=\"color: #ff0000;\"\u003e\u003cstrong\u003e2、未附背板,\u003c\/strong\u003e\u003c\/span\u003e\u003cspan style=\"color: #ff0000;\" data-mce-style=\"color: #ff0000;\"\u003e\u003cstrong\u003e若需透明背板搭配,請選購ModNX系列。\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e","published_at":"2018-08-31T18:43:47+08:00","created_at":"2018-08-31T15:29:45+08:00","vendor":"Rhinoshieldtaiwan","type":"CrashGuard NX","tags":["20%","20240304-reseller-\u003ereplace_to-","25%","30%","35%","40%","45%","45degree","50%","brand-Apple","bundle-addition","crashguard","device-iphone X\/XS","discountable-item","dropdownDevice-Apple iPhone X","dropdownDevice-Apple iPhone XS","member","quickbuy","refresh-2023","reseller","reseller-asus","reseller-crashguard-nx","Top50"],"price":68000,"price_min":68000,"price_max":68000,"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":12566930063459,"title":"白色","option1":"白色","option2":null,"option3":null,"sku":"CGN0106404","requires_shipping":true,"taxable":true,"featured_image":{"id":3886192394339,"product_id":1424439509091,"position":1,"created_at":"2018-09-07T17:19:06+08:00","updated_at":"2021-06-21T15:26:06+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/624678074d7f6e638d414be92bc26c06.png?v=1624260366","variant_ids":[12566930063459]},"available":true,"name":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS - 白色","public_title":"白色","options":["白色"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-1001,"inventory_management":null,"inventory_policy":"continue","barcode":"4710227230161","featured_media":{"alt":null,"id":948228620387,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/624678074d7f6e638d414be92bc26c06.png?v=1624260366"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":12566930096227,"title":"黃","option1":"黃","option2":null,"option3":null,"sku":"CGN0106409","requires_shipping":true,"taxable":true,"featured_image":{"id":3886195507299,"product_id":1424439509091,"position":2,"created_at":"2018-09-07T17:19:47+08:00","updated_at":"2021-09-02T17:21:08+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/016e1a445f0b751bfbc94868c169e32b.png?v=1630574468","variant_ids":[12566930096227]},"available":true,"name":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS - 黃","public_title":"黃","options":["黃"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-351,"inventory_management":null,"inventory_policy":"continue","barcode":"4710227230178","featured_media":{"alt":null,"id":948229996643,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/016e1a445f0b751bfbc94868c169e32b.png?v=1630574468"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":12566930128995,"title":"紅","option1":"紅","option2":null,"option3":null,"sku":"CGN0106414","requires_shipping":true,"taxable":true,"featured_image":{"id":3886194196579,"product_id":1424439509091,"position":3,"created_at":"2018-09-07T17:19:33+08:00","updated_at":"2021-09-02T17:21:08+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/359e3405eae85c772cf26dec24d300ba.png?v=1630574468","variant_ids":[12566930128995]},"available":true,"name":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS - 紅","public_title":"紅","options":["紅"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-727,"inventory_management":null,"inventory_policy":"continue","barcode":"4710227230185","featured_media":{"alt":null,"id":948229636195,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/359e3405eae85c772cf26dec24d300ba.png?v=1630574468"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":12566930161763,"title":"黑色","option1":"黑色","option2":null,"option3":null,"sku":"CGN0106424","requires_shipping":true,"taxable":true,"featured_image":{"id":3886196031587,"product_id":1424439509091,"position":4,"created_at":"2018-09-07T17:19:56+08:00","updated_at":"2021-09-02T17:21:08+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/094f8605f8cc14b2756129c276432086.png?v=1630574468","variant_ids":[12566930161763]},"available":true,"name":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS - 黑色","public_title":"黑色","options":["黑色"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-4325,"inventory_management":null,"inventory_policy":"continue","barcode":"4710227230031","featured_media":{"alt":null,"id":948230258787,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/094f8605f8cc14b2756129c276432086.png?v=1630574468"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":12566930194531,"title":"櫻花粉","option1":"櫻花粉","option2":null,"option3":null,"sku":"CGN0106457","requires_shipping":true,"taxable":true,"featured_image":{"id":3886196883555,"product_id":1424439509091,"position":5,"created_at":"2018-09-07T17:20:06+08:00","updated_at":"2021-09-02T17:21:08+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/24f1c3a32e15a61b74acfd6d27e74693.png?v=1630574468","variant_ids":[12566930194531]},"available":true,"name":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS - 櫻花粉","public_title":"櫻花粉","options":["櫻花粉"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-1925,"inventory_management":null,"inventory_policy":"continue","barcode":"4710227230192","featured_media":{"alt":null,"id":948230979683,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/24f1c3a32e15a61b74acfd6d27e74693.png?v=1630574468"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":12566930227299,"title":"泥灰","option1":"泥灰","option2":null,"option3":null,"sku":"CGN0106469","requires_shipping":true,"taxable":true,"featured_image":{"id":3886192853091,"product_id":1424439509091,"position":6,"created_at":"2018-09-07T17:19:16+08:00","updated_at":"2021-06-21T15:26:06+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/1bd0d722fef6418b9e501b7f9c63dff4.png?v=1624260366","variant_ids":[12566930227299]},"available":true,"name":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS - 泥灰","public_title":"泥灰","options":["泥灰"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-640,"inventory_management":null,"inventory_policy":"continue","barcode":"4710227230208","featured_media":{"alt":null,"id":948228718691,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/1bd0d722fef6418b9e501b7f9c63dff4.png?v=1624260366"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":31064981110883,"title":"軍綠","option1":"軍綠","option2":null,"option3":null,"sku":"CGN0106415","requires_shipping":true,"taxable":true,"featured_image":{"id":11154587615331,"product_id":1424439509091,"position":7,"created_at":"2019-05-28T12:50:07+08:00","updated_at":"2021-09-02T17:21:08+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Gray_-CrashGuardNX-Combined-Camo_Green-Frame.png?v=1630574468","variant_ids":[31064981110883]},"available":true,"name":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS - 軍綠","public_title":"軍綠","options":["軍綠"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-218,"inventory_management":null,"inventory_policy":"continue","barcode":"4710562401578","featured_media":{"alt":null,"id":1423619915875,"position":7,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Gray_-CrashGuardNX-Combined-Camo_Green-Frame.png?v=1630574468"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":28238277640291,"title":"淺灰","option1":"淺灰","option2":null,"option3":null,"sku":"CGN01064C0","requires_shipping":true,"taxable":true,"featured_image":{"id":11154587746403,"product_id":1424439509091,"position":8,"created_at":"2019-05-28T12:50:11+08:00","updated_at":"2021-09-02T17:21:08+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Gray_-CrashGuardNX-Combined-Platinum_Gray-Frame.png?v=1630574468","variant_ids":[28238277640291]},"available":true,"name":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS - 淺灰","public_title":"淺灰","options":["淺灰"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-344,"inventory_management":null,"inventory_policy":"continue","barcode":"4710562401356","featured_media":{"alt":null,"id":1423620046947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Gray_-CrashGuardNX-Combined-Platinum_Gray-Frame.png?v=1630574468"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":28238281900131,"title":"薰衣紫","option1":"薰衣紫","option2":null,"option3":null,"sku":"CGN01064C1","requires_shipping":true,"taxable":true,"featured_image":{"id":11154587779171,"product_id":1424439509091,"position":9,"created_at":"2019-05-28T12:50:13+08:00","updated_at":"2021-09-02T17:21:08+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Gray_-CrashGuardNX-Combined-Lavender-Frame.png?v=1630574468","variant_ids":[28238281900131]},"available":true,"name":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS - 薰衣紫","public_title":"薰衣紫","options":["薰衣紫"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-380,"inventory_management":null,"inventory_policy":"continue","barcode":"4710562401462","featured_media":{"alt":null,"id":1423620079715,"position":9,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Gray_-CrashGuardNX-Combined-Lavender-Frame.png?v=1630574468"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":39644594012259,"title":"海軍藍","option1":"海軍藍","option2":null,"option3":null,"sku":"CGN01064J5","requires_shipping":true,"taxable":true,"featured_image":{"id":28661378023523,"product_id":1424439509091,"position":10,"created_at":"2021-11-09T10:19:59+08:00","updated_at":"2021-11-09T10:19:59+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/xs_phone-NPB01064J5T-Bumper-iphone-x-mod-nx-rim-Navy_Blue.png?v=1636424399","variant_ids":[39644594012259]},"available":true,"name":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS - 海軍藍","public_title":"海軍藍","options":["海軍藍"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-34,"inventory_management":null,"inventory_policy":"continue","barcode":"4711203591900","featured_media":{"alt":null,"id":20980610170979,"position":10,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/xs_phone-NPB01064J5T-Bumper-iphone-x-mod-nx-rim-Navy_Blue.png?v=1636424399"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/624678074d7f6e638d414be92bc26c06.png?v=1624260366","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/016e1a445f0b751bfbc94868c169e32b.png?v=1630574468","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/359e3405eae85c772cf26dec24d300ba.png?v=1630574468","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/094f8605f8cc14b2756129c276432086.png?v=1630574468","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/24f1c3a32e15a61b74acfd6d27e74693.png?v=1630574468","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/1bd0d722fef6418b9e501b7f9c63dff4.png?v=1624260366","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Gray_-CrashGuardNX-Combined-Camo_Green-Frame.png?v=1630574468","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Gray_-CrashGuardNX-Combined-Platinum_Gray-Frame.png?v=1630574468","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Gray_-CrashGuardNX-Combined-Lavender-Frame.png?v=1630574468","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/xs_phone-NPB01064J5T-Bumper-iphone-x-mod-nx-rim-Navy_Blue.png?v=1636424399"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/624678074d7f6e638d414be92bc26c06.png?v=1624260366","options":["Color"],"media":[{"alt":null,"id":948228620387,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/624678074d7f6e638d414be92bc26c06.png?v=1624260366"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/624678074d7f6e638d414be92bc26c06.png?v=1624260366","width":1500},{"alt":null,"id":948229996643,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/016e1a445f0b751bfbc94868c169e32b.png?v=1630574468"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/016e1a445f0b751bfbc94868c169e32b.png?v=1630574468","width":1500},{"alt":null,"id":948229636195,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/359e3405eae85c772cf26dec24d300ba.png?v=1630574468"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/359e3405eae85c772cf26dec24d300ba.png?v=1630574468","width":1500},{"alt":null,"id":948230258787,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/094f8605f8cc14b2756129c276432086.png?v=1630574468"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/094f8605f8cc14b2756129c276432086.png?v=1630574468","width":1500},{"alt":null,"id":948230979683,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/24f1c3a32e15a61b74acfd6d27e74693.png?v=1630574468"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/24f1c3a32e15a61b74acfd6d27e74693.png?v=1630574468","width":1500},{"alt":null,"id":948228718691,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/1bd0d722fef6418b9e501b7f9c63dff4.png?v=1624260366"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/1bd0d722fef6418b9e501b7f9c63dff4.png?v=1624260366","width":1500},{"alt":null,"id":1423619915875,"position":7,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Gray_-CrashGuardNX-Combined-Camo_Green-Frame.png?v=1630574468"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Gray_-CrashGuardNX-Combined-Camo_Green-Frame.png?v=1630574468","width":1500},{"alt":null,"id":1423620046947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Gray_-CrashGuardNX-Combined-Platinum_Gray-Frame.png?v=1630574468"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Gray_-CrashGuardNX-Combined-Platinum_Gray-Frame.png?v=1630574468","width":1500},{"alt":null,"id":1423620079715,"position":9,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Gray_-CrashGuardNX-Combined-Lavender-Frame.png?v=1630574468"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Gray_-CrashGuardNX-Combined-Lavender-Frame.png?v=1630574468","width":1500},{"alt":null,"id":20980610170979,"position":10,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/xs_phone-NPB01064J5T-Bumper-iphone-x-mod-nx-rim-Navy_Blue.png?v=1636424399"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/xs_phone-NPB01064J5T-Bumper-iphone-x-mod-nx-rim-Navy_Blue.png?v=1636424399","width":1999}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003e\u003cstrong\u003e\u003cspan style=\"color: #ff0000;\" data-mce-style=\"color: #ff0000;\"\u003e\u003cspan\u003e1、CrashGuard NX與ModNX的飾條、按鈕皆可共用。\u003c\/span\u003e\u003c\/span\u003e\u003c\/strong\u003e\u003cbr\u003e\u003cspan style=\"color: #ff0000;\" data-mce-style=\"color: #ff0000;\"\u003e\u003cstrong\u003e2、未附背板,\u003c\/strong\u003e\u003c\/span\u003e\u003cspan style=\"color: #ff0000;\" data-mce-style=\"color: #ff0000;\"\u003e\u003cstrong\u003e若需透明背板搭配,請選購ModNX系列。\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e"}; $bumper = null; $variants = [{"id":12566930063459,"title":"白色","option1":"白色","option2":null,"option3":null,"sku":"CGN0106404","requires_shipping":true,"taxable":true,"featured_image":{"id":3886192394339,"product_id":1424439509091,"position":1,"created_at":"2018-09-07T17:19:06+08:00","updated_at":"2021-06-21T15:26:06+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/624678074d7f6e638d414be92bc26c06.png?v=1624260366","variant_ids":[12566930063459]},"available":true,"name":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS - 白色","public_title":"白色","options":["白色"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-1001,"inventory_management":null,"inventory_policy":"continue","barcode":"4710227230161","featured_media":{"alt":null,"id":948228620387,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/624678074d7f6e638d414be92bc26c06.png?v=1624260366"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":12566930096227,"title":"黃","option1":"黃","option2":null,"option3":null,"sku":"CGN0106409","requires_shipping":true,"taxable":true,"featured_image":{"id":3886195507299,"product_id":1424439509091,"position":2,"created_at":"2018-09-07T17:19:47+08:00","updated_at":"2021-09-02T17:21:08+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/016e1a445f0b751bfbc94868c169e32b.png?v=1630574468","variant_ids":[12566930096227]},"available":true,"name":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS - 黃","public_title":"黃","options":["黃"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-351,"inventory_management":null,"inventory_policy":"continue","barcode":"4710227230178","featured_media":{"alt":null,"id":948229996643,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/016e1a445f0b751bfbc94868c169e32b.png?v=1630574468"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":12566930128995,"title":"紅","option1":"紅","option2":null,"option3":null,"sku":"CGN0106414","requires_shipping":true,"taxable":true,"featured_image":{"id":3886194196579,"product_id":1424439509091,"position":3,"created_at":"2018-09-07T17:19:33+08:00","updated_at":"2021-09-02T17:21:08+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/359e3405eae85c772cf26dec24d300ba.png?v=1630574468","variant_ids":[12566930128995]},"available":true,"name":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS - 紅","public_title":"紅","options":["紅"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-727,"inventory_management":null,"inventory_policy":"continue","barcode":"4710227230185","featured_media":{"alt":null,"id":948229636195,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/359e3405eae85c772cf26dec24d300ba.png?v=1630574468"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":12566930161763,"title":"黑色","option1":"黑色","option2":null,"option3":null,"sku":"CGN0106424","requires_shipping":true,"taxable":true,"featured_image":{"id":3886196031587,"product_id":1424439509091,"position":4,"created_at":"2018-09-07T17:19:56+08:00","updated_at":"2021-09-02T17:21:08+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/094f8605f8cc14b2756129c276432086.png?v=1630574468","variant_ids":[12566930161763]},"available":true,"name":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS - 黑色","public_title":"黑色","options":["黑色"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-4325,"inventory_management":null,"inventory_policy":"continue","barcode":"4710227230031","featured_media":{"alt":null,"id":948230258787,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/094f8605f8cc14b2756129c276432086.png?v=1630574468"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":12566930194531,"title":"櫻花粉","option1":"櫻花粉","option2":null,"option3":null,"sku":"CGN0106457","requires_shipping":true,"taxable":true,"featured_image":{"id":3886196883555,"product_id":1424439509091,"position":5,"created_at":"2018-09-07T17:20:06+08:00","updated_at":"2021-09-02T17:21:08+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/24f1c3a32e15a61b74acfd6d27e74693.png?v=1630574468","variant_ids":[12566930194531]},"available":true,"name":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS - 櫻花粉","public_title":"櫻花粉","options":["櫻花粉"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-1925,"inventory_management":null,"inventory_policy":"continue","barcode":"4710227230192","featured_media":{"alt":null,"id":948230979683,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/24f1c3a32e15a61b74acfd6d27e74693.png?v=1630574468"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":12566930227299,"title":"泥灰","option1":"泥灰","option2":null,"option3":null,"sku":"CGN0106469","requires_shipping":true,"taxable":true,"featured_image":{"id":3886192853091,"product_id":1424439509091,"position":6,"created_at":"2018-09-07T17:19:16+08:00","updated_at":"2021-06-21T15:26:06+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/1bd0d722fef6418b9e501b7f9c63dff4.png?v=1624260366","variant_ids":[12566930227299]},"available":true,"name":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS - 泥灰","public_title":"泥灰","options":["泥灰"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-640,"inventory_management":null,"inventory_policy":"continue","barcode":"4710227230208","featured_media":{"alt":null,"id":948228718691,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/1bd0d722fef6418b9e501b7f9c63dff4.png?v=1624260366"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":31064981110883,"title":"軍綠","option1":"軍綠","option2":null,"option3":null,"sku":"CGN0106415","requires_shipping":true,"taxable":true,"featured_image":{"id":11154587615331,"product_id":1424439509091,"position":7,"created_at":"2019-05-28T12:50:07+08:00","updated_at":"2021-09-02T17:21:08+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Gray_-CrashGuardNX-Combined-Camo_Green-Frame.png?v=1630574468","variant_ids":[31064981110883]},"available":true,"name":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS - 軍綠","public_title":"軍綠","options":["軍綠"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-218,"inventory_management":null,"inventory_policy":"continue","barcode":"4710562401578","featured_media":{"alt":null,"id":1423619915875,"position":7,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Gray_-CrashGuardNX-Combined-Camo_Green-Frame.png?v=1630574468"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":28238277640291,"title":"淺灰","option1":"淺灰","option2":null,"option3":null,"sku":"CGN01064C0","requires_shipping":true,"taxable":true,"featured_image":{"id":11154587746403,"product_id":1424439509091,"position":8,"created_at":"2019-05-28T12:50:11+08:00","updated_at":"2021-09-02T17:21:08+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Gray_-CrashGuardNX-Combined-Platinum_Gray-Frame.png?v=1630574468","variant_ids":[28238277640291]},"available":true,"name":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS - 淺灰","public_title":"淺灰","options":["淺灰"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-344,"inventory_management":null,"inventory_policy":"continue","barcode":"4710562401356","featured_media":{"alt":null,"id":1423620046947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Gray_-CrashGuardNX-Combined-Platinum_Gray-Frame.png?v=1630574468"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":28238281900131,"title":"薰衣紫","option1":"薰衣紫","option2":null,"option3":null,"sku":"CGN01064C1","requires_shipping":true,"taxable":true,"featured_image":{"id":11154587779171,"product_id":1424439509091,"position":9,"created_at":"2019-05-28T12:50:13+08:00","updated_at":"2021-09-02T17:21:08+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Gray_-CrashGuardNX-Combined-Lavender-Frame.png?v=1630574468","variant_ids":[28238281900131]},"available":true,"name":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS - 薰衣紫","public_title":"薰衣紫","options":["薰衣紫"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-380,"inventory_management":null,"inventory_policy":"continue","barcode":"4710562401462","featured_media":{"alt":null,"id":1423620079715,"position":9,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Gray_-CrashGuardNX-Combined-Lavender-Frame.png?v=1630574468"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":39644594012259,"title":"海軍藍","option1":"海軍藍","option2":null,"option3":null,"sku":"CGN01064J5","requires_shipping":true,"taxable":true,"featured_image":{"id":28661378023523,"product_id":1424439509091,"position":10,"created_at":"2021-11-09T10:19:59+08:00","updated_at":"2021-11-09T10:19:59+08:00","alt":null,"width":1999,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/xs_phone-NPB01064J5T-Bumper-iphone-x-mod-nx-rim-Navy_Blue.png?v=1636424399","variant_ids":[39644594012259]},"available":true,"name":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS - 海軍藍","public_title":"海軍藍","options":["海軍藍"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-34,"inventory_management":null,"inventory_policy":"continue","barcode":"4711203591900","featured_media":{"alt":null,"id":20980610170979,"position":10,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/xs_phone-NPB01064J5T-Bumper-iphone-x-mod-nx-rim-Navy_Blue.png?v=1636424399"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":12566930063459,"title":"白色","option1":"白色","option2":null,"option3":null,"sku":"CGN0106404","requires_shipping":true,"taxable":true,"featured_image":{"id":3886192394339,"product_id":1424439509091,"position":1,"created_at":"2018-09-07T17:19:06+08:00","updated_at":"2021-06-21T15:26:06+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/624678074d7f6e638d414be92bc26c06.png?v=1624260366","variant_ids":[12566930063459]},"available":true,"name":"犀牛盾CrashGuard 防摔邊框手機殼 - iPhone X\/XS - 白色","public_title":"白色","options":["白色"],"price":68000,"weight":100,"compare_at_price":null,"inventory_quantity":-1001,"inventory_management":null,"inventory_policy":"continue","barcode":"4710227230161","featured_media":{"alt":null,"id":948228620387,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/624678074d7f6e638d414be92bc26c06.png?v=1624260366"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; var sellingStatus; 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: "停產" }