Product downloads

Phoca Cart - complex e-commerce extension
wendallb
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 18 Jun 2017, 00:56

Product downloads

Post by wendallb »

How can increase the product downloads over 10MB's? I have some large files or is there another way?
Server php.ini says 20mb but cart says 3mb.

Thanks
WendallB
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Product downloads

Post by Jan »

Hi, the parameter is missing in config.xml. I will add it to next version.

For now, you can add it to the code.

Open:
administrator\components\com_phocacart\config.xml

and add:

Code: Select all

<field name="upload_maxsize" type="phocatext" size="20" default="3145728" label="COM_PHOCACART_FIELD_MAXIMUM_SIZE_UPLOAD_FILE_LABEL" description="COM_PHOCACART_FIELD_MAXIMUM_SIZE_UPLOAD_FILE_DESC"/>
open:
administrator\language\en-GB\en-GB.com_phocacart.ini

add:

Code: Select all

COM_PHOCACART_FIELD_MAXIMUM_SIZE_UPLOAD_FILE_DESC="The maximal size for an upload (in bytes). Use zero for no limit."
COM_PHOCACART_FIELD_MAXIMUM_SIZE_UPLOAD_FILE_LABEL="Maximal Upload Size"
Jan
If you find Phoca extensions useful, please support the project
Post Reply