New Zenner
- Join Date:
- Dec 2021
- Location:
- Colorado
- Posts:
- 4
- Plugin Contributions:
- 0
Can You Help With Personalized Downloads?
Hey there, Zen Cart Community!
This is my first post. Never needed help that I couldn't find, before.
I have a new install of Zen Cart v1.5.7c set up on a wampserver on windows 10, for testing.
MySQL version 5.7.31
PHP version 7.3.21
I am customizing the basic blue responsive template, and will be adding ultimate seo urls, later today, so I guess include that.
I had Zen Cart, way back in 2010, and much has changed, so you could say I am new to it. I am fairly comfortable with changing sections of PHP code, but don't always know what it does. I am a little skittish about making changes to the database, but can add things if needed. Html and css are easy for me.
I know what I want to do is possible. I am just wondering the best way to go about it. I will have personalized digital downloads (pdf and mp3). I can use attributes to allow the customer to give me the personalization.
My challenge is in delivery.
The product has not been made yet. It will be ready in 3 days or less, and I want them to be able to download it from their account, if possible, or a link in email.
Since each file will be personalized, the original product will just be a dummy zip file.
If I create a download product, how can I change the name of the actual download file, after purchase, for the individual customer (when it is ready)? Or is there a better way to do this?
I thought about redirecting the download, so that the url will be unique, and just replacing the file, but if the first download fails, the file is removed and then they would get a copy of the dummy file when they retry? Or am I wrong about that?
I know from searching that this is not a common problem, but maybe somebody has already dealt with something like this?
Any constructive suggestions would be welcome. Thanks, in advance!