$product = {"id":8035763355747,"title":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 像素百貨","handle":"iphone-17-pro-solidx-magsafe-kf120","description":null,"published_at":"2026-06-22T09:31:54+08:00","created_at":"2026-06-17T17:32:38+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-oldhouseface","device-iPhone 17 Pro","merge","reseller-oldhouseface"],"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":44265155002467,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011993268323,"product_id":8035763355747,"position":12,"created_at":"2026-06-17T17:33:36+08:00","updated_at":"2026-06-17T17:33:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95e70d29030432f503ab885563e0d9c61436d28d.webp?v=1781688818","variant_ids":[44265155002467]},"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-KF120","featured_media":{"alt":null,"id":27530797514851,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95e70d29030432f503ab885563e0d9c61436d28d.webp?v=1781688818"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265164669027,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992416355,"product_id":8035763355747,"position":7,"created_at":"2026-06-17T17:33:33+08:00","updated_at":"2026-06-17T17:33:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c7039efae1f5a0078d8f984e3d377fbccb70217.webp?v=1781688815","variant_ids":[44265164669027]},"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-KF120","featured_media":{"alt":null,"id":27530796400739,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c7039efae1f5a0078d8f984e3d377fbccb70217.webp?v=1781688815"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265164996707,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011990286435,"product_id":8035763355747,"position":1,"created_at":"2026-06-17T17:33:28+08:00","updated_at":"2026-06-17T17:33:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba146a6d525bab716009f16b2bba8d797ed7e33f.webp?v=1781688810","variant_ids":[44265164996707]},"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-KF120","featured_media":{"alt":null,"id":27530794270819,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba146a6d525bab716009f16b2bba8d797ed7e33f.webp?v=1781688810"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265165324387,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992285283,"product_id":8035763355747,"position":6,"created_at":"2026-06-17T17:33:32+08:00","updated_at":"2026-06-17T17:33:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6295540e62558628350cf64f7c1249f707024a21.webp?v=1781688814","variant_ids":[44265165324387]},"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-KF120","featured_media":{"alt":null,"id":27530796269667,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6295540e62558628350cf64f7c1249f707024a21.webp?v=1781688814"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265165979747,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011993399395,"product_id":8035763355747,"position":13,"created_at":"2026-06-17T17:33:36+08:00","updated_at":"2026-06-17T17:33:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/daecf00d30fc8c7443be1b027a6ed1eea02c059b.webp?v=1781688818","variant_ids":[44265165979747]},"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-KF120","featured_media":{"alt":null,"id":27530797645923,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/daecf00d30fc8c7443be1b027a6ed1eea02c059b.webp?v=1781688818"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265166241891,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011990810723,"product_id":8035763355747,"position":2,"created_at":"2026-06-17T17:33:28+08:00","updated_at":"2026-06-17T17:33:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66ef51e0476c5ce997142c17fb716e23e68647b3.webp?v=1781688810","variant_ids":[44265166241891]},"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-KF120","featured_media":{"alt":null,"id":27530794795107,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66ef51e0476c5ce997142c17fb716e23e68647b3.webp?v=1781688810"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265166471267,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992809571,"product_id":8035763355747,"position":9,"created_at":"2026-06-17T17:33:34+08:00","updated_at":"2026-06-17T17:33:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d95da2e9917e23b876f26ea47b5d218fd779060.webp?v=1781688816","variant_ids":[44265166471267]},"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-KF120","featured_media":{"alt":null,"id":27530797056099,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d95da2e9917e23b876f26ea47b5d218fd779060.webp?v=1781688816"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265166733411,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011991433315,"product_id":8035763355747,"position":3,"created_at":"2026-06-17T17:33:30+08:00","updated_at":"2026-06-17T17:33:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ae842652355ae003a3401cb0cacc6ba6fdbe747.webp?v=1781688812","variant_ids":[44265166733411]},"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-KF120","featured_media":{"alt":null,"id":27530795417699,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ae842652355ae003a3401cb0cacc6ba6fdbe747.webp?v=1781688812"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265166962787,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992055907,"product_id":8035763355747,"position":5,"created_at":"2026-06-17T17:33:31+08:00","updated_at":"2026-06-17T17:33:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/701e92f39aa5b2ab0b65279d978c6cb27af9be9c.webp?v=1781688813","variant_ids":[44265166962787]},"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-KF120","featured_media":{"alt":null,"id":27530796040291,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/701e92f39aa5b2ab0b65279d978c6cb27af9be9c.webp?v=1781688813"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265167224931,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992678499,"product_id":8035763355747,"position":8,"created_at":"2026-06-17T17:33:33+08:00","updated_at":"2026-06-17T17:33:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9435c9c278f926fe2ba35095a4d004067de6a13.webp?v=1781688815","variant_ids":[44265167224931]},"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-KF120","featured_media":{"alt":null,"id":27530796630115,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9435c9c278f926fe2ba35095a4d004067de6a13.webp?v=1781688815"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265167519843,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011991760995,"product_id":8035763355747,"position":4,"created_at":"2026-06-17T17:33:31+08:00","updated_at":"2026-06-17T17:33:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5072d3b77b5290c553db47f60c0628cdde5680cd.webp?v=1781688813","variant_ids":[44265167519843]},"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-KF120","featured_media":{"alt":null,"id":27530795745379,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5072d3b77b5290c553db47f60c0628cdde5680cd.webp?v=1781688813"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265167814755,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992940643,"product_id":8035763355747,"position":10,"created_at":"2026-06-17T17:33:34+08:00","updated_at":"2026-06-17T17:33:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ca9758aa9e841464ab6e45ca03dc0f802fecd07.webp?v=1781688817","variant_ids":[44265167814755]},"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-KF120","featured_media":{"alt":null,"id":27530797187171,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ca9758aa9e841464ab6e45ca03dc0f802fecd07.webp?v=1781688817"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265167978595,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011993137251,"product_id":8035763355747,"position":11,"created_at":"2026-06-17T17:33:35+08:00","updated_at":"2026-06-17T17:33:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bfc0c1277a50ac6a40054c338c3ae43700ea252.webp?v=1781688817","variant_ids":[44265167978595]},"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-KF120","featured_media":{"alt":null,"id":27530797383779,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bfc0c1277a50ac6a40054c338c3ae43700ea252.webp?v=1781688817"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba146a6d525bab716009f16b2bba8d797ed7e33f.webp?v=1781688810","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66ef51e0476c5ce997142c17fb716e23e68647b3.webp?v=1781688810","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ae842652355ae003a3401cb0cacc6ba6fdbe747.webp?v=1781688812","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5072d3b77b5290c553db47f60c0628cdde5680cd.webp?v=1781688813","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/701e92f39aa5b2ab0b65279d978c6cb27af9be9c.webp?v=1781688813","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6295540e62558628350cf64f7c1249f707024a21.webp?v=1781688814","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c7039efae1f5a0078d8f984e3d377fbccb70217.webp?v=1781688815","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9435c9c278f926fe2ba35095a4d004067de6a13.webp?v=1781688815","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d95da2e9917e23b876f26ea47b5d218fd779060.webp?v=1781688816","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ca9758aa9e841464ab6e45ca03dc0f802fecd07.webp?v=1781688817","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bfc0c1277a50ac6a40054c338c3ae43700ea252.webp?v=1781688817","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95e70d29030432f503ab885563e0d9c61436d28d.webp?v=1781688818","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/daecf00d30fc8c7443be1b027a6ed1eea02c059b.webp?v=1781688818"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba146a6d525bab716009f16b2bba8d797ed7e33f.webp?v=1781688810","options":["color"],"media":[{"alt":null,"id":27530794270819,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba146a6d525bab716009f16b2bba8d797ed7e33f.webp?v=1781688810"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba146a6d525bab716009f16b2bba8d797ed7e33f.webp?v=1781688810","width":2000},{"alt":null,"id":27530794795107,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66ef51e0476c5ce997142c17fb716e23e68647b3.webp?v=1781688810"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66ef51e0476c5ce997142c17fb716e23e68647b3.webp?v=1781688810","width":2000},{"alt":null,"id":27530795417699,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ae842652355ae003a3401cb0cacc6ba6fdbe747.webp?v=1781688812"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ae842652355ae003a3401cb0cacc6ba6fdbe747.webp?v=1781688812","width":2000},{"alt":null,"id":27530795745379,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5072d3b77b5290c553db47f60c0628cdde5680cd.webp?v=1781688813"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5072d3b77b5290c553db47f60c0628cdde5680cd.webp?v=1781688813","width":2000},{"alt":null,"id":27530796040291,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/701e92f39aa5b2ab0b65279d978c6cb27af9be9c.webp?v=1781688813"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/701e92f39aa5b2ab0b65279d978c6cb27af9be9c.webp?v=1781688813","width":2000},{"alt":null,"id":27530796269667,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6295540e62558628350cf64f7c1249f707024a21.webp?v=1781688814"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6295540e62558628350cf64f7c1249f707024a21.webp?v=1781688814","width":2000},{"alt":null,"id":27530796400739,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c7039efae1f5a0078d8f984e3d377fbccb70217.webp?v=1781688815"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c7039efae1f5a0078d8f984e3d377fbccb70217.webp?v=1781688815","width":2000},{"alt":null,"id":27530796630115,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9435c9c278f926fe2ba35095a4d004067de6a13.webp?v=1781688815"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9435c9c278f926fe2ba35095a4d004067de6a13.webp?v=1781688815","width":2000},{"alt":null,"id":27530797056099,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d95da2e9917e23b876f26ea47b5d218fd779060.webp?v=1781688816"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d95da2e9917e23b876f26ea47b5d218fd779060.webp?v=1781688816","width":2000},{"alt":null,"id":27530797187171,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ca9758aa9e841464ab6e45ca03dc0f802fecd07.webp?v=1781688817"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ca9758aa9e841464ab6e45ca03dc0f802fecd07.webp?v=1781688817","width":2000},{"alt":null,"id":27530797383779,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bfc0c1277a50ac6a40054c338c3ae43700ea252.webp?v=1781688817"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bfc0c1277a50ac6a40054c338c3ae43700ea252.webp?v=1781688817","width":2000},{"alt":null,"id":27530797514851,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95e70d29030432f503ab885563e0d9c61436d28d.webp?v=1781688818"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95e70d29030432f503ab885563e0d9c61436d28d.webp?v=1781688818","width":2000},{"alt":null,"id":27530797645923,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/daecf00d30fc8c7443be1b027a6ed1eea02c059b.webp?v=1781688818"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/daecf00d30fc8c7443be1b027a6ed1eea02c059b.webp?v=1781688818","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44265155002467,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011993268323,"product_id":8035763355747,"position":12,"created_at":"2026-06-17T17:33:36+08:00","updated_at":"2026-06-17T17:33:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95e70d29030432f503ab885563e0d9c61436d28d.webp?v=1781688818","variant_ids":[44265155002467]},"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-KF120","featured_media":{"alt":null,"id":27530797514851,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95e70d29030432f503ab885563e0d9c61436d28d.webp?v=1781688818"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265164669027,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992416355,"product_id":8035763355747,"position":7,"created_at":"2026-06-17T17:33:33+08:00","updated_at":"2026-06-17T17:33:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c7039efae1f5a0078d8f984e3d377fbccb70217.webp?v=1781688815","variant_ids":[44265164669027]},"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-KF120","featured_media":{"alt":null,"id":27530796400739,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c7039efae1f5a0078d8f984e3d377fbccb70217.webp?v=1781688815"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265164996707,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011990286435,"product_id":8035763355747,"position":1,"created_at":"2026-06-17T17:33:28+08:00","updated_at":"2026-06-17T17:33:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba146a6d525bab716009f16b2bba8d797ed7e33f.webp?v=1781688810","variant_ids":[44265164996707]},"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-KF120","featured_media":{"alt":null,"id":27530794270819,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba146a6d525bab716009f16b2bba8d797ed7e33f.webp?v=1781688810"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265165324387,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992285283,"product_id":8035763355747,"position":6,"created_at":"2026-06-17T17:33:32+08:00","updated_at":"2026-06-17T17:33:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6295540e62558628350cf64f7c1249f707024a21.webp?v=1781688814","variant_ids":[44265165324387]},"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-KF120","featured_media":{"alt":null,"id":27530796269667,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6295540e62558628350cf64f7c1249f707024a21.webp?v=1781688814"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265165979747,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011993399395,"product_id":8035763355747,"position":13,"created_at":"2026-06-17T17:33:36+08:00","updated_at":"2026-06-17T17:33:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/daecf00d30fc8c7443be1b027a6ed1eea02c059b.webp?v=1781688818","variant_ids":[44265165979747]},"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-KF120","featured_media":{"alt":null,"id":27530797645923,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/daecf00d30fc8c7443be1b027a6ed1eea02c059b.webp?v=1781688818"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265166241891,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011990810723,"product_id":8035763355747,"position":2,"created_at":"2026-06-17T17:33:28+08:00","updated_at":"2026-06-17T17:33:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66ef51e0476c5ce997142c17fb716e23e68647b3.webp?v=1781688810","variant_ids":[44265166241891]},"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-KF120","featured_media":{"alt":null,"id":27530794795107,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66ef51e0476c5ce997142c17fb716e23e68647b3.webp?v=1781688810"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265166471267,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992809571,"product_id":8035763355747,"position":9,"created_at":"2026-06-17T17:33:34+08:00","updated_at":"2026-06-17T17:33:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d95da2e9917e23b876f26ea47b5d218fd779060.webp?v=1781688816","variant_ids":[44265166471267]},"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-KF120","featured_media":{"alt":null,"id":27530797056099,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d95da2e9917e23b876f26ea47b5d218fd779060.webp?v=1781688816"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265166733411,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011991433315,"product_id":8035763355747,"position":3,"created_at":"2026-06-17T17:33:30+08:00","updated_at":"2026-06-17T17:33:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ae842652355ae003a3401cb0cacc6ba6fdbe747.webp?v=1781688812","variant_ids":[44265166733411]},"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-KF120","featured_media":{"alt":null,"id":27530795417699,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ae842652355ae003a3401cb0cacc6ba6fdbe747.webp?v=1781688812"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265166962787,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992055907,"product_id":8035763355747,"position":5,"created_at":"2026-06-17T17:33:31+08:00","updated_at":"2026-06-17T17:33:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/701e92f39aa5b2ab0b65279d978c6cb27af9be9c.webp?v=1781688813","variant_ids":[44265166962787]},"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-KF120","featured_media":{"alt":null,"id":27530796040291,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/701e92f39aa5b2ab0b65279d978c6cb27af9be9c.webp?v=1781688813"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265167224931,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992678499,"product_id":8035763355747,"position":8,"created_at":"2026-06-17T17:33:33+08:00","updated_at":"2026-06-17T17:33:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9435c9c278f926fe2ba35095a4d004067de6a13.webp?v=1781688815","variant_ids":[44265167224931]},"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-KF120","featured_media":{"alt":null,"id":27530796630115,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9435c9c278f926fe2ba35095a4d004067de6a13.webp?v=1781688815"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265167519843,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011991760995,"product_id":8035763355747,"position":4,"created_at":"2026-06-17T17:33:31+08:00","updated_at":"2026-06-17T17:33:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5072d3b77b5290c553db47f60c0628cdde5680cd.webp?v=1781688813","variant_ids":[44265167519843]},"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-KF120","featured_media":{"alt":null,"id":27530795745379,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5072d3b77b5290c553db47f60c0628cdde5680cd.webp?v=1781688813"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265167814755,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992940643,"product_id":8035763355747,"position":10,"created_at":"2026-06-17T17:33:34+08:00","updated_at":"2026-06-17T17:33:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ca9758aa9e841464ab6e45ca03dc0f802fecd07.webp?v=1781688817","variant_ids":[44265167814755]},"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-KF120","featured_media":{"alt":null,"id":27530797187171,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ca9758aa9e841464ab6e45ca03dc0f802fecd07.webp?v=1781688817"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265167978595,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011993137251,"product_id":8035763355747,"position":11,"created_at":"2026-06-17T17:33:35+08:00","updated_at":"2026-06-17T17:33:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bfc0c1277a50ac6a40054c338c3ae43700ea252.webp?v=1781688817","variant_ids":[44265167978595]},"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-KF120","featured_media":{"alt":null,"id":27530797383779,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bfc0c1277a50ac6a40054c338c3ae43700ea252.webp?v=1781688817"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44265155002467,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-KF120","requires_shipping":true,"taxable":true,"featured_image":{"id":36011993268323,"product_id":8035763355747,"position":12,"created_at":"2026-06-17T17:33:36+08:00","updated_at":"2026-06-17T17:33:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95e70d29030432f503ab885563e0d9c61436d28d.webp?v=1781688818","variant_ids":[44265155002467]},"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-KF120","featured_media":{"alt":null,"id":27530797514851,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95e70d29030432f503ab885563e0d9c61436d28d.webp?v=1781688818"}},"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: "停產" }