mk11211 Posted February 2, 2009 Share Posted February 2, 2009 Hey Guys,After spending countless hours researching and testing out other shop scripts I have to say that Prestashop is fantastic! I love it! It really is ahead of the pack and is the future of open source cart scripts.Anyway, I want to be able to create a music download store where customers are able to preview tracks on the site (triggered from a listen button next to the buy button and plays in a flash player that is embedded on the site), add them to their cart, and then download them after purchase. Is this possible? If so where should I begin? Here are some example sites: http://www.beatport.com http://www.audiojelly.com/I did some searching on this forum and could not really find any answers...Any suggestions would be very much appreciated.Thanks! Link to comment Share on other sites More sharing options...
Kaxis Posted February 2, 2009 Share Posted February 2, 2009 Well I hope you have better luck then me, I even ask for a quote from Prestashop for this project and never heard from them (http://www.prestashop.com/bug_tracker/view/460/ )I lost a huge client, I still think Prestashop is a great shopping cart platform, but it's still in the early stages and lacks many thing for now. Link to comment Share on other sites More sharing options...
mk11211 Posted February 2, 2009 Author Share Posted February 2, 2009 Ahh that is a shame. Hopefully someone will be able to provide more insight. Link to comment Share on other sites More sharing options...
Sven Posted March 20, 2009 Share Posted March 20, 2009 Just to tell that we want the same and are willing to pay something to get it realized...Some thoughts:This could be realized by an extension of the attribute system, that means that an album-attribute has e.g. twenty “Track"-Attributes each with a different price (this is normal system), but the only thing to add is that it is not only the price which is changing but there has to be a switch “[X] downloadable attribute” which would give the possibility to give the same infos (filename, expires...) as of for a normal download-product. Then just another product template, support for this on the order-page and we are done…Not to forget that this is valuable e.g. for a ebook-shop who wants to sell the complete books + and indivdual chapters or for a video site and so on…We would also pay something for this kind of addition (makes sense to introduce it in the trunk and not to make his own “hack").So if interested please contact me!ByeSven Link to comment Share on other sites More sharing options...
Chas Posted May 3, 2009 Share Posted May 3, 2009 I'm considering using Presta Shop for my downloadable sheet music store where having sound samples is very desirable. I'm suprised that this hasn't been added with the way this script is put together for easy handling of downloadable products. I would be willing to pay for this "extra."Chas Link to comment Share on other sites More sharing options...
aquamarine Posted June 29, 2009 Share Posted June 29, 2009 what is the latest on this? i'm selling vinyl and in the future .mp3's and i would like a music preview player or script that I can add to the short description box.Can you reply ?Best Regards:-) Link to comment Share on other sites More sharing options...
aquamarine Posted August 8, 2009 Share Posted August 8, 2009 anyone has an answer? Link to comment Share on other sites More sharing options...
Katmatcreations Posted August 9, 2009 Share Posted August 9, 2009 err wait all you want to do is play the product attachment in a flash box?that doesnt seem so hard, its stored as a variable as far as the product listing is concerned and at the very least all you have to do is query out the file name based on the product number to grab the sample. Link to comment Share on other sites More sharing options...
aquamarine Posted August 9, 2009 Share Posted August 9, 2009 yes, it sounds simple. But the short description box or description box strips the code from any flash code 8-/ . If you can elaborate and give the music store sellers an insight, it would be much appreciated. Some of us would like to use a flash music player to give a 30 second preview before purchase with each product. There has to be a code hack to get this done.Thank you, I'll await your answer.Thanks Link to comment Share on other sites More sharing options...
aquamarine Posted August 9, 2009 Share Posted August 9, 2009 I also saw in the french board about the dewplayer.. I tried to use it thru the "short description" box and it just didn't pass thru... Man, would I be so happy if a grateful soul can help out on this.. I wonder what is causing the code to strip and not play effectively? is it the text editor in the BO? I would like to see a step by step procedure on how I can hack into the code and get this done. Obviously a full fledged module is better that is compatible with V.1.2. but I can settle for a hack. I have seen questions on this topic dating from last year without any concrete answer. I sell vinyl records a simple non-descript flash player is very essential to my business. just the functions play/stop. The site is almost done and this is the only thing that's holding it back from being a full fledged site.If an answer can be had. it will not only help me but also the multiple store owners asking for a work around to this solution.Take care, Link to comment Share on other sites More sharing options...
Dio Posted August 9, 2009 Share Posted August 9, 2009 Any solutions m8s! Link to comment Share on other sites More sharing options...
Katmatcreations Posted August 9, 2009 Share Posted August 9, 2009 ok i dont really have a need for this functionality right now but ill help you out a bit, i had 5 mins and poked around the code a bit. in the product.php file from the root presta from my development environment $_GET['id_product'] will display the product number for the product screen you are in. when you upload an attachment it is stored in the download folder as an encrypted string (without file extension)the download information sits in the ps_product_download in the database, it contains the encrypted string the product id and the proper file name (with file extension).thats everything you need right there for a nice nasty work around Link to comment Share on other sites More sharing options...
aquamarine Posted August 9, 2009 Share Posted August 9, 2009 well... you are talking about something totally different. I have no intention of uploading an attachment(mp3 file). All I want to do is find a way to to use a flash player for every product to sample the music before purchasing. Furthermore, the steps you are presenting seems complicated(i'm not a programmer) , so therefore i have no idea what you are saying.In the end, this is totally not the idea I had in mind and what the original person who posted about this topic was talking about. We are talking about just a flash player that can be coded into every product either : 1) a module(best option) or 2) hacked into the back office at the point of data entry via a. short description box. b. description box or c. features(data sheet). The mp3 player by joel guajard thru the prestashop is not compatible with V 1.2, which what i got. I hope this reply is clear. I hope to find someone who can develop a good one or at least a hack.any other thoughts or someone can help me on this?? Thanks Link to comment Share on other sites More sharing options...
aquamarine Posted August 17, 2009 Share Posted August 17, 2009 *SOLUTION*I spoke to one of the members on the forum and this is how it goes...The original answer was edited for clarity... but this is how you enter a music audio player(1 song) into prestashop.I created a url for the file at: myshop/yourprestashopfolder/audio/music.mp3I used the TinyMCE editor to embed the media, it worked perfectly. I clicked on the "Insert / edit embedded media" button (film icon), enter URL of the mp3 file, then I selected the Quicktime type, entered the dimensions of the player (I used 100 x 20). I then went to the Advanced tab and unchecked "Auto start" and "Show menu", then clicked Insert. You should simply be able to upload all your media to a directory and link to it within each product description. In my case I entered into the short description panel for aesthetic reasons.I hope that answers how you do a player prestashop. So forget about the flash player and use either quicktime or windows media embedded file instead. I prefer quicktime because it's more universal. Link to comment Share on other sites More sharing options...
cyberd0g Posted September 17, 2009 Share Posted September 17, 2009 *SOLUTION*I spoke to one of the members on the forum and this is how it goes...The original answer was edited for clarity... but this is how you enter a music audio player(1 song) into prestashop.I created a url for the file at: myshop/yourprestashopfolder/audio/music.mp3I used the TinyMCE editor to embed the media, it worked perfectly. I clicked on the "Insert / edit embedded media" button (film icon), enter URL of the mp3 file, then I selected the Quicktime type, entered the dimensions of the player (I used 100 x 20). I then went to the Advanced tab and unchecked "Auto start" and "Show menu", then clicked Insert. You should simply be able to upload all your media to a directory and link to it within each product description. In my case I entered into the short description panel for aesthetic reasons.I hope that answers how you do a player prestashop. So forget about the flash player and use either quicktime or windows media embedded file instead. I prefer quicktime because it's more universal. Hi,I am glad you foud a solution for this. can you please send me a link to view the end result? Thank you! Link to comment Share on other sites More sharing options...
aquamarine Posted September 17, 2009 Share Posted September 17, 2009 Here is a sample:http://www.fougy.com/home/product.php?id_product=9 Link to comment Share on other sites More sharing options...
cyberd0g Posted September 17, 2009 Share Posted September 17, 2009 Thank you so much for the link. your site is looking good!I will test you solution as its very simple and effective.All the best! Link to comment Share on other sites More sharing options...
JG Machine Posted November 5, 2009 Share Posted November 5, 2009 Hi,I came across this forum and it helped me embed audio into the description, but it appears that it still strips it out of the short description. Is there any way to get a quicktime audio clip to show up in the short description?I'm working on creating a royalty-free music site and it seems like it would be more convenient if visitors could preview the songs without actually having to go to the songs page.Thanks! Link to comment Share on other sites More sharing options...
Salzzy Posted November 5, 2009 Share Posted November 5, 2009 Hi Aquamarine - I like what you have done - sounds like a freat work around - I have a similar challenge but am unable to find the same TinyMCE functions.... I know it is supposed to be a part of PS BO - but can I find it??? nope.... Is this an add-on? and how did you install it??Sorry to be so dumb but a PS newbie.... Thanks Link to comment Share on other sites More sharing options...
JG Machine Posted November 5, 2009 Share Posted November 5, 2009 Salzzy,When you're entering the descriptions it's the button that looks like a piece of film strip. I'm a PS newb myself, but it should be there in the standard install.I'd still like to know if anyone has any idea how to have a sound clip show up in the short description, thanks! Link to comment Share on other sites More sharing options...
Salzzy Posted November 5, 2009 Share Posted November 5, 2009 JesseThanks for the quick reply - however I do not seem to have that film strip icon option when entering any descriptions, I am using version 1.2.4 - could that be a reason? - see image - Thanks Link to comment Share on other sites More sharing options...
JG Machine Posted November 5, 2009 Share Posted November 5, 2009 Not sure why. like I said, I'm brand newb to all of this myself. Just got started yesterday. You can see in the image what I have with a standard install of 1.2.5. So maybe it is the version difference. Link to comment Share on other sites More sharing options...
Salzzy Posted November 5, 2009 Share Posted November 5, 2009 That could well be it then...... I will look into the upgrade thanks again. Link to comment Share on other sites More sharing options...
aquamarine Posted November 5, 2009 Share Posted November 5, 2009 You can't see it? I have the same version 1.2.4. It's that tiny icon right under the "tree" , the film strip. Click on that and then you will see the options to select the media you want. Prestashop rejects flash for some reason, so you have to choose either quicktime or Windows Media. I have quite a few clips to upload, so once I do one, I just copy the HTML to a text editor. I Copy and paste the Media code to the rest of the products i need to populate and I change the paths. If you have more than 1 product to adjust I would suggest using "Snaplinks" https://addons.mozilla.org/en-US/firefox/addon/4336 to select the "edit" of each product in your back office. I can launch more than 100 tabs at once and edit every product that way. I don't know what to tell you, but that film icon was there since I first joined prestashop with 1.1. It should be there with every product in your back office when you edit.Good luck Link to comment Share on other sites More sharing options...
aquamarine Posted November 5, 2009 Share Posted November 5, 2009 One more thing.. you have to use relative paths when you point the URL to your audio,not absolute. "/homedirectory/audio/mymusic.mp3" Double check your paths or you will see that dreaded "Q" when you try to view your audio clip. Mine works perfectly fine and I have more than 500. http://fougy.com/home/1537-kymani-marley-warriors.html Link to comment Share on other sites More sharing options...
Salzzy Posted November 5, 2009 Share Posted November 5, 2009 Thanks for getting back to me so quickly..... looks like I have some missing functionality and no way of sorting it as far as I can see...:-(This is the BO image I have when adding/editing product details, so maybe TinyMCE is not running as it should....Thanks for your help anyway - and good luck with the rest of your site - looking good!! Link to comment Share on other sites More sharing options...
aquamarine Posted November 5, 2009 Share Posted November 5, 2009 aaaahhhh i see your problem. It's not loading properly. When I initially go to edit my products, it does this temporarily before all of it shows after a few more seconds. Yours seem stay like even after the fact. I think all you have to do is just copy over that "/public_html/fougy.com/home/js/tinymce"from your previously downloaded copy. It could be that not all the code has been loaded properly. Try copying it over again and see again.Good Luck,Al Link to comment Share on other sites More sharing options...
Joël Gaujard Posted November 14, 2009 Share Posted November 14, 2009 The mp3 player by joel guajard thru the prestashop is not compatible with V 1.2, which what i got. I hope this reply is clear. I hope to find someone who can develop a good one or at least a hack. Hello everyone and specially aquamarine,I read about your post about my module. I made an update recently and now my module is compatible with PrestaShop 1.2.5 and older version. I add a new functionality : display mp3 player in products list (category, search, module in column, etc)http://prestashop.joelgaujard.info/13-mp3player.htmlRegards,Joel Gaujard Link to comment Share on other sites More sharing options...
dibs223 Posted February 22, 2010 Share Posted February 22, 2010 Is this what u are after??????????????????? http://www.kaihoo.co.uk/product.php?id_product=1if so get in contact with me! I need work! Link to comment Share on other sites More sharing options...
Jennie Posted September 14, 2010 Share Posted September 14, 2010 yes, it sounds simple. But the short description box or description box strips the code from any flash code 8-/ . If you can elaborate and give the music store sellers an insight, it would be much appreciated. Some of us would like to use a flash music player to give a 30 second preview before purchase with each product. There has to be a code hack to get this done.Thank you, I'll await your answer.Thanks I've been searching for a solution to this and have eventually discovered the answer in another post. http://www.prestashop.com/forums/viewthread/11487/general_discussion/formatting_in_short_descriptionYou only need to remove the second instance of strip_tags, not both of them as I did first off. There's a full example of the code to change.Hopefully this will help someone searching for the solution in the future! Link to comment Share on other sites More sharing options...
Salzzy Posted September 15, 2010 Share Posted September 15, 2010 Thanks will give it a try.... Link to comment Share on other sites More sharing options...
Jennie Posted September 15, 2010 Share Posted September 15, 2010 A further note to this - I realised (at the point of brain failure!) that the product description is generated as a link to the product page. The link needs to be removed or every time you click the player it will go to the next page.So basically in the product-list.tpl file in the themes folder, this bit of code on line 9: {$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'} needs to become this: {$product.description_short|truncate:360:'...'} Now I just need to figure out how to get rid of that big white box that comes with the product image, other than using CSS to vanish it altogether I can't seem to affect it!Hope that helps someone. Link to comment Share on other sites More sharing options...
Zahorijs Posted October 24, 2010 Share Posted October 24, 2010 I had similar problem - my client wanted to see flash mp3 player in the product description. After some researching I think I have found quite easy solution. Only setback is that mp3 files must be upload to server via ftp.1. Download Standalone version of the WordPress Audio Player - http://wpaudioplayer.com/standalone2. Make folder called "music"(or whatever you like) in the root of your server. Inside that folder make folder called "player".3. Upload audio-player.js and player.swf from .zip file to folder "player".4. In your "Theme" folder open header.tpl. Add just before {$HOOK_HEADER}(change yoursite.com to your webpage's address): {literal} [removed][removed] [removed] AudioPlayer.setup("http://yoursite.com/music/player/player.swf", { width: 290 }); [removed] {/literal} 5. Now, upload some mp3 via ftp to folder music.6. In product's description press icon HTML in TinyMCE editor and add(change yoursite.com to your webpage's address): Alternative content [removed] AudioPlayer.embed("audioplayer_1", {soundFile: "http://yoursite.com/music/mp3_file.mp3"}); [removed] That's basically it. More info on the setup of the flash player and other details in http://wpaudioplayer.com/standaloneP.S. If you wish to add player in products list (short description), you should figure out the solution yourself (previous post will be helpful), because I did not need it.P.P.S. I'm not author of the WordPress Audio Player, I just used it on one of my projects. Link to comment Share on other sites More sharing options...
Joël Gaujard Posted October 24, 2010 Share Posted October 24, 2010 Congratulations Zahorijs. Very good "tutorial".+1 Link to comment Share on other sites More sharing options...
Recommended Posts