rka81 Posted August 4, 2010 Share Posted August 4, 2010 I know its been asked several times but there never seems to be much of an answer or a workaround....so....I want to run a site where the prestashop only sells digital/virtual products. The problem with this is that prestashop does not currently support bulk csv upload of digital products (as in being able to specify the actually path to the downloadable product).Is there anyone out there who can a) solve this issue help me to create/find a workaround or even c) give me a few ideas of how this may be done so that i can start to create a module to do this for everyone who needs itI for one really want to get this problem resolved as its the one thing that always seems to send me towards using other ecommerce software rather than prestashop - which is what i prefer.thanks in advance Link to comment Share on other sites More sharing options...
MrBaseball34 Posted August 4, 2010 Share Posted August 4, 2010 What version of PS? Link to comment Share on other sites More sharing options...
rka81 Posted August 5, 2010 Author Share Posted August 5, 2010 Apologies forgot to included that - I have just installed the latest version so 1.31thanks Link to comment Share on other sites More sharing options...
MrBaseball34 Posted August 5, 2010 Share Posted August 5, 2010 Take a look around line 864 in the AdminProducts.php file. It shows how to create a new ProductDownload object. You can populate it and call the save method and it will save the info to the database. Make sure you have your newly inserted ProductID. Link to comment Share on other sites More sharing options...
rka81 Posted August 6, 2010 Author Share Posted August 6, 2010 Ok thanks for the reply - will have a look and see what i can do. Thanks again Link to comment Share on other sites More sharing options...
nubi86 Posted October 20, 2010 Share Posted October 20, 2010 Hi rkaDid someone finally reach uploading the file directions directly from a .csv file? Link to comment Share on other sites More sharing options...
rocky Posted October 20, 2010 Share Posted October 20, 2010 This module might be a good workaround. Link to comment Share on other sites More sharing options...
nubi86 Posted October 20, 2010 Share Posted October 20, 2010 I saw that module before but it's not enough when you have 500 product to upload...If I want to find a way by CSV, which files should I start looking?Thanks, Link to comment Share on other sites More sharing options...
rocky Posted October 20, 2010 Share Posted October 20, 2010 It is admin/tabs/AdminImport.php that imports CSV files. Adding the ability to import digital products won't be a simple change though. Link to comment Share on other sites More sharing options...
MrBaseball34 Posted October 20, 2010 Share Posted October 20, 2010 I saw that module before but it's not enough when you have 500 product to upload...If I want to find a way by CSV, which files should I start looking?Thanks, PM me and send me a shortened copy, about 3 or 4 lines, of your CSV and I'll modify the script I have to import it and create the downloadable products for you. Please include a schema, too. Link to comment Share on other sites More sharing options...
rka81 Posted October 26, 2010 Author Share Posted October 26, 2010 I saw that module before but it's not enough when you have 500 product to upload...If I want to find a way by CSV, which files should I start looking?Thanks, PM me and send me a shortened copy, about 3 or 4 lines, of your CSV and I'll modify the script I have to import it and create the downloadable products for you. Please include a schema, too. Hi MrBaseball34 - I would be VERY interested in any sample code that shows the amendment - if you could post it after nubi86 send you it (if it doesnt have any personal data) i would really really appreciate it. This has been stumping me for months!ta Link to comment Share on other sites More sharing options...
MrBaseball34 Posted October 26, 2010 Share Posted October 26, 2010 @rka81,It is an external script. I did not modify the import module in PS. Link to comment Share on other sites More sharing options...
rka81 Posted October 26, 2010 Author Share Posted October 26, 2010 @rka81,It is an external script. I did not modify the import module in PS. Hi,Where can i find the external script?Thanks in advance Link to comment Share on other sites More sharing options...
MrBaseball34 Posted October 26, 2010 Share Posted October 26, 2010 I can send it to you but you will have to be able to modify it to your situation. Link to comment Share on other sites More sharing options...
rka81 Posted October 26, 2010 Author Share Posted October 26, 2010 I can send it to you but you will have to be able to modify it to your situation. that would be great - will PM u my emailthanks again Link to comment Share on other sites More sharing options...
Ehinarr Posted January 18, 2012 Share Posted January 18, 2012 Some changes on this post? I'm also seeking a solution to this problem. Link to comment Share on other sites More sharing options...
Recommended Posts