Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

xml feeder for price comparison


accesid

Recommended Posts


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

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

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

  • 1 month later...

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

Archived

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

×
×
  • Create New...