AbanteCart Community

Shopping Cart Operations => Built-in Features => Topic started by: briansgood on January 05, 2025, 07:07:50 PM

Title: Customer File upload function
Post by: briansgood on January 05, 2025, 07:07:50 PM
I am trying to use the customer file upload function. The problem is that once you send it to the cart the file doesn't go to the proper place or is it able to link to where it needs to go. So the upload isn't working. The error was at resources.php li e 54.  The site is damnfunkyshirts.com
Title: Re: Customer File upload function
Post by: Basara on January 06, 2025, 01:34:27 AM
Hello
Please check the AbanteCart error log for the most recent error. Additionally, could you provide the size of the uploaded file and the upload field settings (such as allowed extensions and regex patterns)?
Title: Re: Customer File upload function
Post by: briansgood on January 07, 2025, 12:07:18 AM
The error log isn't picking it up anymore.  The extension are jpg, jpeg, pdf, png.  The file size is 15000kb max.  I've tried different formats and file sizes.  It just doesn't send it anywhere.
Title: Re: Customer File upload function
Post by: Basara on January 07, 2025, 01:32:04 AM
  It just doesn't send it anywhere.
Hello.
Did you check the System > Data > File Uploads?
Title: Re: Customer File upload function
Post by: briansgood on January 08, 2025, 02:12:20 PM
Yes. I've looked in the front end and the back end in the resource/ img file and system/ i.age file.  Nothing is there.
Title: Re: Customer File upload function
Post by: Basara on January 09, 2025, 02:29:47 AM
Hello,

Could you please share your PHP and AbanteCart versions? Additionally, provide a screenshot of the "File" option type with all its settings visible that you added to the product.
Title: Re: Customer File upload function
Post by: briansgood on January 11, 2025, 02:53:11 PM
The PHP ver 8.3.14

Abantecart ver 1.4.0
Title: Re: Customer File upload function
Post by: Basara on January 13, 2025, 02:14:03 AM
Hello.
Please remove the value of the "Upload directory name" and double check it is removed in the Product option where you add this Global Attribute
Title: Re: Customer File upload function
Post by: briansgood on January 14, 2025, 10:24:31 PM
Thank you. That worked.  Do they go into the image folder on the front end? And will they somehow be linked to the order?
Title: Re: Customer File upload function
Post by: Basara on January 15, 2025, 01:37:52 AM
Thank you. That worked.  Do they go into the image folder on the front end? And will they somehow be linked to the order?
Hello.
Once a customer places an order, the downloads will be saved in the admin/system/uploads/ folder. The admin can then download the file from the order page.