user8139 Posted December 6, 2021 Share Posted December 6, 2021 (edited) When I tested selling the PDF, I found that all you had to do was enter the domain name and file path, and visitors could download the PDF without having to pay or register I only want registered users to download purchased documents, not unpaid documents Edited December 6, 2021 by user8139 (see edit history) Link to comment Share on other sites More sharing options...
joseantgv Posted December 7, 2021 Share Posted December 7, 2021 You need to create a virtual product, and attach the PDF to the product. Link to comment Share on other sites More sharing options...
user8139 Posted December 8, 2021 Author Share Posted December 8, 2021 17 hours ago, joseantgv said: 您需要创建一个虚拟产品,并将 PDF 附加到产品中。 Yes, I did The screenshot above is the PDF file I attached to the virtual goods after creating them Link to comment Share on other sites More sharing options...
joseantgv Posted December 8, 2021 Share Posted December 8, 2021 hace 3 horas, user8139 dijo: Yes, I did The screenshot above is the PDF file I attached to the virtual goods after creating them Could you upload a screenshot of the place where you attached the PDF? Link to comment Share on other sites More sharing options...
user8139 Posted December 8, 2021 Author Share Posted December 8, 2021 1 hour ago, joseantgv said: 你能上传你附上PDF的地方的截图吗? 1 hour ago, joseantgv said: Could you upload a screenshot of the place where you attached the PDF? You may have misinterpreted my meaning I was going to use PrestaShop to sell paid electronic documents. I created a virtual good and uploaded it successfully in the testing process, but I found that users do not need to register or pay, just need to enter the domain name and the path of my file on the server, and can get this document for free I want registered users to pay to get this document Link to comment Share on other sites More sharing options...
user8139 Posted December 8, 2021 Author Share Posted December 8, 2021 1 hour ago, joseantgv said: 你能上传你附上PDF的地方的截图吗? I created a shop to sell PDF files for virtual goods, but I found that users didn't need to register and could get the files for free by typing in the domain name in the browser followed by the file path on the server The path of the file on the server/Calibre / 107549/107549. PDF With the domain you can get it for free at https://xxx.com/Calibre/107549/107549.pdf Registered users can only download documents after payment, but cannot download documents without payment. Non-registered users cannot download documents. What should I do Link to comment Share on other sites More sharing options...
joseantgv Posted December 9, 2021 Share Posted December 9, 2021 I understood you correctly and I wanted to see where did you upload the PDF. You are uploading it as an attachment, instead of as the product good: Link to comment Share on other sites More sharing options...
user8139 Posted December 9, 2021 Author Share Posted December 9, 2021 4 hours ago, joseantgv said: 我理解正确,我想看看你在哪里上传了 PDF。 您将它作为附件上传,而不是作为产品上传: Link to comment Share on other sites More sharing options...
joseantgv Posted December 10, 2021 Share Posted December 10, 2021 hace 22 horas, user8139 dijo: Then the path is not the one that you uploaded in the first message. Have you uploaded these files manually? You can delete them. Link to comment Share on other sites More sharing options...
user8139 Posted December 10, 2021 Author Share Posted December 10, 2021 (edited) 1 hour ago, joseantgv said: 那么路径不是您在第一条消息中上传的路径。您是否手动上传了这些文件?您可以删除它们。 I was uploaded to the server first /Calibre/107549/107549.PDF Imported CSV file Edited December 10, 2021 by user8139 (see edit history) Link to comment Share on other sites More sharing options...
SmartDataSoft Posted December 12, 2021 Share Posted December 12, 2021 On 12/10/2021 at 6:48 PM, user8139 said: I was uploaded to the server first /Calibre/107549/107549.PDF Imported CSV file This is not the best way, you need to upload the file from backend. the option which @joseantgv suggest. then user are able to download the digital product when they purchase either payment or free. Normally attachement show the file to download. but attached file extension can't know by front end. Thank you 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now