$product = {"id":8035896524899,"title":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔","handle":"iphone-17-pro-solidx-magsafe-rv07","description":null,"published_at":"2026-06-22T16:13:17+08:00","created_at":"2026-06-17T18:04:59+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-sanrio-family","device-iPhone 17 Pro","merge","reseller-sanrio-family"],"price":145000,"price_min":145000,"price_max":145000,"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":44265585377379,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012587974755,"product_id":8035896524899,"position":2,"created_at":"2026-06-17T18:05:46+08:00","updated_at":"2026-06-17T18:05:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2f6649d302d32e4f799793f73b7d3ac21f3a6ac.webp?v=1781690748","variant_ids":[44265585377379]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Z-RV07","featured_media":{"alt":null,"id":27531391795299,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2f6649d302d32e4f799793f73b7d3ac21f3a6ac.webp?v=1781690748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265599402083,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012594298979,"product_id":8035896524899,"position":10,"created_at":"2026-06-17T18:05:55+08:00","updated_at":"2026-06-17T18:05:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3c86c81f17380bf3a909b89960ca5c34a0be92f.webp?v=1781690757","variant_ids":[44265599402083]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013526A-RV07","featured_media":{"alt":null,"id":27531398119523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3c86c81f17380bf3a909b89960ca5c34a0be92f.webp?v=1781690757"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265600057443,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012595314787,"product_id":8035896524899,"position":13,"created_at":"2026-06-17T18:05:58+08:00","updated_at":"2026-06-17T18:06:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45882adb35fbfa662372244e62c35f8fd6bc3688.webp?v=1781690760","variant_ids":[44265600057443]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Y-RV07","featured_media":{"alt":null,"id":27531399135331,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45882adb35fbfa662372244e62c35f8fd6bc3688.webp?v=1781690760"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265601335395,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012590268515,"product_id":8035896524899,"position":5,"created_at":"2026-06-17T18:05:49+08:00","updated_at":"2026-06-17T18:05:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f29a6d85854240891390f129b76c78258ff3e.webp?v=1781690751","variant_ids":[44265601335395]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525X-RV07","featured_media":{"alt":null,"id":27531394089059,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f29a6d85854240891390f129b76c78258ff3e.webp?v=1781690751"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265602089059,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012594790499,"product_id":8035896524899,"position":11,"created_at":"2026-06-17T18:05:56+08:00","updated_at":"2026-06-17T18:05:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/423e0c88f69eeb8d5af1e009b55d89eeecdaf2a5.webp?v=1781690758","variant_ids":[44265602089059]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525H-RV07","featured_media":{"alt":null,"id":27531398611043,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/423e0c88f69eeb8d5af1e009b55d89eeecdaf2a5.webp?v=1781690758"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265602777187,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012593872995,"product_id":8035896524899,"position":9,"created_at":"2026-06-17T18:05:54+08:00","updated_at":"2026-06-17T18:05:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c35c0bcb00c9a5337bc1124c44e898930e7b2c.webp?v=1781690756","variant_ids":[44265602777187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524I-RV07","featured_media":{"alt":null,"id":27531397693539,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c35c0bcb00c9a5337bc1124c44e898930e7b2c.webp?v=1781690756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265603563619,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012588662883,"product_id":8035896524899,"position":3,"created_at":"2026-06-17T18:05:47+08:00","updated_at":"2026-06-17T18:05:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c12bd97688f472e220d9720dcffe55aac8ac2b2.webp?v=1781690749","variant_ids":[44265603563619]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524H-RV07","featured_media":{"alt":null,"id":27531392483427,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c12bd97688f472e220d9720dcffe55aac8ac2b2.webp?v=1781690749"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265604022371,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012589482083,"product_id":8035896524899,"position":4,"created_at":"2026-06-17T18:05:48+08:00","updated_at":"2026-06-17T18:05:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afbdfe5092ee3d20ac9f04994995d8052b3c8aa8.webp?v=1781690750","variant_ids":[44265604022371]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013523O-RV07","featured_media":{"alt":null,"id":27531393269859,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afbdfe5092ee3d20ac9f04994995d8052b3c8aa8.webp?v=1781690750"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265604612195,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012595085411,"product_id":8035896524899,"position":12,"created_at":"2026-06-17T18:05:57+08:00","updated_at":"2026-06-17T18:05:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cdb54f1fba4963b9f6b1d0646f994a3e5143f7f.webp?v=1781690759","variant_ids":[44265604612195]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520F-RV07","featured_media":{"alt":null,"id":27531398905955,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cdb54f1fba4963b9f6b1d0646f994a3e5143f7f.webp?v=1781690759"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265605136483,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012593250403,"product_id":8035896524899,"position":8,"created_at":"2026-06-17T18:05:53+08:00","updated_at":"2026-06-17T18:05:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9932a146f25c5d6f2c8bfa4bb595bfcbd50fdc46.webp?v=1781690755","variant_ids":[44265605136483]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520B-RV07","featured_media":{"alt":null,"id":27531397070947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9932a146f25c5d6f2c8bfa4bb595bfcbd50fdc46.webp?v=1781690755"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265605628003,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012591906915,"product_id":8035896524899,"position":6,"created_at":"2026-06-17T18:05:52+08:00","updated_at":"2026-06-17T18:05:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c41212950396a23c7de67f0f6917298fd5809787.webp?v=1781690754","variant_ids":[44265605628003]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-RV07","featured_media":{"alt":null,"id":27531395727459,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c41212950396a23c7de67f0f6917298fd5809787.webp?v=1781690754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265605890147,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012587286627,"product_id":8035896524899,"position":1,"created_at":"2026-06-17T18:05:46+08:00","updated_at":"2026-06-17T18:05:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cec1db184859e81b1d041958022d4d83c7824126.webp?v=1781690748","variant_ids":[44265605890147]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01352O8-RV07","featured_media":{"alt":null,"id":27531391107171,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cec1db184859e81b1d041958022d4d83c7824126.webp?v=1781690748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265606119523,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012592627811,"product_id":8035896524899,"position":7,"created_at":"2026-06-17T18:05:52+08:00","updated_at":"2026-06-17T18:05:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca66bd6db5a29124bf10d609d68da000cb5fcdfd.webp?v=1781690754","variant_ids":[44265606119523]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-RV07","featured_media":{"alt":null,"id":27531396481123,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca66bd6db5a29124bf10d609d68da000cb5fcdfd.webp?v=1781690754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cec1db184859e81b1d041958022d4d83c7824126.webp?v=1781690748","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2f6649d302d32e4f799793f73b7d3ac21f3a6ac.webp?v=1781690748","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c12bd97688f472e220d9720dcffe55aac8ac2b2.webp?v=1781690749","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afbdfe5092ee3d20ac9f04994995d8052b3c8aa8.webp?v=1781690750","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f29a6d85854240891390f129b76c78258ff3e.webp?v=1781690751","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c41212950396a23c7de67f0f6917298fd5809787.webp?v=1781690754","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca66bd6db5a29124bf10d609d68da000cb5fcdfd.webp?v=1781690754","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9932a146f25c5d6f2c8bfa4bb595bfcbd50fdc46.webp?v=1781690755","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c35c0bcb00c9a5337bc1124c44e898930e7b2c.webp?v=1781690756","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3c86c81f17380bf3a909b89960ca5c34a0be92f.webp?v=1781690757","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/423e0c88f69eeb8d5af1e009b55d89eeecdaf2a5.webp?v=1781690758","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cdb54f1fba4963b9f6b1d0646f994a3e5143f7f.webp?v=1781690759","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45882adb35fbfa662372244e62c35f8fd6bc3688.webp?v=1781690760"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cec1db184859e81b1d041958022d4d83c7824126.webp?v=1781690748","options":["color"],"media":[{"alt":null,"id":27531391107171,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cec1db184859e81b1d041958022d4d83c7824126.webp?v=1781690748"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cec1db184859e81b1d041958022d4d83c7824126.webp?v=1781690748","width":2000},{"alt":null,"id":27531391795299,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2f6649d302d32e4f799793f73b7d3ac21f3a6ac.webp?v=1781690748"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2f6649d302d32e4f799793f73b7d3ac21f3a6ac.webp?v=1781690748","width":2000},{"alt":null,"id":27531392483427,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c12bd97688f472e220d9720dcffe55aac8ac2b2.webp?v=1781690749"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c12bd97688f472e220d9720dcffe55aac8ac2b2.webp?v=1781690749","width":2000},{"alt":null,"id":27531393269859,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afbdfe5092ee3d20ac9f04994995d8052b3c8aa8.webp?v=1781690750"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afbdfe5092ee3d20ac9f04994995d8052b3c8aa8.webp?v=1781690750","width":2000},{"alt":null,"id":27531394089059,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f29a6d85854240891390f129b76c78258ff3e.webp?v=1781690751"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f29a6d85854240891390f129b76c78258ff3e.webp?v=1781690751","width":2000},{"alt":null,"id":27531395727459,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c41212950396a23c7de67f0f6917298fd5809787.webp?v=1781690754"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c41212950396a23c7de67f0f6917298fd5809787.webp?v=1781690754","width":2000},{"alt":null,"id":27531396481123,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca66bd6db5a29124bf10d609d68da000cb5fcdfd.webp?v=1781690754"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca66bd6db5a29124bf10d609d68da000cb5fcdfd.webp?v=1781690754","width":2000},{"alt":null,"id":27531397070947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9932a146f25c5d6f2c8bfa4bb595bfcbd50fdc46.webp?v=1781690755"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9932a146f25c5d6f2c8bfa4bb595bfcbd50fdc46.webp?v=1781690755","width":2000},{"alt":null,"id":27531397693539,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c35c0bcb00c9a5337bc1124c44e898930e7b2c.webp?v=1781690756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c35c0bcb00c9a5337bc1124c44e898930e7b2c.webp?v=1781690756","width":2000},{"alt":null,"id":27531398119523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3c86c81f17380bf3a909b89960ca5c34a0be92f.webp?v=1781690757"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3c86c81f17380bf3a909b89960ca5c34a0be92f.webp?v=1781690757","width":2000},{"alt":null,"id":27531398611043,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/423e0c88f69eeb8d5af1e009b55d89eeecdaf2a5.webp?v=1781690758"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/423e0c88f69eeb8d5af1e009b55d89eeecdaf2a5.webp?v=1781690758","width":2000},{"alt":null,"id":27531398905955,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cdb54f1fba4963b9f6b1d0646f994a3e5143f7f.webp?v=1781690759"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cdb54f1fba4963b9f6b1d0646f994a3e5143f7f.webp?v=1781690759","width":2000},{"alt":null,"id":27531399135331,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45882adb35fbfa662372244e62c35f8fd6bc3688.webp?v=1781690760"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45882adb35fbfa662372244e62c35f8fd6bc3688.webp?v=1781690760","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44265585377379,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012587974755,"product_id":8035896524899,"position":2,"created_at":"2026-06-17T18:05:46+08:00","updated_at":"2026-06-17T18:05:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2f6649d302d32e4f799793f73b7d3ac21f3a6ac.webp?v=1781690748","variant_ids":[44265585377379]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Z-RV07","featured_media":{"alt":null,"id":27531391795299,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2f6649d302d32e4f799793f73b7d3ac21f3a6ac.webp?v=1781690748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265599402083,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012594298979,"product_id":8035896524899,"position":10,"created_at":"2026-06-17T18:05:55+08:00","updated_at":"2026-06-17T18:05:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3c86c81f17380bf3a909b89960ca5c34a0be92f.webp?v=1781690757","variant_ids":[44265599402083]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013526A-RV07","featured_media":{"alt":null,"id":27531398119523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3c86c81f17380bf3a909b89960ca5c34a0be92f.webp?v=1781690757"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265600057443,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012595314787,"product_id":8035896524899,"position":13,"created_at":"2026-06-17T18:05:58+08:00","updated_at":"2026-06-17T18:06:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45882adb35fbfa662372244e62c35f8fd6bc3688.webp?v=1781690760","variant_ids":[44265600057443]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Y-RV07","featured_media":{"alt":null,"id":27531399135331,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45882adb35fbfa662372244e62c35f8fd6bc3688.webp?v=1781690760"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265601335395,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012590268515,"product_id":8035896524899,"position":5,"created_at":"2026-06-17T18:05:49+08:00","updated_at":"2026-06-17T18:05:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f29a6d85854240891390f129b76c78258ff3e.webp?v=1781690751","variant_ids":[44265601335395]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525X-RV07","featured_media":{"alt":null,"id":27531394089059,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f29a6d85854240891390f129b76c78258ff3e.webp?v=1781690751"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265602089059,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012594790499,"product_id":8035896524899,"position":11,"created_at":"2026-06-17T18:05:56+08:00","updated_at":"2026-06-17T18:05:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/423e0c88f69eeb8d5af1e009b55d89eeecdaf2a5.webp?v=1781690758","variant_ids":[44265602089059]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525H-RV07","featured_media":{"alt":null,"id":27531398611043,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/423e0c88f69eeb8d5af1e009b55d89eeecdaf2a5.webp?v=1781690758"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265602777187,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012593872995,"product_id":8035896524899,"position":9,"created_at":"2026-06-17T18:05:54+08:00","updated_at":"2026-06-17T18:05:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c35c0bcb00c9a5337bc1124c44e898930e7b2c.webp?v=1781690756","variant_ids":[44265602777187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524I-RV07","featured_media":{"alt":null,"id":27531397693539,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c35c0bcb00c9a5337bc1124c44e898930e7b2c.webp?v=1781690756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265603563619,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012588662883,"product_id":8035896524899,"position":3,"created_at":"2026-06-17T18:05:47+08:00","updated_at":"2026-06-17T18:05:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c12bd97688f472e220d9720dcffe55aac8ac2b2.webp?v=1781690749","variant_ids":[44265603563619]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524H-RV07","featured_media":{"alt":null,"id":27531392483427,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c12bd97688f472e220d9720dcffe55aac8ac2b2.webp?v=1781690749"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265604022371,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012589482083,"product_id":8035896524899,"position":4,"created_at":"2026-06-17T18:05:48+08:00","updated_at":"2026-06-17T18:05:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afbdfe5092ee3d20ac9f04994995d8052b3c8aa8.webp?v=1781690750","variant_ids":[44265604022371]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013523O-RV07","featured_media":{"alt":null,"id":27531393269859,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afbdfe5092ee3d20ac9f04994995d8052b3c8aa8.webp?v=1781690750"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265604612195,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012595085411,"product_id":8035896524899,"position":12,"created_at":"2026-06-17T18:05:57+08:00","updated_at":"2026-06-17T18:05:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cdb54f1fba4963b9f6b1d0646f994a3e5143f7f.webp?v=1781690759","variant_ids":[44265604612195]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520F-RV07","featured_media":{"alt":null,"id":27531398905955,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cdb54f1fba4963b9f6b1d0646f994a3e5143f7f.webp?v=1781690759"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265605136483,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012593250403,"product_id":8035896524899,"position":8,"created_at":"2026-06-17T18:05:53+08:00","updated_at":"2026-06-17T18:05:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9932a146f25c5d6f2c8bfa4bb595bfcbd50fdc46.webp?v=1781690755","variant_ids":[44265605136483]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520B-RV07","featured_media":{"alt":null,"id":27531397070947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9932a146f25c5d6f2c8bfa4bb595bfcbd50fdc46.webp?v=1781690755"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265605628003,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012591906915,"product_id":8035896524899,"position":6,"created_at":"2026-06-17T18:05:52+08:00","updated_at":"2026-06-17T18:05:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c41212950396a23c7de67f0f6917298fd5809787.webp?v=1781690754","variant_ids":[44265605628003]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-RV07","featured_media":{"alt":null,"id":27531395727459,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c41212950396a23c7de67f0f6917298fd5809787.webp?v=1781690754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265605890147,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012587286627,"product_id":8035896524899,"position":1,"created_at":"2026-06-17T18:05:46+08:00","updated_at":"2026-06-17T18:05:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cec1db184859e81b1d041958022d4d83c7824126.webp?v=1781690748","variant_ids":[44265605890147]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01352O8-RV07","featured_media":{"alt":null,"id":27531391107171,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cec1db184859e81b1d041958022d4d83c7824126.webp?v=1781690748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265606119523,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012592627811,"product_id":8035896524899,"position":7,"created_at":"2026-06-17T18:05:52+08:00","updated_at":"2026-06-17T18:05:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca66bd6db5a29124bf10d609d68da000cb5fcdfd.webp?v=1781690754","variant_ids":[44265606119523]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-RV07","featured_media":{"alt":null,"id":27531396481123,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca66bd6db5a29124bf10d609d68da000cb5fcdfd.webp?v=1781690754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44265585377379,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-RV07","requires_shipping":true,"taxable":true,"featured_image":{"id":36012587974755,"product_id":8035896524899,"position":2,"created_at":"2026-06-17T18:05:46+08:00","updated_at":"2026-06-17T18:05:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2f6649d302d32e4f799793f73b7d3ac21f3a6ac.webp?v=1781690748","variant_ids":[44265585377379]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 Hi!花小兔 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Z-RV07","featured_media":{"alt":null,"id":27531391795299,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2f6649d302d32e4f799793f73b7d3ac21f3a6ac.webp?v=1781690748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }