Page 1 of 2

Downloadable products - file size and remaining download times

Posted: 11 May 2025, 23:22
by hpal
Hi,
I am creating an e-book store with downloadable PDF files. I encounter the following 2 issues

1. I am trying to add a file of 4.8 MBs but i get the error message "Error: File too large: "
So the question is how can I change the maximum file size?

2. I want to be able to monitor and probably reset/adjust manually the remaining download times per file of an order. Is it possible to do so?

I also have another question: is it possible to stamp the pdf with some order specific data (e.g. the order id and the email and/or name of the customer) when downloading the file?

Thank you
Harry

Re: Downloadable products - file size and remaining download times

Posted: 14 May 2025, 01:33
by Jan
Hi,

1) see Phoca Cart options, you can change the upload size in Options:

Image

2) You can edit the downloads in edit of dowanloadable items:

Image

Jan

Re: Downloadable products - file size and remaining download times

Posted: 17 May 2025, 00:03
by hpal
Hi Jan. Thank you very much for your reply. Works fine.
Is there any chance that the PDF is stamped with order specific data when downloaded?

Thank you.
Harry

Re: Downloadable products - file size and remaining download times

Posted: 20 May 2025, 13:56
by Jan
Hi, what do you exactly mean with "stamped"?

Jan

Re: Downloadable products - file size and remaining download times

Posted: 20 May 2025, 21:59
by hpal
Hi. I mean "writing" selected order/customer info on the footer of every page of the PDF file, so that the file the customer receives is personalized and therefore dificult to resell or distribute.

Harry

Re: Downloadable products - file size and remaining download times

Posted: 22 May 2025, 17:16
by Jan
Hi, for now, variables can be used e.g. of PDF documents like invoice (top, middle and bottom description) but there is no feature to add such information directly to the downloadable files :-( So for now this needs to be customized :-(

Jan

Re: Downloadable products - file size and remaining download times

Posted: 23 May 2025, 13:56
by hpal
That's clear. Thank you very much.

Re: Downloadable products - file size and remaining download times

Posted: 23 May 2025, 15:59
by hpal
I have one more question regarding this installation. Since I am switching from another platform (Sendowl) to phoca cart, I need to import all orders from one platform to the other. I will only use guest checkout, so there is no need to create user for the customers.
I just need to import the orders so that I can provide the download links to the customers if they need to use them in the future.
So the question is what tables do I need to update and what are the data that need to be linked so that the download links and the remaining downloads are placed correctly. The key to the guest customer is the email.

Please let me know if I need to create a separate ticket for this question.

Thank you in advance.

Harry

Re: Downloadable products - file size and remaining download times

Posted: 23 May 2025, 17:02
by Jan
Hi, you don't need to create separate question. But you are asking the most difficult question. Because if you want export something form one system and import to another, you need to have great background skills of both systems. So such a question is mostly not answerable.

Phoca Cart stores everything regarding orders in these tables:

os_phocacart_orders
jos_phocacart_order_attributes
jos_phocacart_order_coupons
jos_phocacart_order_discounts
jos_phocacart_order_downloads
jos_phocacart_order_history
jos_phocacart_order_products
jos_phocacart_order_product_discounts
jos_phocacart_order_statuses
jos_phocacart_order_tax_recapitulation
jos_phocacart_order_total
jos_phocacart_order_users

so the best way is to make some demo order and see the tables to get info where all the info is stored.

Jan

Re: Downloadable products - file size and remaining download times

Posted: 23 May 2025, 20:06
by hpal
Hi Jan. Thank you very much for this information. It is certainly very helpful indeed.

Harry