March 2, 201511 yr Heloo Guyz need little help from you i am making product display website from xmlits basically get product data from online xml file and show it in our website ... i do everything fetching data ETc.. now i need shoping cart thing in my siteplease any one suggest me any script or tell me how to do this ...because every shoping cart i found on google its based on database system but my files coming from xml file feedso please help me in thisthank you in advanced waiting for your reply
March 2, 201511 yr One method we have employed with taking data from an XML feed is that the XML file is read and then used to create a product instance on the website database. The xml feed is read once a day and this compares existing products to products in the xml feed, if the product is still in the xml feed then its ok and can be updated (the item is iterated through to see if anything has changed), if the product no longer exists in the xml file it is deleted and if a product exists in the xml file but not as a product on the websites database it is created. Its not that complicated and would add little extra work if you have the xml reader already written. We have done this with an estate agency website that we built. Using this method then you can simply use an existing type of CMS, like opencart, prestashop or a Drupal//Joomla/Wordpress website e-commerce plugin and then read data from the xml file to create products and enter the data into the CMS's database. There will be a way to use the xml file directly to display products and allow people to add them to a shopping cart and pay for them but we have not done this. doing a very quick search we found this apparent XML driven shopping cart. I cannot comment on it and I am sure that there are other php libraries available to do this.
Create an account or sign in to comment