Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2006
    Posts
    8
    Plugin Contributions
    0

    Default How do I update just products through SQL from local site to live?

    I have a local version of the live site (all the same except the config files) and the customer emails product changes/updates to me and I've been doing them locally then uploading the entire database.

    It has occured to me that I am asking for trouble. By uploading the entire database I may over-write an order or new information related to customers. Although I download the database just before I make changes to the products someone might place an order and/or make changes to their account.

    So, for those of you who have figured this out, could you give someone who has remedial skills with phpmyadmin, steps to updating just the product tables so I don't endanger the rest of the site?

    I want to add new products, drop some products, update other products by overwriting the existing data on the live site with the data I have on my local server. And before someone states the obvious: I don't do all of this through the live site admin because I'm on dialup (yes, some of us live so far away from the hustle and bustle of the city we have no other option).

    Thanks for your help.

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,655
    Plugin Contributions
    25

    Default Re: How do I update just products through SQL from local site to live?

    This can be done via phpMyAdmin if you understand how the product tables fit together. But it would be easier to do it by using EasyPopulate, as that mod already has those relationships built-in.
    See and test drive Zen Cart's free templates at zencarttemplates.info

    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jan 2006
    Posts
    8
    Plugin Contributions
    0

    Default Re: How do I update just products through SQL from local site to live?

    kuroi,

    Thanks. While EasyPopulate is a possible solution it's not the one I'm looking for. Is there any way to do this using PHPMyAdmin? Surely this isn't that complicated.

  4. #4
    Join Date
    Jan 2004
    Posts
    58,235
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: How do I update just products through SQL from local site to live?

    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

 

 

Similar Threads

  1. Enable Sub-Categories
    By bjmhistory in forum Templates, Stylesheets, Page Layout
    Replies: 19
    Last Post: 12 Sep 2011, 04:29 AM
  2. MySQL syntax error
    By Waggle Dancer in forum General Questions
    Replies: 13
    Last Post: 13 Feb 2007, 05:06 AM
  3. installing a template-uploading the sql table update
    By cudaboy71 in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 19 Jul 2006, 11:37 PM

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
  •