Hi,
I noticed two possible limitations of the file attribute.
1) One can add a product in the basket, even if the form file field is empty
2) The file is not deleted when the product is deleted from basket
Thanks
Hi,
I noticed two possible limitations of the file attribute.
1) One can add a product in the basket, even if the form file field is empty
2) The file is not deleted when the product is deleted from basket
Thanks
We will be re-writting the Uploader for the Products in a future release ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Thanks for your reply Ajeh
I have restricted upload to some extensions (images only).
When I add a product with a bad file extension, I have an error message.
Okay, but the product should not be added to the basket.
I will try to work with the observers...
Suggestions very appreciated.
Configuration->maximum values->Allowed Filename Extensions for uploading
Thank you for this, and all the rest. You saved me a lot of time.
I have been having a problem with the file upload attribute. The files are uploading like they are supposed to. We actually have the option to upload two files.
Front Image:
Back Image:
The files are uploading to the server properly without any problems. The area we are having difficulties with is in reviewing the order from admin..
if you go to Customers->Orders and click the edit button it shows the orders and has the uploaded images listed. For some reason the first image has the num.filename.ext still and is not hyperlinked
The second image is num.ext and is hyperlinked so we can easily find and send it to our printers.
Can someone tell me why this might be happening? One thing I did notice is that the images that are not hyperlinked have a space between the first dot and the filename....
example: num. filename.ext
Any help would be appreciated. Attached it a screenshot showing the issue
Zen Cart, by default, does not add links to the orders on uploads ...
Do you have an add-on or some custom coding that you have done?
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Our site allows customers to buy insurance on products and to do this the customer uploads a PDF showing the current condition of an item. When the order is processed the name on the pdf is changed to the order number + pdf like 277.pdf. All is just fine if there is only 1 purchased but if there are 4 then all four are named 277.pdf and you can only see the last one as the other 3 have been over written because the file name is the same.
My Question is: Is there an easy way to avoid this? Maybe save them 277a, 277b, etc? It makes the transaction tedious for a customer to have to check out after each purchase.
v1.3.02
Last edited by jaxbakers; 15 Nov 2007 at 03:50 PM.
While it appears that the uploaded file uses the orders_id that is a misnomer ...
It is really using the numbers sequencially and by coincidence, the numbers will match for sometime but eventually this will not be true as some Products, like yours have more than one upload so where it might be on orders_id 12 and add the first file as 12.ext ... then next file will be 13.ext, 14.ext, 15.ext and then on the next order 13 it would be using 16.ext ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Ajeh, Thank you for your insight!
Can you tell me which database table this information is stored on?
Bookmarks