Downloadable products - file size and remaining download times

Phoca Cart - complex e-commerce extension
hpal
Phoca Member
Phoca Member
Posts: 16
Joined: 29 Apr 2024, 16:58

Downloadable products - file size and remaining download times

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48752
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Downloadable products - file size and remaining download times

Post 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
If you find Phoca extensions useful, please support the project
hpal
Phoca Member
Phoca Member
Posts: 16
Joined: 29 Apr 2024, 16:58

Re: Downloadable products - file size and remaining download times

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48752
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Downloadable products - file size and remaining download times

Post by Jan »

Hi, what do you exactly mean with "stamped"?

Jan
If you find Phoca extensions useful, please support the project
hpal
Phoca Member
Phoca Member
Posts: 16
Joined: 29 Apr 2024, 16:58

Re: Downloadable products - file size and remaining download times

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48752
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Downloadable products - file size and remaining download times

Post 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
If you find Phoca extensions useful, please support the project
hpal
Phoca Member
Phoca Member
Posts: 16
Joined: 29 Apr 2024, 16:58

Re: Downloadable products - file size and remaining download times

Post by hpal »

That's clear. Thank you very much.
hpal
Phoca Member
Phoca Member
Posts: 16
Joined: 29 Apr 2024, 16:58

Re: Downloadable products - file size and remaining download times

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48752
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Downloadable products - file size and remaining download times

Post 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
If you find Phoca extensions useful, please support the project
hpal
Phoca Member
Phoca Member
Posts: 16
Joined: 29 Apr 2024, 16:58

Re: Downloadable products - file size and remaining download times

Post by hpal »

Hi Jan. Thank you very much for this information. It is certainly very helpful indeed.

Harry
Post Reply