Hi Paul, welcome to the forums. Please be sure to update your forum signature with your X-Cart version per the
forum guidelines, as we can't assist you without it. The above post refers to an older version of X-Cart, so it is probably not going to work for you on 4.1.