Video upload

How to configure and adapt Aimeos based shops as developer
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!
Sad
Posts: 2
Joined: 29 Nov 2015, 16:59

Video upload

Post by Sad » 29 Nov 2015, 17:18

Thanks.
Last edited by Sad on 23 Feb 2016, 18:52, edited 1 time in total.

User avatar
aimeos
Administrator
Posts: 7820
Joined: 01 Jan 1970, 00:00

Re: Video upload

Post by aimeos » 30 Nov 2015, 10:02

Sad wrote: I' d like to add a video as a digital product, also to add a video in catalog details component.
Adding a new subpart in the catalog detail component is relatively simple:
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> )
Should the video be available for download after purchasing it?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Sad
Posts: 2
Joined: 29 Nov 2015, 16:59

Re: Video upload

Post by Sad » 04 Dec 2015, 12:04

Thanks for a quick help.
Last edited by Sad on 23 Feb 2016, 18:53, edited 1 time in total.

User avatar
aimeos
Administrator
Posts: 7820
Joined: 01 Jan 1970, 00:00

Re: Video upload

Post by aimeos » 04 Dec 2015, 13:18

Sad wrote:Yes the video should be downloadable after it was purchased.
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: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?
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.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply