I would like to be able to list on my receipt the number of times a customer has shopped since the beginning of the year.
What is the script required to get this data. I can figure out how to display the variable on the receipt, but I need to get the count into a variable in the receipt template.