corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Anyone able to do this, and whats it gonna cost me :)


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Anyone able to do this, and whats it gonna cost me :)
Dan
Premium Member

Avatar

Registered: 22nd Apr 02
Location: Gorleston on Sea, Norfolk
User status: Offline
3rd Mar 11 at 16:26   View Garage View User's Profile U2U Member Reply With Quote

I have a .csv feed from a supplier, which is updated daily.

The way its laid out, is completely different to the one magento (the store i use) uses.

The description is just plain text, but needs to be in a html format ideally.

Ive heard there are ways to convert it onsite, and upload it using cron jobs etc.

Its way over my head. Is this possible and whats in gonna cost.

Also, it really needs to be magento upgradable (needs to follow magento's protocol.

Manual upload is really out of the equation as there are around 3700 items.

Opinions?

Dan


Adult GiftsClick here to vist us
AndyKent
Member

Registered: 3rd Sep 05
User status: Offline
3rd Mar 11 at 16:42   View User's Profile U2U Member Reply With Quote

What about if you were to manually upload the file to your server and have a PHP script access the file contents, split into products and insert into your store database?

Should work, though I've no idea on this magneto thing so not promising!
Dan
Premium Member

Avatar

Registered: 22nd Apr 02
Location: Gorleston on Sea, Norfolk
User status: Offline
3rd Mar 11 at 17:14   View Garage View User's Profile U2U Member Reply With Quote

Magento already has a great importing feature, which you can import data very easily.

Its the problem that the data is all over the place in the .csv they supply, different headings and the descriptions are in a normal text format, rather than a html one.




Adult GiftsClick here to vist us
AndyKent
Member

Registered: 3rd Sep 05
User status: Offline
3rd Mar 11 at 18:45   View User's Profile U2U Member Reply With Quote

U2U'd
Dom
Member

Registered: 13th Sep 03
User status: Offline
3rd Mar 11 at 18:51   View User's Profile U2U Member Reply With Quote

What is it you actually want? A php script (small desktop app?) to import the .csv from a directory and spit a magento .csv file? Or do you want to import the .csv, format it correctly and either add the new products to the database or call the magento import function/class perhaps?

If you've got an example of the .csv file (only need a few lines) and how you want it formatted (example of a magento .csv perhaps?), then send it over and i'll have a butchers
ashleh
Member

Registered: 23rd Dec 08
Location: Nottingham
User status: Offline
3rd Mar 11 at 23:21   View User's Profile U2U Member Reply With Quote

Couldn't you create a batch or perl script and run it locally then upload/import to your script?

Or as you mentioned run a cron job, there should be plenty of tutorials

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
the plod are after me.... loony_driver Help Zone, Modification and ICE Advice 8 908
27th Mar 03 at 15:30
by avenger
 
the plod are after me.... loony_driver Help Zone, Modification and ICE Advice 10 1009
27th Mar 03 at 21:49
by buffcore_laney
 
K&N for a 1.4 8 vavle matt_jonesuk Help Zone, Modification and ICE Advice 5 249
31st Mar 03 at 20:47
by matt_jonesuk
 
Wot did evry1... kinkycorsa General Chat 32 608
15th Jun 03 at 22:50
by Ben- (yorkshire)
 
MOT IvIarkgraham General Chat 5 275
18th Oct 05 at 20:15
by Twiggy
 

Corsa Sport » Message Board » Off Day » Geek Day » Anyone able to do this, and whats it gonna cost me :) 30 database queries in 0.0112791 seconds