Results 1 to 10 of 10
  1. #1
    Join Date
    Aug 2005
    Location
    Southampton
    Posts
    80
    Plugin Contributions
    0

    Default Importing XML Feeds Advice Needed

    Hi,

    One of my suppliers is offer a live product feed using XML. Is this something that can be easily implemnented with the latest version of zencart?

    As they are selling approximately 35000 products this would be very useful to me as I would not need to manually check how much stock they carry for any item as it should automatically update from their database.

    Any advice, warnings or any other info would be very useful.

    many thanks in advance for any replies.

  2. #2
    Join Date
    Jan 2008
    Posts
    49
    Plugin Contributions
    0

    Default Re: Importing XML Feeds Advice Needed

    Yes, I am doing it every day.

    Use php 5 and lookup SimpleXML. From there, you can parse the incoming information and add the product, products description, and manufacturer info.

    Josh

  3. #3
    Join Date
    Aug 2005
    Location
    Southampton
    Posts
    80
    Plugin Contributions
    0

    Default Re: Importing XML Feeds Advice Needed

    Thank you very much for your assistance. Your help is very appreciated. One other thing though, does this allow for products to be uploaded manually that are not from my supplier. For example if I have multiple suppliers that I hold stock from as well as this supplier who I have dropship the items?
    Last edited by SteveCollins; 7 Jun 2008 at 12:49 AM.

  4. #4
    Join Date
    Jan 2008
    Posts
    49
    Plugin Contributions
    0

    Default Re: Importing XML Feeds Advice Needed

    Just put it in the same format. CSV owns me!

  5. #5
    Join Date
    Aug 2005
    Location
    Southampton
    Posts
    80
    Plugin Contributions
    0

    Default Re: Importing XML Feeds Advice Needed

    Thanks very much Josh. I take it I have to download this from somewhere. Is it a dificult task to install and get up and running?

  6. #6
    Join Date
    Jan 2008
    Posts
    49
    Plugin Contributions
    0

    Default Re: Importing XML Feeds Advice Needed

    How well do you know PHP and MySQL? The intensive part here is making sure:

    No Duplicates
    Update changed ones
    Add New Ones
    Delete Old Ones


    Youll have to write the majority of this from scratch.

    zen_remove_product will help.

    As for adding, check out easy populate for some example code.

  7. #7
    Join Date
    Jan 2008
    Posts
    49
    Plugin Contributions
    0

    Default Re: Importing XML Feeds Advice Needed

    Also, feel free to PM me any questions you might have. There are some intricacies Ive had to deal with. Namely, to use the zen functions, you have to recreate the db object in php5.2

    if (!is_object($db)) {
    //PHP 5.2.0 bug workaround ...
    $db = new queryFactory();
    $db->connect("localhost", "root", "root", "bernie_chcart", USE_PCONNECT, false);
    }
    //zen_remove_product($idarray['products_id']);

  8. #8
    Join Date
    Aug 2005
    Location
    Southampton
    Posts
    80
    Plugin Contributions
    0

    Default Re: Importing XML Feeds Advice Needed

    I am not that familiar with PHP in the sense that I could not program a page without major research first. MySQL is something that I know enough to get by on.

    Most of my ability is more to do with changing around what is already there rather than starting from scratch.

    I appreciate the offer of PMing you. I will do a little research first so that I ca familiarise myself with some of this stuff. That way I do not waste your time asking silly questions. Many thanks for all of your answers. I will be in contact soon via PM.

  9. #9
    Join Date
    May 2007
    Posts
    39
    Plugin Contributions
    0

    Default Re: Importing XML Feeds Advice Needed

    Hi Steve

    Can you give me a link to the xml feed you want to import, its possable i might be able to help you out.

    Drop me a pm if you like

    Regards

    Mate2007

  10. #10
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: Importing XML Feeds Advice Needed

    Hi

    I have the similar question to using datafeeds. Can anyone help where I should be starting please ?

    My drop ship supplier provides daily inventory feed in CSV format.

    they provide me with links such as following but I have no idea how to use the CVS file with zencart.
    http://www.dropship-wholesaler.com/d...s/products.csv
    http://www.dropship-wholesaler.com/d...es/options.csv

    Please help.
    Downunder QLD

 

 

Similar Threads

  1. Where to add xml feeds?
    By avmejias in forum General Questions
    Replies: 2
    Last Post: 7 Mar 2011, 03:14 AM
  2. Importing Product/Data Feeds
    By dd99 in forum General Questions
    Replies: 1
    Last Post: 30 Oct 2009, 03:50 PM
  3. implementing XML feeds?
    By ocs09 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 May 2009, 01:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR