$product = {"id":8035896852579,"title":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲","handle":"iphone-17-pro-solidx-magsafe-ry01","description":null,"published_at":"2026-06-22T16:13:14+08:00","created_at":"2026-06-17T18:05:45+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":44265589604451,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012599181411,"product_id":8035896852579,"position":4,"created_at":"2026-06-17T18:06:38+08:00","updated_at":"2026-06-17T18:06:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/915f32f2c10a59268be91ddcad16392e5a2f62c3.webp?v=1781690800","variant_ids":[44265589604451]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531402838115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/915f32f2c10a59268be91ddcad16392e5a2f62c3.webp?v=1781690800"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265607069795,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012599509091,"product_id":8035896852579,"position":8,"created_at":"2026-06-17T18:06:40+08:00","updated_at":"2026-06-17T18:06:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c7efc5d8d485db711e0ed7673169c3b7568b580.webp?v=1781690802","variant_ids":[44265607069795]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531403165795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c7efc5d8d485db711e0ed7673169c3b7568b580.webp?v=1781690802"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265607102563,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012599378019,"product_id":8035896852579,"position":7,"created_at":"2026-06-17T18:06:39+08:00","updated_at":"2026-06-17T18:06:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8150100367410ab3fa121886b703d10fc26c5e4.webp?v=1781690802","variant_ids":[44265607102563]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531403034723,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8150100367410ab3fa121886b703d10fc26c5e4.webp?v=1781690802"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265607135331,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012598919267,"product_id":8035896852579,"position":1,"created_at":"2026-06-17T18:06:35+08:00","updated_at":"2026-06-17T18:06:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3531d96cfdee25269a3bebfeae0e4c94285780f.webp?v=1781690797","variant_ids":[44265607135331]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531402575971,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3531d96cfdee25269a3bebfeae0e4c94285780f.webp?v=1781690797"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265607168099,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012599246947,"product_id":8035896852579,"position":6,"created_at":"2026-06-17T18:06:39+08:00","updated_at":"2026-06-17T18:06:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0da5a98516f9b6be45cf39c771dd4f7af7ee15d3.webp?v=1781690801","variant_ids":[44265607168099]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531402903651,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0da5a98516f9b6be45cf39c771dd4f7af7ee15d3.webp?v=1781690801"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265607200867,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012599902307,"product_id":8035896852579,"position":10,"created_at":"2026-06-17T18:06:41+08:00","updated_at":"2026-06-17T18:06:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30dde77c548febcc47957f948f6ed5db93062227.webp?v=1781690803","variant_ids":[44265607200867]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531403559011,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30dde77c548febcc47957f948f6ed5db93062227.webp?v=1781690803"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265607331939,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012599214179,"product_id":8035896852579,"position":5,"created_at":"2026-06-17T18:06:38+08:00","updated_at":"2026-06-17T18:06:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d77f708201f23ed337d832adcbc5ec53a1f4f72.webp?v=1781690801","variant_ids":[44265607331939]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531402870883,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d77f708201f23ed337d832adcbc5ec53a1f4f72.webp?v=1781690801"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265607463011,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012600393827,"product_id":8035896852579,"position":12,"created_at":"2026-06-17T18:06:42+08:00","updated_at":"2026-06-17T18:06:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b738b00c09190107a9e230bad06a659bf841ce.webp?v=1781690804","variant_ids":[44265607463011]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531404214371,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b738b00c09190107a9e230bad06a659bf841ce.webp?v=1781690804"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265607692387,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012600164451,"product_id":8035896852579,"position":11,"created_at":"2026-06-17T18:06:42+08:00","updated_at":"2026-06-17T18:06:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15f5ce46d4ebca2496e15758c1d307d9c6b6b343.webp?v=1781690804","variant_ids":[44265607692387]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531403821155,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15f5ce46d4ebca2496e15758c1d307d9c6b6b343.webp?v=1781690804"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265607757923,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012599640163,"product_id":8035896852579,"position":9,"created_at":"2026-06-17T18:06:41+08:00","updated_at":"2026-06-17T18:06:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb1ab724f243cd8564cfc378e55937acd27f8ae2.webp?v=1781690803","variant_ids":[44265607757923]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531403296867,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb1ab724f243cd8564cfc378e55937acd27f8ae2.webp?v=1781690803"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265608052835,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012598952035,"product_id":8035896852579,"position":2,"created_at":"2026-06-17T18:06:35+08:00","updated_at":"2026-06-17T18:06:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/823b758e8162b7d290dedd2144627aeee1763355.webp?v=1781690797","variant_ids":[44265608052835]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531402772579,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/823b758e8162b7d290dedd2144627aeee1763355.webp?v=1781690797"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265608282211,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012599148643,"product_id":8035896852579,"position":3,"created_at":"2026-06-17T18:06:37+08:00","updated_at":"2026-06-17T18:06:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74df8a629a02c454bfee8e6d094443e50d02cdbc.webp?v=1781690800","variant_ids":[44265608282211]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531402805347,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74df8a629a02c454bfee8e6d094443e50d02cdbc.webp?v=1781690800"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265608446051,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012600623203,"product_id":8035896852579,"position":13,"created_at":"2026-06-17T18:06:43+08:00","updated_at":"2026-06-17T18:06:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b961bea29b180c692832a9cd36a6f07e7feadc6.webp?v=1781690805","variant_ids":[44265608446051]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531404443747,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b961bea29b180c692832a9cd36a6f07e7feadc6.webp?v=1781690805"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3531d96cfdee25269a3bebfeae0e4c94285780f.webp?v=1781690797","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/823b758e8162b7d290dedd2144627aeee1763355.webp?v=1781690797","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74df8a629a02c454bfee8e6d094443e50d02cdbc.webp?v=1781690800","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/915f32f2c10a59268be91ddcad16392e5a2f62c3.webp?v=1781690800","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d77f708201f23ed337d832adcbc5ec53a1f4f72.webp?v=1781690801","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0da5a98516f9b6be45cf39c771dd4f7af7ee15d3.webp?v=1781690801","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8150100367410ab3fa121886b703d10fc26c5e4.webp?v=1781690802","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c7efc5d8d485db711e0ed7673169c3b7568b580.webp?v=1781690802","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb1ab724f243cd8564cfc378e55937acd27f8ae2.webp?v=1781690803","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30dde77c548febcc47957f948f6ed5db93062227.webp?v=1781690803","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15f5ce46d4ebca2496e15758c1d307d9c6b6b343.webp?v=1781690804","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b738b00c09190107a9e230bad06a659bf841ce.webp?v=1781690804","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b961bea29b180c692832a9cd36a6f07e7feadc6.webp?v=1781690805"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3531d96cfdee25269a3bebfeae0e4c94285780f.webp?v=1781690797","options":["color"],"media":[{"alt":null,"id":27531402575971,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3531d96cfdee25269a3bebfeae0e4c94285780f.webp?v=1781690797"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3531d96cfdee25269a3bebfeae0e4c94285780f.webp?v=1781690797","width":2000},{"alt":null,"id":27531402772579,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/823b758e8162b7d290dedd2144627aeee1763355.webp?v=1781690797"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/823b758e8162b7d290dedd2144627aeee1763355.webp?v=1781690797","width":2000},{"alt":null,"id":27531402805347,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74df8a629a02c454bfee8e6d094443e50d02cdbc.webp?v=1781690800"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74df8a629a02c454bfee8e6d094443e50d02cdbc.webp?v=1781690800","width":2000},{"alt":null,"id":27531402838115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/915f32f2c10a59268be91ddcad16392e5a2f62c3.webp?v=1781690800"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/915f32f2c10a59268be91ddcad16392e5a2f62c3.webp?v=1781690800","width":2000},{"alt":null,"id":27531402870883,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d77f708201f23ed337d832adcbc5ec53a1f4f72.webp?v=1781690801"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d77f708201f23ed337d832adcbc5ec53a1f4f72.webp?v=1781690801","width":2000},{"alt":null,"id":27531402903651,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0da5a98516f9b6be45cf39c771dd4f7af7ee15d3.webp?v=1781690801"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0da5a98516f9b6be45cf39c771dd4f7af7ee15d3.webp?v=1781690801","width":2000},{"alt":null,"id":27531403034723,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8150100367410ab3fa121886b703d10fc26c5e4.webp?v=1781690802"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8150100367410ab3fa121886b703d10fc26c5e4.webp?v=1781690802","width":2000},{"alt":null,"id":27531403165795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c7efc5d8d485db711e0ed7673169c3b7568b580.webp?v=1781690802"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c7efc5d8d485db711e0ed7673169c3b7568b580.webp?v=1781690802","width":2000},{"alt":null,"id":27531403296867,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb1ab724f243cd8564cfc378e55937acd27f8ae2.webp?v=1781690803"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb1ab724f243cd8564cfc378e55937acd27f8ae2.webp?v=1781690803","width":2000},{"alt":null,"id":27531403559011,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30dde77c548febcc47957f948f6ed5db93062227.webp?v=1781690803"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30dde77c548febcc47957f948f6ed5db93062227.webp?v=1781690803","width":2000},{"alt":null,"id":27531403821155,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15f5ce46d4ebca2496e15758c1d307d9c6b6b343.webp?v=1781690804"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15f5ce46d4ebca2496e15758c1d307d9c6b6b343.webp?v=1781690804","width":2000},{"alt":null,"id":27531404214371,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b738b00c09190107a9e230bad06a659bf841ce.webp?v=1781690804"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b738b00c09190107a9e230bad06a659bf841ce.webp?v=1781690804","width":2000},{"alt":null,"id":27531404443747,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b961bea29b180c692832a9cd36a6f07e7feadc6.webp?v=1781690805"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b961bea29b180c692832a9cd36a6f07e7feadc6.webp?v=1781690805","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44265589604451,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012599181411,"product_id":8035896852579,"position":4,"created_at":"2026-06-17T18:06:38+08:00","updated_at":"2026-06-17T18:06:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/915f32f2c10a59268be91ddcad16392e5a2f62c3.webp?v=1781690800","variant_ids":[44265589604451]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531402838115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/915f32f2c10a59268be91ddcad16392e5a2f62c3.webp?v=1781690800"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265607069795,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012599509091,"product_id":8035896852579,"position":8,"created_at":"2026-06-17T18:06:40+08:00","updated_at":"2026-06-17T18:06:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c7efc5d8d485db711e0ed7673169c3b7568b580.webp?v=1781690802","variant_ids":[44265607069795]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531403165795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c7efc5d8d485db711e0ed7673169c3b7568b580.webp?v=1781690802"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265607102563,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012599378019,"product_id":8035896852579,"position":7,"created_at":"2026-06-17T18:06:39+08:00","updated_at":"2026-06-17T18:06:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8150100367410ab3fa121886b703d10fc26c5e4.webp?v=1781690802","variant_ids":[44265607102563]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531403034723,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8150100367410ab3fa121886b703d10fc26c5e4.webp?v=1781690802"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265607135331,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012598919267,"product_id":8035896852579,"position":1,"created_at":"2026-06-17T18:06:35+08:00","updated_at":"2026-06-17T18:06:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3531d96cfdee25269a3bebfeae0e4c94285780f.webp?v=1781690797","variant_ids":[44265607135331]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531402575971,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3531d96cfdee25269a3bebfeae0e4c94285780f.webp?v=1781690797"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265607168099,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012599246947,"product_id":8035896852579,"position":6,"created_at":"2026-06-17T18:06:39+08:00","updated_at":"2026-06-17T18:06:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0da5a98516f9b6be45cf39c771dd4f7af7ee15d3.webp?v=1781690801","variant_ids":[44265607168099]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531402903651,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0da5a98516f9b6be45cf39c771dd4f7af7ee15d3.webp?v=1781690801"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265607200867,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012599902307,"product_id":8035896852579,"position":10,"created_at":"2026-06-17T18:06:41+08:00","updated_at":"2026-06-17T18:06:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30dde77c548febcc47957f948f6ed5db93062227.webp?v=1781690803","variant_ids":[44265607200867]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531403559011,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30dde77c548febcc47957f948f6ed5db93062227.webp?v=1781690803"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265607331939,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012599214179,"product_id":8035896852579,"position":5,"created_at":"2026-06-17T18:06:38+08:00","updated_at":"2026-06-17T18:06:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d77f708201f23ed337d832adcbc5ec53a1f4f72.webp?v=1781690801","variant_ids":[44265607331939]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531402870883,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d77f708201f23ed337d832adcbc5ec53a1f4f72.webp?v=1781690801"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265607463011,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012600393827,"product_id":8035896852579,"position":12,"created_at":"2026-06-17T18:06:42+08:00","updated_at":"2026-06-17T18:06:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b738b00c09190107a9e230bad06a659bf841ce.webp?v=1781690804","variant_ids":[44265607463011]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531404214371,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b738b00c09190107a9e230bad06a659bf841ce.webp?v=1781690804"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265607692387,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012600164451,"product_id":8035896852579,"position":11,"created_at":"2026-06-17T18:06:42+08:00","updated_at":"2026-06-17T18:06:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15f5ce46d4ebca2496e15758c1d307d9c6b6b343.webp?v=1781690804","variant_ids":[44265607692387]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531403821155,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15f5ce46d4ebca2496e15758c1d307d9c6b6b343.webp?v=1781690804"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265607757923,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012599640163,"product_id":8035896852579,"position":9,"created_at":"2026-06-17T18:06:41+08:00","updated_at":"2026-06-17T18:06:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb1ab724f243cd8564cfc378e55937acd27f8ae2.webp?v=1781690803","variant_ids":[44265607757923]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531403296867,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb1ab724f243cd8564cfc378e55937acd27f8ae2.webp?v=1781690803"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265608052835,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012598952035,"product_id":8035896852579,"position":2,"created_at":"2026-06-17T18:06:35+08:00","updated_at":"2026-06-17T18:06:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/823b758e8162b7d290dedd2144627aeee1763355.webp?v=1781690797","variant_ids":[44265608052835]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531402772579,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/823b758e8162b7d290dedd2144627aeee1763355.webp?v=1781690797"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265608282211,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012599148643,"product_id":8035896852579,"position":3,"created_at":"2026-06-17T18:06:37+08:00","updated_at":"2026-06-17T18:06:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74df8a629a02c454bfee8e6d094443e50d02cdbc.webp?v=1781690800","variant_ids":[44265608282211]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531402805347,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74df8a629a02c454bfee8e6d094443e50d02cdbc.webp?v=1781690800"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265608446051,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012600623203,"product_id":8035896852579,"position":13,"created_at":"2026-06-17T18:06:43+08:00","updated_at":"2026-06-17T18:06:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b961bea29b180c692832a9cd36a6f07e7feadc6.webp?v=1781690805","variant_ids":[44265608446051]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531404443747,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b961bea29b180c692832a9cd36a6f07e7feadc6.webp?v=1781690805"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44265589604451,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-RY01","requires_shipping":true,"taxable":true,"featured_image":{"id":36012599181411,"product_id":8035896852579,"position":4,"created_at":"2026-06-17T18:06:38+08:00","updated_at":"2026-06-17T18:06:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/915f32f2c10a59268be91ddcad16392e5a2f62c3.webp?v=1781690800","variant_ids":[44265589604451]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 兔媽媽 午茶蕾絲 - 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-RY01","featured_media":{"alt":null,"id":27531402838115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/915f32f2c10a59268be91ddcad16392e5a2f62c3.webp?v=1781690800"}},"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: "停產" }