accesid Posted June 4, 2019 Share Posted June 4, 2019 Hi everyone, Is there an addon that generates xml feed file to price comparison pages? I'm looking for something that generates a file like this: <?xml version="1.0" encoding="UTF-8" ?> <products> <product> <identifier>00010</identifier> <manufacturer>Samsung</manufacturer> <name>Gear IconX SM-R150</name> <product_url>http://www.webpage.com/gear-iconx-sm-r150.html</product_url> <price>379,97</price> <net_price>299,18</net_price> <currency>EUR</currency> <image_url>http://www.webpage.com/images/smr150.jpg</image_url> <category>Earphone</category> <description>This is an earphone...</description> <Delivery_Time>1 day</Delivery_Time> <Delivery_Cost>990 EUR</Delivery_Cost> <EAN_code>8888088388288</EAN_code> </product> </products> Link to comment Share on other sites More sharing options...
♥JcMagpie Posted June 5, 2019 Share Posted June 5, 2019 It's old so check before using. https://apps.oscommerce.com/DSESd&osc-xml-feed or use this https://apps.oscommerce.com/WWu0U&google-base-froogle-data-feeder-v1-00 or just make a new one http://programmerblog.net/how-to-generate-xml-files-using-php/ Link to comment Share on other sites More sharing options...
accesid Posted June 5, 2019 Author Share Posted June 5, 2019 Thanks for the reply. I found them too, just a little complicated, too much for me to do. I thought make something simpler. I think get all data from database but I have a problem with seo url. I don't know how I can get the seo urls (maybe with product_info.php based on product_id? but I don't know how I can do that) With xml generate I have no problem - i think Link to comment Share on other sites More sharing options...
♥JcMagpie Posted June 6, 2019 Share Posted June 6, 2019 13 hours ago, accesid said: I don't know how I can get the seo urls (maybe with product_info.php based on product_id? but I don't know how I can do that) Not sure what you are refering to? osC stock has a simple url All products start with, www.my_store.com/product_info.php?products_id= The id number is added when you make the product in admin and is in the db so will be diferent id for all products. So for product x it is say id=29 so url for product x is www.my_store.com/product_info.php?products_id= 29 You can make scritp to pull all product id's from db and append "www.my_store.com/product_info.php?products_id=" to the front of them. However if you are using a SEO add-on to make new url's then it will be diferent and you will need to check what that add-on is doing and if it saves the url in db, file or just in cache! Link to comment Share on other sites More sharing options...
accesid Posted July 18, 2019 Author Share Posted July 18, 2019 Thx for your response. I use 'Ultimate SEO V 2.2d by Jack_mcs' with a lot of litle modification. Finaly I found the solution, it is very simple. I can get the actual seo frendly url from the product_info.php Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.