Product downloads section not working
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 44
- Joined: 05 Feb 2018, 09:57
Product downloads section not working
Hi. I think there is a bug in adding files to product.
When I upload a file from admin, it gets stored to product_list as hidden attribute.
In body-standard.php you call it this way
$this->detailProductItem->getRefItems( 'media', null, 'download' )
which returns an empty array.
And BTW, how can I remove uploaded file? Or add more than 1 file?
Thanks.
When I upload a file from admin, it gets stored to product_list as hidden attribute.
In body-standard.php you call it this way
$this->detailProductItem->getRefItems( 'media', null, 'download' )
which returns an empty array.
And BTW, how can I remove uploaded file? Or add more than 1 file?
Thanks.
Re: Product downloads section not working
You mix up two things:
- Public file downloads must be added in the "Images" tab with type "download"
- Files that are delivered to the customers once they bought the product must be added in the "Download" tab
- Public file downloads must be added in the "Images" tab with type "download"
- Files that are delivered to the customers once they bought the product must be added in the "Download" tab
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 44
- Joined: 05 Feb 2018, 09:57
Re: Product downloads section not working
OK, now I see it. not the best naming then though.
One more question. why previews are only working with images? it's a broken image when I upload PDF or doc.
<img class="media-image" src="http://damito.test/packages/aimeos/shop ... cument.png" alt="2018.05.18_CReg_ziadost.docx">
One more question. why previews are only working with images? it's a broken image when I upload PDF or doc.
<img class="media-image" src="http://damito.test/packages/aimeos/shop ... cument.png" alt="2018.05.18_CReg_ziadost.docx">
- Attachments
-
- Snip20180801_8.png (28.13 KiB) Viewed 1791 times
Re: Product downloads section not working
What naming for files that are sold would you suggest?
There aren't icons for all mime types available (but application/pdf.png is). You should add icons for the mime types you are using and which are missing to the directory.
There aren't icons for all mime types available (but application/pdf.png is). You should add icons for the mime types you are using and which are missing to the directory.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star