$product = {"id":7942172246115,"title":"iPhone XR Mod NX Nyangsongi 擁抱","handle":"iphone-xr-mod-nx-nya14","description":null,"published_at":"2025-12-23T09:45:59+08:00","created_at":"2025-12-22T13:49:45+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-nyangsongi","device-iPhone XR","merge","reseller-nyangsongi"],"price":90000,"price_min":90000,"price_max":90000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":43903831703651,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01085C1-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":36272504275043,"product_id":7942172246115,"position":13,"created_at":"2026-07-15T15:37:44+08:00","updated_at":"2026-07-15T15:37:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14cd64010b9ca8a5d9b8d001c20e793cc6a4e34d_c5e3580b-99a8-40e9-bc35-9e2b64964b7c.webp?v=1784101066","variant_ids":[43903831703651]},"available":true,"name":"iPhone XR Mod NX Nyangsongi 擁抱 - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01085C1-NYA14","featured_media":{"alt":null,"id":27776558137443,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14cd64010b9ca8a5d9b8d001c20e793cc6a4e34d_c5e3580b-99a8-40e9-bc35-9e2b64964b7c.webp?v=1784101066"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903832129635,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0108524-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":36272504701027,"product_id":7942172246115,"position":14,"created_at":"2026-07-15T15:37:44+08:00","updated_at":"2026-07-15T15:37:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45511de9a70e9fcf0288ada0bf213163ec334df3_2f936ce0-2ff5-437a-8b7e-b1065939c3e2.webp?v=1784101066","variant_ids":[43903832129635]},"available":true,"name":"iPhone XR Mod NX Nyangsongi 擁抱 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108524-NYA14","featured_media":{"alt":null,"id":27776558530659,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45511de9a70e9fcf0288ada0bf213163ec334df3_2f936ce0-2ff5-437a-8b7e-b1065939c3e2.webp?v=1784101066"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903832457315,"title":"Camo Green","option1":"Camo Green","option2":null,"option3":null,"sku":"NPB0108515-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":36272503390307,"product_id":7942172246115,"position":11,"created_at":"2026-07-15T15:37:43+08:00","updated_at":"2026-07-15T15:37:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9d05d6ada468074c8eabd0a3ce943f0678be6f3_5aff10d9-f6c5-4478-99c8-f571da1905b5.webp?v=1784101065","variant_ids":[43903832457315]},"available":true,"name":"iPhone XR Mod NX Nyangsongi 擁抱 - Camo Green","public_title":"Camo Green","options":["Camo Green"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108515-NYA14","featured_media":{"alt":null,"id":27776557219939,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9d05d6ada468074c8eabd0a3ce943f0678be6f3_5aff10d9-f6c5-4478-99c8-f571da1905b5.webp?v=1784101065"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903832948835,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0108504-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":36272503816291,"product_id":7942172246115,"position":12,"created_at":"2026-07-15T15:37:43+08:00","updated_at":"2026-07-15T15:37:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09462462c23ebf39ee6272c7cf4ee61471364bcb_1ffcee93-4273-40fd-a757-6af5383535fe.webp?v=1784101065","variant_ids":[43903832948835]},"available":true,"name":"iPhone XR Mod NX Nyangsongi 擁抱 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108504-NYA14","featured_media":{"alt":null,"id":27776557711459,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09462462c23ebf39ee6272c7cf4ee61471364bcb_1ffcee93-4273-40fd-a757-6af5383535fe.webp?v=1784101065"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cef1df3172b2ae4148591aa6a5d88d870f89ed1d.webp?v=1766382616","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14cd64010b9ca8a5d9b8d001c20e793cc6a4e34d.webp?v=1766382617","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99c9c50c7404379a5ec4b8693978aec68eb600eb.webp?v=1766382617","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9d05d6ada468074c8eabd0a3ce943f0678be6f3.webp?v=1766382618","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/339597b62bbde431030fa4593bf46506dfc8ca1c.webp?v=1766382618","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70bd3ac6c5971c5e448ed43c08b8897767705186.webp?v=1766382619","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45511de9a70e9fcf0288ada0bf213163ec334df3.webp?v=1766382619","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c50cf31bfa67bb48943f3b9def5c33c71eb65cc.webp?v=1766382619","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5663594cd4ac3ace6e5ec219e90d66c19a738102.webp?v=1766382620","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09462462c23ebf39ee6272c7cf4ee61471364bcb.webp?v=1766382621","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9d05d6ada468074c8eabd0a3ce943f0678be6f3_5aff10d9-f6c5-4478-99c8-f571da1905b5.webp?v=1784101065","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09462462c23ebf39ee6272c7cf4ee61471364bcb_1ffcee93-4273-40fd-a757-6af5383535fe.webp?v=1784101065","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14cd64010b9ca8a5d9b8d001c20e793cc6a4e34d_c5e3580b-99a8-40e9-bc35-9e2b64964b7c.webp?v=1784101066","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45511de9a70e9fcf0288ada0bf213163ec334df3_2f936ce0-2ff5-437a-8b7e-b1065939c3e2.webp?v=1784101066"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cef1df3172b2ae4148591aa6a5d88d870f89ed1d.webp?v=1766382616","options":["color"],"media":[{"alt":null,"id":26547661733987,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cef1df3172b2ae4148591aa6a5d88d870f89ed1d.webp?v=1766382616"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cef1df3172b2ae4148591aa6a5d88d870f89ed1d.webp?v=1766382616","width":2000},{"alt":null,"id":26547661930595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14cd64010b9ca8a5d9b8d001c20e793cc6a4e34d.webp?v=1766382617"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14cd64010b9ca8a5d9b8d001c20e793cc6a4e34d.webp?v=1766382617","width":2000},{"alt":null,"id":26547662127203,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99c9c50c7404379a5ec4b8693978aec68eb600eb.webp?v=1766382617"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99c9c50c7404379a5ec4b8693978aec68eb600eb.webp?v=1766382617","width":2000},{"alt":null,"id":26547662192739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9d05d6ada468074c8eabd0a3ce943f0678be6f3.webp?v=1766382618"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9d05d6ada468074c8eabd0a3ce943f0678be6f3.webp?v=1766382618","width":2000},{"alt":null,"id":26547662520419,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/339597b62bbde431030fa4593bf46506dfc8ca1c.webp?v=1766382618"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/339597b62bbde431030fa4593bf46506dfc8ca1c.webp?v=1766382618","width":2000},{"alt":null,"id":26547662684259,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70bd3ac6c5971c5e448ed43c08b8897767705186.webp?v=1766382619"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70bd3ac6c5971c5e448ed43c08b8897767705186.webp?v=1766382619","width":2000},{"alt":null,"id":26547662848099,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45511de9a70e9fcf0288ada0bf213163ec334df3.webp?v=1766382619"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45511de9a70e9fcf0288ada0bf213163ec334df3.webp?v=1766382619","width":2000},{"alt":null,"id":26547663044707,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c50cf31bfa67bb48943f3b9def5c33c71eb65cc.webp?v=1766382619"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c50cf31bfa67bb48943f3b9def5c33c71eb65cc.webp?v=1766382619","width":2000},{"alt":null,"id":26547663110243,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5663594cd4ac3ace6e5ec219e90d66c19a738102.webp?v=1766382620"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5663594cd4ac3ace6e5ec219e90d66c19a738102.webp?v=1766382620","width":2000},{"alt":null,"id":26547663241315,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09462462c23ebf39ee6272c7cf4ee61471364bcb.webp?v=1766382621"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09462462c23ebf39ee6272c7cf4ee61471364bcb.webp?v=1766382621","width":2000},{"alt":null,"id":27776557219939,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9d05d6ada468074c8eabd0a3ce943f0678be6f3_5aff10d9-f6c5-4478-99c8-f571da1905b5.webp?v=1784101065"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9d05d6ada468074c8eabd0a3ce943f0678be6f3_5aff10d9-f6c5-4478-99c8-f571da1905b5.webp?v=1784101065","width":2000},{"alt":null,"id":27776557711459,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09462462c23ebf39ee6272c7cf4ee61471364bcb_1ffcee93-4273-40fd-a757-6af5383535fe.webp?v=1784101065"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09462462c23ebf39ee6272c7cf4ee61471364bcb_1ffcee93-4273-40fd-a757-6af5383535fe.webp?v=1784101065","width":2000},{"alt":null,"id":27776558137443,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14cd64010b9ca8a5d9b8d001c20e793cc6a4e34d_c5e3580b-99a8-40e9-bc35-9e2b64964b7c.webp?v=1784101066"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14cd64010b9ca8a5d9b8d001c20e793cc6a4e34d_c5e3580b-99a8-40e9-bc35-9e2b64964b7c.webp?v=1784101066","width":2000},{"alt":null,"id":27776558530659,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45511de9a70e9fcf0288ada0bf213163ec334df3_2f936ce0-2ff5-437a-8b7e-b1065939c3e2.webp?v=1784101066"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45511de9a70e9fcf0288ada0bf213163ec334df3_2f936ce0-2ff5-437a-8b7e-b1065939c3e2.webp?v=1784101066","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43903831703651,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01085C1-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":36272504275043,"product_id":7942172246115,"position":13,"created_at":"2026-07-15T15:37:44+08:00","updated_at":"2026-07-15T15:37:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14cd64010b9ca8a5d9b8d001c20e793cc6a4e34d_c5e3580b-99a8-40e9-bc35-9e2b64964b7c.webp?v=1784101066","variant_ids":[43903831703651]},"available":true,"name":"iPhone XR Mod NX Nyangsongi 擁抱 - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01085C1-NYA14","featured_media":{"alt":null,"id":27776558137443,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14cd64010b9ca8a5d9b8d001c20e793cc6a4e34d_c5e3580b-99a8-40e9-bc35-9e2b64964b7c.webp?v=1784101066"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903832129635,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0108524-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":36272504701027,"product_id":7942172246115,"position":14,"created_at":"2026-07-15T15:37:44+08:00","updated_at":"2026-07-15T15:37:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45511de9a70e9fcf0288ada0bf213163ec334df3_2f936ce0-2ff5-437a-8b7e-b1065939c3e2.webp?v=1784101066","variant_ids":[43903832129635]},"available":true,"name":"iPhone XR Mod NX Nyangsongi 擁抱 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108524-NYA14","featured_media":{"alt":null,"id":27776558530659,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45511de9a70e9fcf0288ada0bf213163ec334df3_2f936ce0-2ff5-437a-8b7e-b1065939c3e2.webp?v=1784101066"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903832457315,"title":"Camo Green","option1":"Camo Green","option2":null,"option3":null,"sku":"NPB0108515-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":36272503390307,"product_id":7942172246115,"position":11,"created_at":"2026-07-15T15:37:43+08:00","updated_at":"2026-07-15T15:37:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9d05d6ada468074c8eabd0a3ce943f0678be6f3_5aff10d9-f6c5-4478-99c8-f571da1905b5.webp?v=1784101065","variant_ids":[43903832457315]},"available":true,"name":"iPhone XR Mod NX Nyangsongi 擁抱 - Camo Green","public_title":"Camo Green","options":["Camo Green"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108515-NYA14","featured_media":{"alt":null,"id":27776557219939,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9d05d6ada468074c8eabd0a3ce943f0678be6f3_5aff10d9-f6c5-4478-99c8-f571da1905b5.webp?v=1784101065"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903832948835,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0108504-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":36272503816291,"product_id":7942172246115,"position":12,"created_at":"2026-07-15T15:37:43+08:00","updated_at":"2026-07-15T15:37:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09462462c23ebf39ee6272c7cf4ee61471364bcb_1ffcee93-4273-40fd-a757-6af5383535fe.webp?v=1784101065","variant_ids":[43903832948835]},"available":true,"name":"iPhone XR Mod NX Nyangsongi 擁抱 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108504-NYA14","featured_media":{"alt":null,"id":27776557711459,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09462462c23ebf39ee6272c7cf4ee61471364bcb_1ffcee93-4273-40fd-a757-6af5383535fe.webp?v=1784101065"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43903831703651,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01085C1-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":36272504275043,"product_id":7942172246115,"position":13,"created_at":"2026-07-15T15:37:44+08:00","updated_at":"2026-07-15T15:37:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14cd64010b9ca8a5d9b8d001c20e793cc6a4e34d_c5e3580b-99a8-40e9-bc35-9e2b64964b7c.webp?v=1784101066","variant_ids":[43903831703651]},"available":true,"name":"iPhone XR Mod NX Nyangsongi 擁抱 - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01085C1-NYA14","featured_media":{"alt":null,"id":27776558137443,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14cd64010b9ca8a5d9b8d001c20e793cc6a4e34d_c5e3580b-99a8-40e9-bc35-9e2b64964b7c.webp?v=1784101066"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $brand_handle = null; $type = ""; var sellingStatus // 只有設計款(SKU 含 '-')才需要合圖 if ($isMerge && $defaultVariant.sku.includes('-')) { $(document).ready(function() { var productImg = $product.images[0]; var bumperImg = window.getProductImageUrl($defaultVariant.sku.split('-')[0]); var layers = ($type === 'mod-nx-backplate' || $type === 'mod-backplate') ? [productImg, bumperImg] : [bumperImg, productImg]; window.mergeProductImages(layers).then(function (mergedImg) { $('.merged-img').attr('src', mergedImg); }); }); }; var sellingStatusData window.fetchSellingStatus().then(data => { try { sellingStatusData = data; } catch (error) { sellingStatusData = null console.error('Unable to parse selling status', error) } $(document).ready(function() { handleSellingStatus($defaultVariant.sku); }); }) function handleSellingStatus(currentSku) { if (!sellingStatusData) { console.error('No selling status available!') return } const sellingStatusElement = document.getElementById('selling-status') const addToCartButton = document.getElementById('AddToCart-product-template') const currentProductSku = currentSku.replace(/-(.*)$/, '-') if ($variants) { const flattenedSellingStatus = [...sellingStatusData.pending, ...sellingStatusData.preorder] const matchSellingStatusProduct = flattenedSellingStatus.filter(product => currentProductSku === product.sku) if (matchSellingStatusProduct.length > 0) { const isProductPending = matchSellingStatusProduct[0].status === 'pending' const matchDate = matchSellingStatusProduct[0].date sellingStatus = isProductPending ? "缺貨中" : "預購完成出貨日:" + matchDate sellingStatusElement.textContent = sellingStatus if (sellingStatus.includes("缺貨中")){ addToCartButton.disabled ='true'; addToCartButton.textContent = "缺貨中無法加入購物車" } else { addToCartButton.textContent = "加到購物車" } } else { sellingStatusElement.textContent = '' addToCartButton.textContent = "加到購物車" }; }; }; document.addEventListener('DOMContentLoaded', function () { var currentVariantSelect = document.getElementById('SingleOptionSelector-0') currentVariantSelect.addEventListener('change', function() { var currentSku = $('#current_sku').text() var skuElement = document.getElementById('current-sku') skuElement.textContent = currentSku handleSellingStatus(currentSku) }); });
// Override default values of shop.strings for each template. // Alternate product templates can change values of // add to cart button, sold out, and unavailable states here. theme.productStrings = { addToCart: "加到購物車", soldOut: "售完", unavailable: "停產" }