Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2007
    Posts
    342
    Plugin Contributions
    0

    Default Exporting Catalog from v1.3.7 to 1.5.1?

    Hi Gang -

    wondering what route would you go if you want to export the products of a version 1.3.7.1 zencart to an existing fresh 1.5.1 version?

    thanks,

  2. #2
    Join Date
    Jan 2004
    Posts
    66,451
    Plugin Contributions
    81

    Default Re: Exporting Catalog from v1.3.7 to 1.5.1?

    That's the opposite direction to what the tools are designed to handle.

    The zc_install script will bring your *entire* database forward from old version to new.

    There are no tools to selectively pull only a handful of records from the old version into the new. That's largely because doing so would create conflicts between record ids.

    Best approach: upgrade a copy of the old database and then re-apply your customization settings in your Admin afterward, and any plugins.

    http://www.zen-cart.com/entry.php?3-...d-of-upgrading
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Exporting Catalog from v1.3.7 to 1.5.1?

    Quote Originally Posted by DrByte View Post
    That's the opposite direction to what the tools are designed to handle.

    The zc_install script will bring your *entire* database forward from old version to new.

    There are no tools to selectively pull only a handful of records from the old version into the new. That's largely because doing so would create conflicts between record ids.

    Best approach: upgrade a copy of the old database and then re-apply your customization settings in your Admin afterward, and any plugins.

    http://www.zen-cart.com/entry.php?3-...d-of-upgrading
    After upgrade (either in place or through an alternate test site), if there are specific products to copy over without replacing the current 151 database, a tool similar to easy Populate or Apsona could be used to export the upgraded database into a storage file. The file could then be modified to only import select products. This will not technically be like an upgrade of the store because only data specific to support the future purchase of the product would be transferred not information related to it's past. It would however, make products available in the new store that were available in the old store without fully wiping/rebuilding the new store.

    It would be far more helpful though to explain the reason for doing what you have described/asked about. Dr. Byte's advise as is so often the case spot on and a complete solution for making an older store current. I chose to answer the question asked thinking there may be a good reason (sometimmes there is, sometimes there is not.) The guess work is removed completely if the post(s) provide more of the suggested posting guidelines or if one thinks from the perspective of another trying to help from reading just the text that is provided.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Exporting Catalog from v1.3.7 to 1.5.1?

    I would like to add, and it basically desrves it's own reponse rather than piggy backing onmy previous. Any time one discusses differences in versions of things, follow the upgrade guidelines. One of which is not to do things like move a store and upgrade at the same time. This is similar to what is being asked about. How to get something from one store to anotherand how to make sure that it is the same version as applicable. Well, looks like need to do an upgrade and a move. Which in a way is where Dr. Byte suggested to go. Once the two databases are at the same version, now the question is how do I copy products from one database to another. But, there are still questions to be answered, like why for what purpose, etc?

    Now, had the writeup begunwith a clear descriptionof knowing that part and wanting to find a shortcut or method to validate that a shortcut could be used, the write-up could have/should have been different.

    Anyways, that just my getting out there and trying to teach a little how to work through ZC and other programs.

    Peace.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Jan 2004
    Posts
    66,451
    Plugin Contributions
    81

    Default Re: Exporting Catalog from v1.3.7 to 1.5.1?

    Quote Originally Posted by mc12345678 View Post
    After upgrade (either in place or through an alternate test site), if there are specific products to copy over without replacing the current 151 database, a tool similar to easy Populate or Apsona could be used to export the upgraded database into a storage file. The file could then be modified to only import select products.
    Fair, but what I didn't state specifically in my prior post is that the problem with that approach is that if the new store has had any products added manually then there will be a mismatch on product IDs, and then the "import" wouldn't be clean, and all the previously-indexed links to those products would be invalid as well.
    It's far worse if there have been orders placed, new customers, etc. That's why I always recommend the temporary database copy is ONLY for testing, and the live site is directly upgraded (only AFTER testing separately of course) so no data is ever lost. http://www.zen-cart.com/entry.php?3-...d-of-upgrading
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Nov 2007
    Posts
    342
    Plugin Contributions
    0

    Default Re: Exporting Catalog from v1.3.7 to 1.5.1?

    Thanks for the help folks.

    The new v1.5.1 installation already had items (the default ones that come with the installation). I removed them manually.
    I am realizing the complications of importing an old catalog into a new one so I decided to go manually. I opted for a fresh install since there were too many customizations applied to the old ver 1.3.7.
    So, as always starting with a clean new slate is better than upgrading an old install with who knows what complications.
    Yes, things are slower, but it might pay out in the long run.
    thanks for the help!!

    g

 

 

Similar Threads

  1. Exporting orders from Zencart
    By creativenonfiction in forum General Questions
    Replies: 10
    Last Post: 21 Sep 2010, 02:05 PM
  2. Exporting product & tax info from Zencart
    By rcaroe in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 18 Aug 2010, 04:38 AM
  3. I need category & products hidden from the Online Catalog from search engines
    By g00glethis1 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 21 Jul 2010, 06:11 PM
  4. Remove catalog (moving up to public_html from /catalog)
    By Tom_Ace in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 8 Nov 2006, 04:52 PM

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