Hm this seem to be coded in XC4 yes, so not custom coded. I even found a post from like 10 years ago I commented on -
https://forum.x-cart.com/showthread.php?t=51685
Anyway I don't think there is such thing in XC5. It is not hard to code but it needs to be coded as custom module.