joss54 Posted September 12, 2007 Share Posted September 12, 2007 Hello everybody, with many hours spent and a lot of help from contributions and forum I have an eshop up and running some time now. The new dilemma is that I would like to export 2 xml files, one with the categories and another with all the products. The first should have the categories as <category> <id>1</id> <title>CPU</title> </category> <category> <id>11</id> <title>CPU -> Intel</title> </category> <category> <id>86</id> <title>CPU -> AMD</title> </category> The second one with the products should be something like <product> <id>860</id> <title>AMD ATHLON 64</title> <description>CPU - Socket 754</description> <image>http://www.mytempshop.com/catalog/popup_image.php?pID=860</image> <price>140.50</price> <category_id>86</category_id> <url>http://www.mytempshop.com/catalog/product_info.php?cPath=86&products_id=860</url> </product> Now... I've tried a contribution named XML Export to just have a look what it exports but it has a problem showing Fatal error: Call to undefined function: tep_get_category_tree() in /home/mytempshop/public_html/catalog/xml_export.php on line 251 Knowledge of php and xml very few... Can someone please help with that? Thanks in advance Quote Link to comment Share on other sites More sharing options...
expert Posted September 13, 2007 Share Posted September 13, 2007 Hello everybody, with many hours spent and a lot of help from contributions and forum I have an eshop up and running some time now. The new dilemma is that I would like to export 2 xml files, one with the categories and another with all the products. The first should have the categories as <category> <id>1</id> <title>CPU</title> </category> <category> <id>11</id> <title>CPU -> Intel</title> </category> <category> <id>86</id> <title>CPU -> AMD</title> </category> The second one with the products should be something like <product> <id>860</id> <title>AMD ATHLON 64</title> <description>CPU - Socket 754</description> <image>http://www.mytempshop.com/catalog/popup_image.php?pID=860</image> <price>140.50</price> <category_id>86</category_id> <url>http://www.mytempshop.com/catalog/product_info.php?cPath=86&products_id=860</url> </product> Now... I've tried a contribution named XML Export to just have a look what it exports but it has a problem showing Knowledge of php and xml very few... Can someone please help with that? Thanks in advance Sorry you must put xml_export.php file in your /admin folder. I will revise install instruction in contrib area. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.