Regex insanity. Third try: Of course we need to add the basepath trailing slash to the build string, too. Just not always. Do you have that saying 'All the good ones come in three', too? ... Also, provide an _out for the type postinfo to display it nicer in the cart.