I need this! But I'm unfamiliar with coding. I copy your code into the "Page Header Code Injection" for my store. Then add tags to the products: "expireYYYY-MM-DD" where YYYY is the year, MM is the month, and DD is the day.
Is that all? Do I need to modify anything in the code for my site? Thanks in advance!