$product = {"id":8035763322979,"title":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 像素招牌","handle":"iphone-17-pro-solidx-magsafe-kf124","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":44265154904163,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992154211,"product_id":8035763322979,"position":13,"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\/c418e3e841f5ed2de5835b2f9c54f7c8b4d45ad8.webp?v=1781688814","variant_ids":[44265154904163]},"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-KF124","featured_media":{"alt":null,"id":27530796138595,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c418e3e841f5ed2de5835b2f9c54f7c8b4d45ad8.webp?v=1781688814"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265163030627,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011989925987,"product_id":8035763322979,"position":6,"created_at":"2026-06-17T17:33:27+08:00","updated_at":"2026-06-17T17:33:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c658518c8e535cc03834f22e164f73bb0f7c03b.webp?v=1781688809","variant_ids":[44265163030627]},"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-KF124","featured_media":{"alt":null,"id":27530793877603,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c658518c8e535cc03834f22e164f73bb0f7c03b.webp?v=1781688809"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265163358307,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011991367779,"product_id":8035763322979,"position":10,"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\/3a3be22363df4cd77824d5c51db7dff1b0dae202.webp?v=1781688812","variant_ids":[44265163358307]},"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-KF124","featured_media":{"alt":null,"id":27530795286627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a3be22363df4cd77824d5c51db7dff1b0dae202.webp?v=1781688812"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265163587683,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992023139,"product_id":8035763322979,"position":12,"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\/ba76495603df16e674d078c8c8af15939d986c2c.webp?v=1781688813","variant_ids":[44265163587683]},"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-KF124","featured_media":{"alt":null,"id":27530796007523,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba76495603df16e674d078c8c8af15939d986c2c.webp?v=1781688813"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265163915363,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011988877411,"product_id":8035763322979,"position":3,"created_at":"2026-06-17T17:33:25+08:00","updated_at":"2026-06-17T17:33:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ed9c38b56f40005ca880a754a023506d500dab3.webp?v=1781688808","variant_ids":[44265163915363]},"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-KF124","featured_media":{"alt":null,"id":27530793123939,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ed9c38b56f40005ca880a754a023506d500dab3.webp?v=1781688808"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265164243043,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011988582499,"product_id":8035763322979,"position":2,"created_at":"2026-06-17T17:33:25+08:00","updated_at":"2026-06-17T17:33:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f4641b63c7d35082a011c698a6e9375002704bd.webp?v=1781688807","variant_ids":[44265164243043]},"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-KF124","featured_media":{"alt":null,"id":27530792829027,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f4641b63c7d35082a011c698a6e9375002704bd.webp?v=1781688807"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265164472419,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011989696611,"product_id":8035763322979,"position":5,"created_at":"2026-06-17T17:33:26+08:00","updated_at":"2026-06-17T17:33:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79f525e1d3f01b65bd28f783a2dfb0c16334ae6d.webp?v=1781688809","variant_ids":[44265164472419]},"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-KF124","featured_media":{"alt":null,"id":27530793713763,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79f525e1d3f01b65bd28f783a2dfb0c16334ae6d.webp?v=1781688809"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265164537955,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011991793763,"product_id":8035763322979,"position":11,"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\/c1164097efd7a884a6dd31de62aafc383ea15d7d.webp?v=1781688813","variant_ids":[44265164537955]},"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-KF124","featured_media":{"alt":null,"id":27530795778147,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1164097efd7a884a6dd31de62aafc383ea15d7d.webp?v=1781688813"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265164734563,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011990253667,"product_id":8035763322979,"position":8,"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\/ad0ebd6b7f2548465c8c977668aeb6771c2b8e42.webp?v=1781688810","variant_ids":[44265164734563]},"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-KF124","featured_media":{"alt":null,"id":27530794238051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad0ebd6b7f2548465c8c977668aeb6771c2b8e42.webp?v=1781688810"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265165062243,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011990089827,"product_id":8035763322979,"position":7,"created_at":"2026-06-17T17:33:27+08:00","updated_at":"2026-06-17T17:33:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76003ffcb687d8d38e0a7c273f81087aba907c81.webp?v=1781688810","variant_ids":[44265165062243]},"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-KF124","featured_media":{"alt":null,"id":27530794074211,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76003ffcb687d8d38e0a7c273f81087aba907c81.webp?v=1781688810"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265165357155,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011988353123,"product_id":8035763322979,"position":1,"created_at":"2026-06-17T17:33:24+08:00","updated_at":"2026-06-17T17:33:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d501e974bb22fe95a8a38c9922b005b69ee72fa0.webp?v=1781688806","variant_ids":[44265165357155]},"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-KF124","featured_media":{"alt":null,"id":27530792599651,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d501e974bb22fe95a8a38c9922b005b69ee72fa0.webp?v=1781688806"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265165914211,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011990745187,"product_id":8035763322979,"position":9,"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\/26515c9315ef4cd6397bc3f85698eaabac6f198b.webp?v=1781688810","variant_ids":[44265165914211]},"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-KF124","featured_media":{"alt":null,"id":27530794762339,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26515c9315ef4cd6397bc3f85698eaabac6f198b.webp?v=1781688810"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265166143587,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011989401699,"product_id":8035763322979,"position":4,"created_at":"2026-06-17T17:33:26+08:00","updated_at":"2026-06-17T17:33:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc78ea6363df7386e6bfde7895b7b6cd003c4b84.webp?v=1781688808","variant_ids":[44265166143587]},"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-KF124","featured_media":{"alt":null,"id":27530793386083,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc78ea6363df7386e6bfde7895b7b6cd003c4b84.webp?v=1781688808"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d501e974bb22fe95a8a38c9922b005b69ee72fa0.webp?v=1781688806","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f4641b63c7d35082a011c698a6e9375002704bd.webp?v=1781688807","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ed9c38b56f40005ca880a754a023506d500dab3.webp?v=1781688808","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc78ea6363df7386e6bfde7895b7b6cd003c4b84.webp?v=1781688808","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79f525e1d3f01b65bd28f783a2dfb0c16334ae6d.webp?v=1781688809","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c658518c8e535cc03834f22e164f73bb0f7c03b.webp?v=1781688809","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76003ffcb687d8d38e0a7c273f81087aba907c81.webp?v=1781688810","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad0ebd6b7f2548465c8c977668aeb6771c2b8e42.webp?v=1781688810","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26515c9315ef4cd6397bc3f85698eaabac6f198b.webp?v=1781688810","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a3be22363df4cd77824d5c51db7dff1b0dae202.webp?v=1781688812","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1164097efd7a884a6dd31de62aafc383ea15d7d.webp?v=1781688813","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba76495603df16e674d078c8c8af15939d986c2c.webp?v=1781688813","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c418e3e841f5ed2de5835b2f9c54f7c8b4d45ad8.webp?v=1781688814"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d501e974bb22fe95a8a38c9922b005b69ee72fa0.webp?v=1781688806","options":["color"],"media":[{"alt":null,"id":27530792599651,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d501e974bb22fe95a8a38c9922b005b69ee72fa0.webp?v=1781688806"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d501e974bb22fe95a8a38c9922b005b69ee72fa0.webp?v=1781688806","width":2000},{"alt":null,"id":27530792829027,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f4641b63c7d35082a011c698a6e9375002704bd.webp?v=1781688807"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f4641b63c7d35082a011c698a6e9375002704bd.webp?v=1781688807","width":2000},{"alt":null,"id":27530793123939,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ed9c38b56f40005ca880a754a023506d500dab3.webp?v=1781688808"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ed9c38b56f40005ca880a754a023506d500dab3.webp?v=1781688808","width":2000},{"alt":null,"id":27530793386083,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc78ea6363df7386e6bfde7895b7b6cd003c4b84.webp?v=1781688808"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc78ea6363df7386e6bfde7895b7b6cd003c4b84.webp?v=1781688808","width":2000},{"alt":null,"id":27530793713763,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79f525e1d3f01b65bd28f783a2dfb0c16334ae6d.webp?v=1781688809"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79f525e1d3f01b65bd28f783a2dfb0c16334ae6d.webp?v=1781688809","width":2000},{"alt":null,"id":27530793877603,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c658518c8e535cc03834f22e164f73bb0f7c03b.webp?v=1781688809"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c658518c8e535cc03834f22e164f73bb0f7c03b.webp?v=1781688809","width":2000},{"alt":null,"id":27530794074211,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76003ffcb687d8d38e0a7c273f81087aba907c81.webp?v=1781688810"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76003ffcb687d8d38e0a7c273f81087aba907c81.webp?v=1781688810","width":2000},{"alt":null,"id":27530794238051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad0ebd6b7f2548465c8c977668aeb6771c2b8e42.webp?v=1781688810"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad0ebd6b7f2548465c8c977668aeb6771c2b8e42.webp?v=1781688810","width":2000},{"alt":null,"id":27530794762339,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26515c9315ef4cd6397bc3f85698eaabac6f198b.webp?v=1781688810"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26515c9315ef4cd6397bc3f85698eaabac6f198b.webp?v=1781688810","width":2000},{"alt":null,"id":27530795286627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a3be22363df4cd77824d5c51db7dff1b0dae202.webp?v=1781688812"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a3be22363df4cd77824d5c51db7dff1b0dae202.webp?v=1781688812","width":2000},{"alt":null,"id":27530795778147,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1164097efd7a884a6dd31de62aafc383ea15d7d.webp?v=1781688813"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1164097efd7a884a6dd31de62aafc383ea15d7d.webp?v=1781688813","width":2000},{"alt":null,"id":27530796007523,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba76495603df16e674d078c8c8af15939d986c2c.webp?v=1781688813"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba76495603df16e674d078c8c8af15939d986c2c.webp?v=1781688813","width":2000},{"alt":null,"id":27530796138595,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c418e3e841f5ed2de5835b2f9c54f7c8b4d45ad8.webp?v=1781688814"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c418e3e841f5ed2de5835b2f9c54f7c8b4d45ad8.webp?v=1781688814","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44265154904163,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992154211,"product_id":8035763322979,"position":13,"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\/c418e3e841f5ed2de5835b2f9c54f7c8b4d45ad8.webp?v=1781688814","variant_ids":[44265154904163]},"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-KF124","featured_media":{"alt":null,"id":27530796138595,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c418e3e841f5ed2de5835b2f9c54f7c8b4d45ad8.webp?v=1781688814"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265163030627,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011989925987,"product_id":8035763322979,"position":6,"created_at":"2026-06-17T17:33:27+08:00","updated_at":"2026-06-17T17:33:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c658518c8e535cc03834f22e164f73bb0f7c03b.webp?v=1781688809","variant_ids":[44265163030627]},"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-KF124","featured_media":{"alt":null,"id":27530793877603,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c658518c8e535cc03834f22e164f73bb0f7c03b.webp?v=1781688809"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265163358307,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011991367779,"product_id":8035763322979,"position":10,"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\/3a3be22363df4cd77824d5c51db7dff1b0dae202.webp?v=1781688812","variant_ids":[44265163358307]},"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-KF124","featured_media":{"alt":null,"id":27530795286627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a3be22363df4cd77824d5c51db7dff1b0dae202.webp?v=1781688812"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265163587683,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992023139,"product_id":8035763322979,"position":12,"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\/ba76495603df16e674d078c8c8af15939d986c2c.webp?v=1781688813","variant_ids":[44265163587683]},"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-KF124","featured_media":{"alt":null,"id":27530796007523,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba76495603df16e674d078c8c8af15939d986c2c.webp?v=1781688813"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265163915363,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011988877411,"product_id":8035763322979,"position":3,"created_at":"2026-06-17T17:33:25+08:00","updated_at":"2026-06-17T17:33:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ed9c38b56f40005ca880a754a023506d500dab3.webp?v=1781688808","variant_ids":[44265163915363]},"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-KF124","featured_media":{"alt":null,"id":27530793123939,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ed9c38b56f40005ca880a754a023506d500dab3.webp?v=1781688808"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265164243043,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011988582499,"product_id":8035763322979,"position":2,"created_at":"2026-06-17T17:33:25+08:00","updated_at":"2026-06-17T17:33:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f4641b63c7d35082a011c698a6e9375002704bd.webp?v=1781688807","variant_ids":[44265164243043]},"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-KF124","featured_media":{"alt":null,"id":27530792829027,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f4641b63c7d35082a011c698a6e9375002704bd.webp?v=1781688807"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265164472419,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011989696611,"product_id":8035763322979,"position":5,"created_at":"2026-06-17T17:33:26+08:00","updated_at":"2026-06-17T17:33:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79f525e1d3f01b65bd28f783a2dfb0c16334ae6d.webp?v=1781688809","variant_ids":[44265164472419]},"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-KF124","featured_media":{"alt":null,"id":27530793713763,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79f525e1d3f01b65bd28f783a2dfb0c16334ae6d.webp?v=1781688809"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265164537955,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011991793763,"product_id":8035763322979,"position":11,"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\/c1164097efd7a884a6dd31de62aafc383ea15d7d.webp?v=1781688813","variant_ids":[44265164537955]},"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-KF124","featured_media":{"alt":null,"id":27530795778147,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1164097efd7a884a6dd31de62aafc383ea15d7d.webp?v=1781688813"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265164734563,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011990253667,"product_id":8035763322979,"position":8,"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\/ad0ebd6b7f2548465c8c977668aeb6771c2b8e42.webp?v=1781688810","variant_ids":[44265164734563]},"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-KF124","featured_media":{"alt":null,"id":27530794238051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad0ebd6b7f2548465c8c977668aeb6771c2b8e42.webp?v=1781688810"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265165062243,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011990089827,"product_id":8035763322979,"position":7,"created_at":"2026-06-17T17:33:27+08:00","updated_at":"2026-06-17T17:33:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76003ffcb687d8d38e0a7c273f81087aba907c81.webp?v=1781688810","variant_ids":[44265165062243]},"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-KF124","featured_media":{"alt":null,"id":27530794074211,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76003ffcb687d8d38e0a7c273f81087aba907c81.webp?v=1781688810"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265165357155,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011988353123,"product_id":8035763322979,"position":1,"created_at":"2026-06-17T17:33:24+08:00","updated_at":"2026-06-17T17:33:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d501e974bb22fe95a8a38c9922b005b69ee72fa0.webp?v=1781688806","variant_ids":[44265165357155]},"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-KF124","featured_media":{"alt":null,"id":27530792599651,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d501e974bb22fe95a8a38c9922b005b69ee72fa0.webp?v=1781688806"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265165914211,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011990745187,"product_id":8035763322979,"position":9,"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\/26515c9315ef4cd6397bc3f85698eaabac6f198b.webp?v=1781688810","variant_ids":[44265165914211]},"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-KF124","featured_media":{"alt":null,"id":27530794762339,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26515c9315ef4cd6397bc3f85698eaabac6f198b.webp?v=1781688810"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265166143587,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011989401699,"product_id":8035763322979,"position":4,"created_at":"2026-06-17T17:33:26+08:00","updated_at":"2026-06-17T17:33:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc78ea6363df7386e6bfde7895b7b6cd003c4b84.webp?v=1781688808","variant_ids":[44265166143587]},"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-KF124","featured_media":{"alt":null,"id":27530793386083,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc78ea6363df7386e6bfde7895b7b6cd003c4b84.webp?v=1781688808"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44265154904163,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-KF124","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992154211,"product_id":8035763322979,"position":13,"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\/c418e3e841f5ed2de5835b2f9c54f7c8b4d45ad8.webp?v=1781688814","variant_ids":[44265154904163]},"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-KF124","featured_media":{"alt":null,"id":27530796138595,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c418e3e841f5ed2de5835b2f9c54f7c8b4d45ad8.webp?v=1781688814"}},"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: "停產" }