Video upload
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Re: Video upload
Adding a new subpart in the catalog detail component is relatively simple:Sad wrote: I' d like to add a video as a digital product, also to add a video in catalog details component.
https://aimeos.org/docs/Developers/Html ... w_subparts
The media items are already available and can be retrieved in the view via
Code: Select all
$this->detailProductItem->getRefItems( 'media', <type>, <list type> )
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
Re: Video upload
Thanks for a quick help.
Last edited by Sad on 23 Feb 2016, 18:53, edited 1 time in total.
Re: Video upload
In that case, you have to place to video on your web space and add an attribute of type "Download" to the product, which contains the URL to the video in the "Code" field. The list type in the left panel (Associated attributes) must be "Hidden".Sad wrote:Yes the video should be downloadable after it was purchased.
Yes, you can add all kind of media files to products. Files other than images will be available in the (public) "Download" section of the product detail view (depending on the list type). If you want something else, you might need to add a special HTML subpart.Sad wrote:But i dont understand, in the documentation it was writen that media can be photo and any kind of multimedia files... but for now as i can see, it is possible just to upload images. I need to customise for other types of media files?
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