Shopping Cart Forum

Go Back   eShop Forums - eCommerce Help Forum for Shopping Cart Owners. > Shopping Cart Software > Zen Cart & osCommerce
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Zen Cart & osCommerce Tips, advice and help on how to use the most popular free E-commerce shopping carts available.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 28-03-2009, 02:37 PM
kirnehator kirnehator is offline
Junior Member
 
Join Date: Mar 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Looking to integrate XML Data feed to OScommerce

I'm looking for some advice on how to work with XML data feeds !!! for starters i'm working on automating okanchor.com with a XML Data feed that is provided by my dropship distributor. seeking some general info on what it would take to do that? as far as i know, the automation process is supposed to keep the information on my site current. eg, stock quantiy,description, price. but how do you get the website to pick it up. to me it looks like it's all done manually. is there maybe a module you have to install and setup. i did some reading around but not with any luck yet. any advice on this topic is appreciated.

i'm also wanting to act as a server to XML Data feed to host is for used motor vehicles values to dealers the country. any idea on how one would create some kind of window link within the dealers site to host the values on his site but yet have a live feed coming from me.

Thank you for any efforts in reply.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 30-03-2009, 03:00 PM
Bagi Zoltán's Avatar
Bagi Zoltán Bagi Zoltán is offline
eCommerce marketer
 
Join Date: Apr 2008
Posts: 29
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi,
In order to update your site with external database you need to do or pay somebody to do the two following steps:
i. After studying the elements of the extrenal XML feed and your database structure a php file should be written which would parse the suitable elements and inject them to your database.
ii. A cronjob should be set at your cpanel which would make the above described php file executed periodically. The time can be every 5 minutes or what you prefer.

This way the database import from xml file is solved.
For further information you may want to read these resources:
http://www.kirupa.com/web/xml_php_parse_beginner.htm
http://ch2.php.net/simplexml

Regards
Zoli
__________________

php shopping cart software
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 31-03-2009, 11:43 PM
Lawrence Lawrence is offline
Forum Admin
 
Join Date: Aug 2007
Location: Kenley, Surrey, UK
Posts: 1,345
Thanks: 3
Thanked 87 Times in 87 Posts
Default Easy populate XML to CSV conversion for osCommerce

An easier way to do this would be to convert the XML file into a CSV file. you'll find plenty of apps to do this on Google, then use Easy Populate to populate your OSC store.
__________________
Lawrence
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to Lawrence For This Useful Post:
dezina (01-04-2009)
  #4 (permalink)  
Old 02-04-2009, 06:55 PM
enigma1 enigma1 is offline
Asymmetrics
 
Join Date: Jan 2009
Posts: 29
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There is no straight forward way about it. Each vendor has its own format for the feeds. So no matter which path you choose you will need a custom script or to customize existing code. EP is good to play with, but that's about it. You need to customize it at the end of the day. Filter out currencies, setup attributes, format product descriptions assign products to categories and so on, based on the feed format.

If the vendor has a structured xml feed, I would set up an some xml mapping script and populate the database. See the XML parsing functions in php.net
http://www.php.net/manual/en/book.xml.php. In some cases the available feed is so bad, that is faster to write a script for a bot and crawl the products from the site directly.
__________________
Professional E-Commerce Integration and Services. PM for details or visit
Asymmetric Software
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 12-04-2009, 04:46 PM
kirnehator kirnehator is offline
Junior Member
 
Join Date: Mar 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Good Start :)

Thank you for the useful pointers, I do appreciatre that. I did check with my supplier and they do provide the data feed in CSV as well as other types. So i may use that Easy Populate for the automation process. sometimes i feel like i don't know enough about the programming or e-commerce part of things.

what kind of "can of worms" am i opening up with building an e-commerce.

i got good boating industry traffic and am sure that i could earn a few bucks with it. Mostly Canadian market, would like to do North America but what about all the taxes and customs.

Isn't there almost you could hire a service that they'll provide you with a working ecommerce or help you to set one up and going.

Here's a good question. how do the good webmasters host and maintain thousands of websites?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best way to integrate 5 products or less Vivirenet eCommerce for Beginners 3 23-04-2009 03:31 PM
Data Feeds Tinkerbell Zen Cart & osCommerce 5 24-01-2008 07:43 PM
Import an XML Feed in to an Oscommerce Website Anthony Zen Cart & osCommerce 6 19-11-2007 07:18 PM
Data Protection Act - UK Lawrence Accounts, Bookkeeping and Legal Issues 1 30-10-2007 07:49 PM
how to add a news feed? Tinkerbell The Water Cooler 3 21-08-2007 12:10 PM

Google
Home - Top

Edible Graphics, Affordable E-Commerce, Web Shops & Custom Form Scripts
Gadgets online
tech news, product reviews, the latest home and business technology, the latest in digital imaging


Content Relevant URLs by vBSEO 3.0.0