$product = {"id":7937559003235,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 雲朵狗狗","handle":"iphone-13-pro-max-mod-nx-magsafe-cjy08","description":null,"published_at":"2025-12-12T09:49:56+08:00","created_at":"2025-12-11T09:45:24+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-jychoioioi","device-iPhone 13 Pro Max","merge","reseller-jychoioioi"],"price":110000,"price_min":110000,"price_max":110000,"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":43882974871651,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-CJY08","requires_shipping":true,"taxable":true,"featured_image":{"id":34931719012451,"product_id":7937559003235,"position":16,"created_at":"2025-12-11T10:24:18+08:00","updated_at":"2025-12-11T10:24:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37558a2edecd890dce13d914efab8328aec4fca1_95291043-70e3-4e23-a5e2-d525b44109ca.webp?v=1765419860","variant_ids":[43882974871651]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 雲朵狗狗 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-CJY08","featured_media":{"alt":null,"id":26494093262947,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37558a2edecd890dce13d914efab8328aec4fca1_95291043-70e3-4e23-a5e2-d525b44109ca.webp?v=1765419860"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43882974904419,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-CJY08","requires_shipping":true,"taxable":true,"featured_image":{"id":34931720257635,"product_id":7937559003235,"position":20,"created_at":"2025-12-11T10:24:23+08:00","updated_at":"2025-12-11T10:24:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ada37dd3cde513948d9c3acc0b8f405eeef664da_c6bd11c7-8cf5-47e0-b328-ffa75edcf796.webp?v=1765419865","variant_ids":[43882974904419]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 雲朵狗狗 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-CJY08","featured_media":{"alt":null,"id":26494094508131,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ada37dd3cde513948d9c3acc0b8f405eeef664da_c6bd11c7-8cf5-47e0-b328-ffa75edcf796.webp?v=1765419865"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48eaea49a5302f58c04b8493edd17c5d4c11cc10.webp?v=1765417530","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cb2b40d46b5eeecbe024017c449b34b03be2206.webp?v=1765417533","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bddce5877add58a0c0b6ec844c4c4a553f7898c.webp?v=1765417533","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ada37dd3cde513948d9c3acc0b8f405eeef664da.webp?v=1765417534","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c392922a4c472a5cfcd6463c5ece0b2e36d87e1.webp?v=1765417534","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52d57e58f12543c20cbac21c64efb7be2e2d33cf.webp?v=1765417534","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639ede9e59de8260abc1eaafd5cb3e2c1f00b722.webp?v=1765417535","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37558a2edecd890dce13d914efab8328aec4fca1.webp?v=1765417536","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/907ff929f4b3b774edc16275558f62adac567468.webp?v=1765417536","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac418070014039e08708e45270ae5ace86abc18e.webp?v=1765417537","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/907ff929f4b3b774edc16275558f62adac567468_31910307-b31e-4f20-a513-8344344ae351.webp?v=1765419858","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac418070014039e08708e45270ae5ace86abc18e_dad1dff3-8527-4753-a8fd-fb9f00ca1cbf.webp?v=1765419858","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cb2b40d46b5eeecbe024017c449b34b03be2206_68f0b53e-1c31-4af9-b7ca-f59779013de9.webp?v=1765419859","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bddce5877add58a0c0b6ec844c4c4a553f7898c_b7bab92e-56de-4f07-9dbc-f00c36377302.webp?v=1765419859","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48eaea49a5302f58c04b8493edd17c5d4c11cc10_5682e467-516d-43c3-8a65-e77643007f5a.webp?v=1765419860","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37558a2edecd890dce13d914efab8328aec4fca1_95291043-70e3-4e23-a5e2-d525b44109ca.webp?v=1765419860","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c392922a4c472a5cfcd6463c5ece0b2e36d87e1_749adfb9-5c19-41b3-b942-e80fd8d483d8.webp?v=1765419861","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639ede9e59de8260abc1eaafd5cb3e2c1f00b722_bed41d85-a5d9-4dca-ba7f-176f7d4af349.webp?v=1765419864","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52d57e58f12543c20cbac21c64efb7be2e2d33cf_00f3c3a4-047f-44b7-b6a1-0fa051fc4b8e.webp?v=1765419864","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ada37dd3cde513948d9c3acc0b8f405eeef664da_c6bd11c7-8cf5-47e0-b328-ffa75edcf796.webp?v=1765419865"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48eaea49a5302f58c04b8493edd17c5d4c11cc10.webp?v=1765417530","options":["color"],"media":[{"alt":null,"id":26493217931363,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48eaea49a5302f58c04b8493edd17c5d4c11cc10.webp?v=1765417530"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48eaea49a5302f58c04b8493edd17c5d4c11cc10.webp?v=1765417530","width":2000},{"alt":null,"id":26493218422883,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cb2b40d46b5eeecbe024017c449b34b03be2206.webp?v=1765417533"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cb2b40d46b5eeecbe024017c449b34b03be2206.webp?v=1765417533","width":2000},{"alt":null,"id":26493218586723,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bddce5877add58a0c0b6ec844c4c4a553f7898c.webp?v=1765417533"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bddce5877add58a0c0b6ec844c4c4a553f7898c.webp?v=1765417533","width":2000},{"alt":null,"id":26493218783331,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ada37dd3cde513948d9c3acc0b8f405eeef664da.webp?v=1765417534"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ada37dd3cde513948d9c3acc0b8f405eeef664da.webp?v=1765417534","width":2000},{"alt":null,"id":26493218947171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c392922a4c472a5cfcd6463c5ece0b2e36d87e1.webp?v=1765417534"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c392922a4c472a5cfcd6463c5ece0b2e36d87e1.webp?v=1765417534","width":2000},{"alt":null,"id":26493219078243,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52d57e58f12543c20cbac21c64efb7be2e2d33cf.webp?v=1765417534"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52d57e58f12543c20cbac21c64efb7be2e2d33cf.webp?v=1765417534","width":2000},{"alt":null,"id":26493219209315,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639ede9e59de8260abc1eaafd5cb3e2c1f00b722.webp?v=1765417535"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639ede9e59de8260abc1eaafd5cb3e2c1f00b722.webp?v=1765417535","width":2000},{"alt":null,"id":26493219405923,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37558a2edecd890dce13d914efab8328aec4fca1.webp?v=1765417536"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37558a2edecd890dce13d914efab8328aec4fca1.webp?v=1765417536","width":2000},{"alt":null,"id":26493219635299,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/907ff929f4b3b774edc16275558f62adac567468.webp?v=1765417536"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/907ff929f4b3b774edc16275558f62adac567468.webp?v=1765417536","width":2000},{"alt":null,"id":26493219733603,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac418070014039e08708e45270ae5ace86abc18e.webp?v=1765417537"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac418070014039e08708e45270ae5ace86abc18e.webp?v=1765417537","width":2000},{"alt":null,"id":26494092214371,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/907ff929f4b3b774edc16275558f62adac567468_31910307-b31e-4f20-a513-8344344ae351.webp?v=1765419858"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/907ff929f4b3b774edc16275558f62adac567468_31910307-b31e-4f20-a513-8344344ae351.webp?v=1765419858","width":2000},{"alt":null,"id":26494092279907,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac418070014039e08708e45270ae5ace86abc18e_dad1dff3-8527-4753-a8fd-fb9f00ca1cbf.webp?v=1765419858"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac418070014039e08708e45270ae5ace86abc18e_dad1dff3-8527-4753-a8fd-fb9f00ca1cbf.webp?v=1765419858","width":2000},{"alt":null,"id":26494092542051,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cb2b40d46b5eeecbe024017c449b34b03be2206_68f0b53e-1c31-4af9-b7ca-f59779013de9.webp?v=1765419859"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cb2b40d46b5eeecbe024017c449b34b03be2206_68f0b53e-1c31-4af9-b7ca-f59779013de9.webp?v=1765419859","width":2000},{"alt":null,"id":26494092836963,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bddce5877add58a0c0b6ec844c4c4a553f7898c_b7bab92e-56de-4f07-9dbc-f00c36377302.webp?v=1765419859"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bddce5877add58a0c0b6ec844c4c4a553f7898c_b7bab92e-56de-4f07-9dbc-f00c36377302.webp?v=1765419859","width":2000},{"alt":null,"id":26494093066339,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48eaea49a5302f58c04b8493edd17c5d4c11cc10_5682e467-516d-43c3-8a65-e77643007f5a.webp?v=1765419860"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48eaea49a5302f58c04b8493edd17c5d4c11cc10_5682e467-516d-43c3-8a65-e77643007f5a.webp?v=1765419860","width":2000},{"alt":null,"id":26494093262947,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37558a2edecd890dce13d914efab8328aec4fca1_95291043-70e3-4e23-a5e2-d525b44109ca.webp?v=1765419860"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37558a2edecd890dce13d914efab8328aec4fca1_95291043-70e3-4e23-a5e2-d525b44109ca.webp?v=1765419860","width":2000},{"alt":null,"id":26494093492323,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c392922a4c472a5cfcd6463c5ece0b2e36d87e1_749adfb9-5c19-41b3-b942-e80fd8d483d8.webp?v=1765419861"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c392922a4c472a5cfcd6463c5ece0b2e36d87e1_749adfb9-5c19-41b3-b942-e80fd8d483d8.webp?v=1765419861","width":2000},{"alt":null,"id":26494093918307,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639ede9e59de8260abc1eaafd5cb3e2c1f00b722_bed41d85-a5d9-4dca-ba7f-176f7d4af349.webp?v=1765419864"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639ede9e59de8260abc1eaafd5cb3e2c1f00b722_bed41d85-a5d9-4dca-ba7f-176f7d4af349.webp?v=1765419864","width":2000},{"alt":null,"id":26494094180451,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52d57e58f12543c20cbac21c64efb7be2e2d33cf_00f3c3a4-047f-44b7-b6a1-0fa051fc4b8e.webp?v=1765419864"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52d57e58f12543c20cbac21c64efb7be2e2d33cf_00f3c3a4-047f-44b7-b6a1-0fa051fc4b8e.webp?v=1765419864","width":2000},{"alt":null,"id":26494094508131,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ada37dd3cde513948d9c3acc0b8f405eeef664da_c6bd11c7-8cf5-47e0-b328-ffa75edcf796.webp?v=1765419865"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ada37dd3cde513948d9c3acc0b8f405eeef664da_c6bd11c7-8cf5-47e0-b328-ffa75edcf796.webp?v=1765419865","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43882974871651,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-CJY08","requires_shipping":true,"taxable":true,"featured_image":{"id":34931719012451,"product_id":7937559003235,"position":16,"created_at":"2025-12-11T10:24:18+08:00","updated_at":"2025-12-11T10:24:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37558a2edecd890dce13d914efab8328aec4fca1_95291043-70e3-4e23-a5e2-d525b44109ca.webp?v=1765419860","variant_ids":[43882974871651]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 雲朵狗狗 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-CJY08","featured_media":{"alt":null,"id":26494093262947,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37558a2edecd890dce13d914efab8328aec4fca1_95291043-70e3-4e23-a5e2-d525b44109ca.webp?v=1765419860"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43882974904419,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-CJY08","requires_shipping":true,"taxable":true,"featured_image":{"id":34931720257635,"product_id":7937559003235,"position":20,"created_at":"2025-12-11T10:24:23+08:00","updated_at":"2025-12-11T10:24:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ada37dd3cde513948d9c3acc0b8f405eeef664da_c6bd11c7-8cf5-47e0-b328-ffa75edcf796.webp?v=1765419865","variant_ids":[43882974904419]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 雲朵狗狗 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-CJY08","featured_media":{"alt":null,"id":26494094508131,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ada37dd3cde513948d9c3acc0b8f405eeef664da_c6bd11c7-8cf5-47e0-b328-ffa75edcf796.webp?v=1765419865"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43882974871651,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-CJY08","requires_shipping":true,"taxable":true,"featured_image":{"id":34931719012451,"product_id":7937559003235,"position":16,"created_at":"2025-12-11T10:24:18+08:00","updated_at":"2025-12-11T10:24:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37558a2edecd890dce13d914efab8328aec4fca1_95291043-70e3-4e23-a5e2-d525b44109ca.webp?v=1765419860","variant_ids":[43882974871651]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 雲朵狗狗 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-CJY08","featured_media":{"alt":null,"id":26494093262947,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37558a2edecd890dce13d914efab8328aec4fca1_95291043-70e3-4e23-a5e2-d525b44109ca.webp?v=1765419860"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null 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 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: "停產" }