Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

updating oscommerce with xml/rss feed


smartypants007

Recommended Posts

Posted

Hi

 

I need to automate the process of updating our

product catalogue via an RSS feed from one or more of our suppliers - is there anyone that can help?

Basically it would involve converting one set of data from the feed into a layout compatible

with our OS-Commerce database, and then updating the database, this will need to be done

automatically daily.

 

thanks,

 

richard

Posted

so this will allow me to update my product catlog using an rss feed, automatically every day.

 

could you help me if I provided you with a sample of the xml file?

 

richard

Posted

The contribution just takes the products from the dbase and generates the xml file. You need the opposite also so you could reverse the process to upload/update products. To automate it you could take advantage of the spiders visiting your store and let them do the update by running your script.

Posted

ny hosts are installing iconv function on the server.

 

im starting to get somewhere, if you look at:

 

http://www.itsoftwaresolutions.co.uk/catalog/rss.php

 

its loading product information from my oscommerce database into the browser, what I need though is the opposite to be able to change details in the database by uploading my xml file which looks like this:

 

<?xml version="1.0" encoding="ISO-8859-1" ?>

- <ROOT>

- <PRODUCT>

<RTCODE>ACC1200</RTCODE>

<MFPARTNO />

<DESCRIPTION>Remote Bob 24000-00-20</DESCRIPTION>

<PRICE>12.81</PRICE>

<PRICE BREAK="">12.81</PRICE>

<PRICE BREAK="">12.81</PRICE>

<PRICE BREAK="">12.81</PRICE>

<PRICE BREAK="">12.81</PRICE>

<CATEGORY>Accessories----ATI--</CATEGORY>

<STOCK>0</STOCK>

<WEIGHT>0.01</WEIGHT>

 

any help?

 

richard

Posted

yes, you will need to create the php script to do that. I could not see a ready one in the contributions.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...