I have an email address stored in a cookie on a Wordpress site.
I would like to pass that cookie value onto Premium Web Cart when the user clicks "add to cart" so they do not have to fill in the email address.
Premium Web Cart allows values to be passed using the URL. They allow the code firstname.lastname@example.org to be added at the end of the add to cart url to pass that value to the the shopping cart.
What would the code be that converts the cookie to text, then adds it on to a pre-determined URL, then opens that URL with the email text added?
Any help would be greatly appreciated.