Zen Cart - 数字下载更新
多年来一直使用 Zen Cart 进行数字下载。我们最近开始销售定期更新版本的软件。我知道用户可以重新登录他们的帐户并检索他们的下载内容,但仍然显示的是旧版本。如何在 zip 文件更新时强制更新客户的下载历史记录,以便他们可以下载更新的版本?
Been using Zen Cart for digital downloads for years now. We recently started selling software that periodically gets it's version updated. I know the user can log back into their account and retrieve their downloads, but what's still being shown is the old version. How can I force the customer history of downloads to be updated when the zip file is updated, so that they can download the updated version?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这不是您要求的解决方案,但这是我能想到的唯一简单的解决方案:
This is not the solution you are asking for, but it is the only easy solution I can think of:
另一种建议的做法:
理论上:
原来购买的文件名:v1.product_download.pdf
新版本已发布,v2.product_download.pdf
将 v2.product_download.pdf 文件上传到您的下载目录,并为 v2 产品创建新产品以供将来购买。
对于已经购买 v1 的客户,您将更新 SQL 表以在客户的订单历史记录中设置 v2.product_download.pdf 文件名,如下所示:
这可确保现有客户的订单历史记录中包含 v2,并且 v2 是销售给未来客户的新产品。当然,您需要禁止销售该产品的 v1,这样您就不必在人们发现自己购买了 v1 并且应该购买 v2 时要求免费升级。
当然,在生产网站上运行任何 SQL 脚本之前,您将执行数据库的完整备份!
然后,将电子邮件发送给购买了 v1.product_download.pdf 的客户,并指示他们登录并查看其订单历史记录,并下载新的 v2.product_download.pdf。
Another suggested way of doing it:
Theoretically:
The original purchased Filename: v1.product_download.pdf
The new version is released, v2.product_download.pdf
Upload the v2.product_download.pdf file to your downloads directory and create your new product for the v2 product for future purchases.
For customers who already purchased v1 you will Update the SQL table to set the v2.product_download.pdf filename in the customer's order history like this:
This assures existing customers have v2 in their order history, and v2 is a new product for sale to future customers. Of course, you'll want to disable the sale of v1 of the product so you don't have to deal with people asking for a free upgrade when they discover they bought v1 and should have bought v2.
Of course, you will perform a complete backup of your database before running any SQL scripts on your production website!
Then, send out your email to your customers who purchased v1.product_download.pdf, and instruct them to login and view their order history, and download the new v2.product_download.pdf.