AbanteCart Community
Shopping Cart Operations => Support => General Support => Topic started by: macat on June 18, 2013, 06:18:40 AM
-
Well that was quick, download page is there but when I try to download a PDF, I get this error:
GC100.pdf 694.47 KB Error: Filetype not allowed
Is it a permission problem, if so where do I fix it?
OK, it is not just pdf's it seems to be all files, just tried a png, got this error:
4DGiftCertificateTemplate.png 537.60 KB Error: Filetype not allowed
-
you tried to download or upload file? :o
-
I clicked download under Catalog, download and then click the blue button. I upload and got those errors. I uploaded photos for products just fine, so not sure what the problem is?
-
default file type for downloads is ARCHIVE - /.+(zip|rar|gz|7z)$/i
but you tried to upload pdf.
you can add you own type into database table resource_types.
-
OK, this is what Ihave and I still can't download the pdf:
Edit Copy Delete 5 archive download/ icon_resource_archive.png /.+(zip|rar|gz|7z|pdf|PDF)$/i 1
Treid both lowercase and caps, still won't upload the pdf?
Just uploaded a zip file, no problem, so it is not the program, it just won't upload the pdf.
-
after cache cleaning?
-
Thank you, that fixed it.
I do have another question, I have 4 different gift cards, for 4 different totals, I have it set up as one product using options to allow the customer to choose the amount they want to purchase. Is there a way to set the correct pdf download to correspond to the amount purchased or do I have to list each Gift card individually?
When I click relations and go to my pdf downloads it automatically defaults to the first one when they purchase and login to their account to download it.
Here is the gift card link to see what I mean:
http://myresq.org/crsd/index.php?rt=product/product&product_id=4
-
I do have another question, I have 4 different gift cards, for 4 different totals, I have it set up as one product using options to allow the customer to choose the amount they want to purchase. Is there a way to set the correct pdf download to correspond to the amount purchased or do I have to list each Gift card individually?
When I click relations and go to my pdf downloads it automatically defaults to the first one when they purchase and login to their account to download it.
Here is the gift card link to see what I mean:
http://myresq.org/crsd/index.php?rt=product/product&product_id=4
i think you have to look on extension flexy promotions in extensions store of our partner. Menu extensions->extension store.
-
Hi,
OK, will do. Thank you for your help.