$product = {"id":8035895246947,"title":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔","handle":"iphone-17-pro-max-solidx-magsafe-rv05","description":null,"published_at":"2026-06-22T16:13:33+08:00","created_at":"2026-06-17T18:04:43+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-sanrio-family","device-iPhone 17 Pro Max","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":44265582002275,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012578766947,"product_id":8035895246947,"position":2,"created_at":"2026-06-17T18:05:33+08:00","updated_at":"2026-06-17T18:05:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2a4fc68dacb66fd5806f9c02917a3983f9dd469.webp?v=1781690736","variant_ids":[44265582002275]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS013535Z-RV05","featured_media":{"alt":null,"id":27531382423651,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2a4fc68dacb66fd5806f9c02917a3983f9dd469.webp?v=1781690736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265591079011,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012578013283,"product_id":8035895246947,"position":1,"created_at":"2026-06-17T18:05:33+08:00","updated_at":"2026-06-17T18:05:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec177d9678c6b059e2264ee16e5351674b75df38.webp?v=1781690735","variant_ids":[44265591079011]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS013536A-RV05","featured_media":{"alt":null,"id":27531381735523,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec177d9678c6b059e2264ee16e5351674b75df38.webp?v=1781690735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265591701603,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012582076515,"product_id":8035895246947,"position":6,"created_at":"2026-06-17T18:05:37+08:00","updated_at":"2026-06-17T18:05:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84778aa5b89d5028a4fd8163996cb5bb55949f0c.webp?v=1781690739","variant_ids":[44265591701603]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS013535Y-RV05","featured_media":{"alt":null,"id":27531385765987,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84778aa5b89d5028a4fd8163996cb5bb55949f0c.webp?v=1781690739"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265592389731,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012586041443,"product_id":8035895246947,"position":13,"created_at":"2026-06-17T18:05:45+08:00","updated_at":"2026-06-17T18:05:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1de39ef747170be7342fc49ec289914b1106cc7.webp?v=1781690747","variant_ids":[44265592389731]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS013535X-RV05","featured_media":{"alt":null,"id":27531389829219,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1de39ef747170be7342fc49ec289914b1106cc7.webp?v=1781690747"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265593045091,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012581126243,"product_id":8035895246947,"position":5,"created_at":"2026-06-17T18:05:36+08:00","updated_at":"2026-06-17T18:05:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c62d9a62d99d9116d10ab405fbb817f9e1637b92.webp?v=1781690738","variant_ids":[44265593045091]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS013535H-RV05","featured_media":{"alt":null,"id":27531384946787,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c62d9a62d99d9116d10ab405fbb817f9e1637b92.webp?v=1781690738"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265593569379,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012585582691,"product_id":8035895246947,"position":12,"created_at":"2026-06-17T18:05:44+08:00","updated_at":"2026-06-17T18:05:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f33f0356b7a1ed2ca1c971901167348c1ca9fad.webp?v=1781690746","variant_ids":[44265593569379]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS013534I-RV05","featured_media":{"alt":null,"id":27531389436003,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f33f0356b7a1ed2ca1c971901167348c1ca9fad.webp?v=1781690746"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265594290275,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012579324003,"product_id":8035895246947,"position":3,"created_at":"2026-06-17T18:05:34+08:00","updated_at":"2026-06-17T18:05:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/441a88014f538dea038bc75c293a8b53a719ef6d.webp?v=1781690736","variant_ids":[44265594290275]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS013534H-RV05","featured_media":{"alt":null,"id":27531383079011,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/441a88014f538dea038bc75c293a8b53a719ef6d.webp?v=1781690736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265594683491,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012584829027,"product_id":8035895246947,"position":11,"created_at":"2026-06-17T18:05:43+08:00","updated_at":"2026-06-17T18:05:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e75ad7704f19f69a19744e73a9528eb1e16ae7d.webp?v=1781690745","variant_ids":[44265594683491]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS013533O-RV05","featured_media":{"alt":null,"id":27531388878947,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e75ad7704f19f69a19744e73a9528eb1e16ae7d.webp?v=1781690745"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265595371619,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012582502499,"product_id":8035895246947,"position":7,"created_at":"2026-06-17T18:05:40+08:00","updated_at":"2026-06-17T18:05:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aad298ec603424e2424bbe7c596041c70e5193e.webp?v=1781690742","variant_ids":[44265595371619]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS013530F-RV05","featured_media":{"alt":null,"id":27531386257507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aad298ec603424e2424bbe7c596041c70e5193e.webp?v=1781690742"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265596256355,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012583223395,"product_id":8035895246947,"position":8,"created_at":"2026-06-17T18:05:41+08:00","updated_at":"2026-06-17T18:05:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edd6f660d0bb9b313c6399fc0aba74225173b1cf.webp?v=1781690743","variant_ids":[44265596256355]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS013530B-RV05","featured_media":{"alt":null,"id":27531386945635,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edd6f660d0bb9b313c6399fc0aba74225173b1cf.webp?v=1781690743"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265596616803,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012583616611,"product_id":8035895246947,"position":9,"created_at":"2026-06-17T18:05:41+08:00","updated_at":"2026-06-17T18:05:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5d52eaab8e19bb9681bc3459ccc205ef8d3ebc0.webp?v=1781690744","variant_ids":[44265596616803]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135352-RV05","featured_media":{"alt":null,"id":27531387404387,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5d52eaab8e19bb9681bc3459ccc205ef8d3ebc0.webp?v=1781690744"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265597436003,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012580274275,"product_id":8035895246947,"position":4,"created_at":"2026-06-17T18:05:35+08:00","updated_at":"2026-06-17T18:05:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70ebad8a00e8bfccfe8a1861d9b4a9e8fb6f3845.webp?v=1781690737","variant_ids":[44265597436003]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS01353O8-RV05","featured_media":{"alt":null,"id":27531384062051,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70ebad8a00e8bfccfe8a1861d9b4a9e8fb6f3845.webp?v=1781690737"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265598058595,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012584271971,"product_id":8035895246947,"position":10,"created_at":"2026-06-17T18:05:42+08:00","updated_at":"2026-06-17T18:05:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/797949e0f770dc9858378612968a4527a407bee4.webp?v=1781690744","variant_ids":[44265598058595]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135353-RV05","featured_media":{"alt":null,"id":27531388092515,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/797949e0f770dc9858378612968a4527a407bee4.webp?v=1781690744"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec177d9678c6b059e2264ee16e5351674b75df38.webp?v=1781690735","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2a4fc68dacb66fd5806f9c02917a3983f9dd469.webp?v=1781690736","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/441a88014f538dea038bc75c293a8b53a719ef6d.webp?v=1781690736","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70ebad8a00e8bfccfe8a1861d9b4a9e8fb6f3845.webp?v=1781690737","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c62d9a62d99d9116d10ab405fbb817f9e1637b92.webp?v=1781690738","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84778aa5b89d5028a4fd8163996cb5bb55949f0c.webp?v=1781690739","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aad298ec603424e2424bbe7c596041c70e5193e.webp?v=1781690742","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edd6f660d0bb9b313c6399fc0aba74225173b1cf.webp?v=1781690743","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5d52eaab8e19bb9681bc3459ccc205ef8d3ebc0.webp?v=1781690744","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/797949e0f770dc9858378612968a4527a407bee4.webp?v=1781690744","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e75ad7704f19f69a19744e73a9528eb1e16ae7d.webp?v=1781690745","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f33f0356b7a1ed2ca1c971901167348c1ca9fad.webp?v=1781690746","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1de39ef747170be7342fc49ec289914b1106cc7.webp?v=1781690747"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec177d9678c6b059e2264ee16e5351674b75df38.webp?v=1781690735","options":["color"],"media":[{"alt":null,"id":27531381735523,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec177d9678c6b059e2264ee16e5351674b75df38.webp?v=1781690735"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec177d9678c6b059e2264ee16e5351674b75df38.webp?v=1781690735","width":2000},{"alt":null,"id":27531382423651,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2a4fc68dacb66fd5806f9c02917a3983f9dd469.webp?v=1781690736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2a4fc68dacb66fd5806f9c02917a3983f9dd469.webp?v=1781690736","width":2000},{"alt":null,"id":27531383079011,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/441a88014f538dea038bc75c293a8b53a719ef6d.webp?v=1781690736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/441a88014f538dea038bc75c293a8b53a719ef6d.webp?v=1781690736","width":2000},{"alt":null,"id":27531384062051,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70ebad8a00e8bfccfe8a1861d9b4a9e8fb6f3845.webp?v=1781690737"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70ebad8a00e8bfccfe8a1861d9b4a9e8fb6f3845.webp?v=1781690737","width":2000},{"alt":null,"id":27531384946787,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c62d9a62d99d9116d10ab405fbb817f9e1637b92.webp?v=1781690738"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c62d9a62d99d9116d10ab405fbb817f9e1637b92.webp?v=1781690738","width":2000},{"alt":null,"id":27531385765987,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84778aa5b89d5028a4fd8163996cb5bb55949f0c.webp?v=1781690739"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84778aa5b89d5028a4fd8163996cb5bb55949f0c.webp?v=1781690739","width":2000},{"alt":null,"id":27531386257507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aad298ec603424e2424bbe7c596041c70e5193e.webp?v=1781690742"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aad298ec603424e2424bbe7c596041c70e5193e.webp?v=1781690742","width":2000},{"alt":null,"id":27531386945635,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edd6f660d0bb9b313c6399fc0aba74225173b1cf.webp?v=1781690743"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edd6f660d0bb9b313c6399fc0aba74225173b1cf.webp?v=1781690743","width":2000},{"alt":null,"id":27531387404387,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5d52eaab8e19bb9681bc3459ccc205ef8d3ebc0.webp?v=1781690744"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5d52eaab8e19bb9681bc3459ccc205ef8d3ebc0.webp?v=1781690744","width":2000},{"alt":null,"id":27531388092515,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/797949e0f770dc9858378612968a4527a407bee4.webp?v=1781690744"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/797949e0f770dc9858378612968a4527a407bee4.webp?v=1781690744","width":2000},{"alt":null,"id":27531388878947,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e75ad7704f19f69a19744e73a9528eb1e16ae7d.webp?v=1781690745"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e75ad7704f19f69a19744e73a9528eb1e16ae7d.webp?v=1781690745","width":2000},{"alt":null,"id":27531389436003,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f33f0356b7a1ed2ca1c971901167348c1ca9fad.webp?v=1781690746"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f33f0356b7a1ed2ca1c971901167348c1ca9fad.webp?v=1781690746","width":2000},{"alt":null,"id":27531389829219,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1de39ef747170be7342fc49ec289914b1106cc7.webp?v=1781690747"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1de39ef747170be7342fc49ec289914b1106cc7.webp?v=1781690747","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44265582002275,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012578766947,"product_id":8035895246947,"position":2,"created_at":"2026-06-17T18:05:33+08:00","updated_at":"2026-06-17T18:05:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2a4fc68dacb66fd5806f9c02917a3983f9dd469.webp?v=1781690736","variant_ids":[44265582002275]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS013535Z-RV05","featured_media":{"alt":null,"id":27531382423651,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2a4fc68dacb66fd5806f9c02917a3983f9dd469.webp?v=1781690736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265591079011,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012578013283,"product_id":8035895246947,"position":1,"created_at":"2026-06-17T18:05:33+08:00","updated_at":"2026-06-17T18:05:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec177d9678c6b059e2264ee16e5351674b75df38.webp?v=1781690735","variant_ids":[44265591079011]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS013536A-RV05","featured_media":{"alt":null,"id":27531381735523,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec177d9678c6b059e2264ee16e5351674b75df38.webp?v=1781690735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265591701603,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012582076515,"product_id":8035895246947,"position":6,"created_at":"2026-06-17T18:05:37+08:00","updated_at":"2026-06-17T18:05:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84778aa5b89d5028a4fd8163996cb5bb55949f0c.webp?v=1781690739","variant_ids":[44265591701603]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS013535Y-RV05","featured_media":{"alt":null,"id":27531385765987,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84778aa5b89d5028a4fd8163996cb5bb55949f0c.webp?v=1781690739"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265592389731,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012586041443,"product_id":8035895246947,"position":13,"created_at":"2026-06-17T18:05:45+08:00","updated_at":"2026-06-17T18:05:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1de39ef747170be7342fc49ec289914b1106cc7.webp?v=1781690747","variant_ids":[44265592389731]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS013535X-RV05","featured_media":{"alt":null,"id":27531389829219,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1de39ef747170be7342fc49ec289914b1106cc7.webp?v=1781690747"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265593045091,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012581126243,"product_id":8035895246947,"position":5,"created_at":"2026-06-17T18:05:36+08:00","updated_at":"2026-06-17T18:05:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c62d9a62d99d9116d10ab405fbb817f9e1637b92.webp?v=1781690738","variant_ids":[44265593045091]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS013535H-RV05","featured_media":{"alt":null,"id":27531384946787,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c62d9a62d99d9116d10ab405fbb817f9e1637b92.webp?v=1781690738"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265593569379,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012585582691,"product_id":8035895246947,"position":12,"created_at":"2026-06-17T18:05:44+08:00","updated_at":"2026-06-17T18:05:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f33f0356b7a1ed2ca1c971901167348c1ca9fad.webp?v=1781690746","variant_ids":[44265593569379]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS013534I-RV05","featured_media":{"alt":null,"id":27531389436003,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f33f0356b7a1ed2ca1c971901167348c1ca9fad.webp?v=1781690746"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265594290275,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012579324003,"product_id":8035895246947,"position":3,"created_at":"2026-06-17T18:05:34+08:00","updated_at":"2026-06-17T18:05:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/441a88014f538dea038bc75c293a8b53a719ef6d.webp?v=1781690736","variant_ids":[44265594290275]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS013534H-RV05","featured_media":{"alt":null,"id":27531383079011,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/441a88014f538dea038bc75c293a8b53a719ef6d.webp?v=1781690736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265594683491,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012584829027,"product_id":8035895246947,"position":11,"created_at":"2026-06-17T18:05:43+08:00","updated_at":"2026-06-17T18:05:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e75ad7704f19f69a19744e73a9528eb1e16ae7d.webp?v=1781690745","variant_ids":[44265594683491]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS013533O-RV05","featured_media":{"alt":null,"id":27531388878947,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e75ad7704f19f69a19744e73a9528eb1e16ae7d.webp?v=1781690745"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265595371619,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012582502499,"product_id":8035895246947,"position":7,"created_at":"2026-06-17T18:05:40+08:00","updated_at":"2026-06-17T18:05:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aad298ec603424e2424bbe7c596041c70e5193e.webp?v=1781690742","variant_ids":[44265595371619]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS013530F-RV05","featured_media":{"alt":null,"id":27531386257507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aad298ec603424e2424bbe7c596041c70e5193e.webp?v=1781690742"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265596256355,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012583223395,"product_id":8035895246947,"position":8,"created_at":"2026-06-17T18:05:41+08:00","updated_at":"2026-06-17T18:05:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edd6f660d0bb9b313c6399fc0aba74225173b1cf.webp?v=1781690743","variant_ids":[44265596256355]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS013530B-RV05","featured_media":{"alt":null,"id":27531386945635,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edd6f660d0bb9b313c6399fc0aba74225173b1cf.webp?v=1781690743"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265596616803,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012583616611,"product_id":8035895246947,"position":9,"created_at":"2026-06-17T18:05:41+08:00","updated_at":"2026-06-17T18:05:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5d52eaab8e19bb9681bc3459ccc205ef8d3ebc0.webp?v=1781690744","variant_ids":[44265596616803]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135352-RV05","featured_media":{"alt":null,"id":27531387404387,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5d52eaab8e19bb9681bc3459ccc205ef8d3ebc0.webp?v=1781690744"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265597436003,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012580274275,"product_id":8035895246947,"position":4,"created_at":"2026-06-17T18:05:35+08:00","updated_at":"2026-06-17T18:05:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70ebad8a00e8bfccfe8a1861d9b4a9e8fb6f3845.webp?v=1781690737","variant_ids":[44265597436003]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS01353O8-RV05","featured_media":{"alt":null,"id":27531384062051,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70ebad8a00e8bfccfe8a1861d9b4a9e8fb6f3845.webp?v=1781690737"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265598058595,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012584271971,"product_id":8035895246947,"position":10,"created_at":"2026-06-17T18:05:42+08:00","updated_at":"2026-06-17T18:05:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/797949e0f770dc9858378612968a4527a407bee4.webp?v=1781690744","variant_ids":[44265598058595]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135353-RV05","featured_media":{"alt":null,"id":27531388092515,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/797949e0f770dc9858378612968a4527a407bee4.webp?v=1781690744"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44265582002275,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-RV05","requires_shipping":true,"taxable":true,"featured_image":{"id":36012578766947,"product_id":8035895246947,"position":2,"created_at":"2026-06-17T18:05:33+08:00","updated_at":"2026-06-17T18:05:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2a4fc68dacb66fd5806f9c02917a3983f9dd469.webp?v=1781690736","variant_ids":[44265582002275]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 Happy 花小兔 - 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":"MNS013535Z-RV05","featured_media":{"alt":null,"id":27531382423651,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2a4fc68dacb66fd5806f9c02917a3983f9dd469.webp?v=1781690736"}},"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: "停產" }