Page 86 of 367 FirstFirst ... 3676848586878896136186 ... LastLast
Results 851 to 860 of 3663
  1. #851
    Join Date
    Apr 2006
    Location
    Dark Side of the Moon
    Posts
    987
    Plugin Contributions
    1

    Default Re: My CSV file uploads the categories, but not the products

    It's 9 ... I edited the post to fix it... too early

    Deleting should be no different.

  2. #852
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: My CSV file uploads the categories, but not the products

    Quote Originally Posted by chadderuski View Post
    Hi Kevin,

    No. But there is a work around that I don't suggest except for new installs. You can list the product TWICE. The first time in it's existing category, with v_status = 9 (request a delete product), and then again in the target category with v_status = 1 for normal active.

    So what happens is the product is first deleted and then re-added to the store. Note that this breaks the product_id, and that may affect things like your sitemap, feeds, etc.
    I know, I am trying to inject coffee to myself also.

    Since you mentioned you do not recommend except for new installs. You can list the product TWICE

    If you are deleting products from table first (v_status = 9), and then adding new products to a different category via (v_status = 1). Whys is it that the product ID is broken? Why should it? Product ID should be deleted in the tables. Aren't they?


    Please excuse me if I asking dumb questions like that.

    ps. By product IDs i meant v_products_model.
    Last edited by Kevin205; 16 Feb 2013 at 06:31 PM.
    Using Zen Cart 1.5.1

  3. #853
    Join Date
    Apr 2006
    Location
    Dark Side of the Moon
    Posts
    987
    Plugin Contributions
    1

    Default Re: My CSV file uploads the categories, but not the products

    Quote Originally Posted by Kevin205 View Post
    This would be a pretty useful tool. (Not that it already isn't)

    I can only imagine there will be instances that you add 100s of products by mistake to a category. And then you have to delete them from one category and add them to the correct one!
    This is ONE of the many potential screw-up that can occur, and the reason I always ALWAYS recommend doing a database backup with Dr. Byte's Backup MySQL tool before doing any import.

    I've been using EP for 8 years, and even with MY coded version, I still do a DB backup before an import.

  4. #854
    Join Date
    Apr 2006
    Location
    Dark Side of the Moon
    Posts
    987
    Plugin Contributions
    1

    Default Re: My CSV file uploads the categories, but not the products

    Quote Originally Posted by Kevin205 View Post
    I know, I am trying to inject coffee to myself also.

    Since you mentioned you do not recommend except for new installs. You can list the product TWICE

    If you are deleting products from table first (v_status = 9), and then adding new products to a different category via (v_status = 1). Whys is it that the product ID is broken? Why should it? Product ID should be deleted in the tables. Aren't they?


    Please excuse me if I asking dumb questions like that.

    ps. By product IDs i meant v_products_model.
    when you browse your store, look at your URL. It is made up of category ID's and your product's ID, NOT the model. So if you feed google, bing, or some other place, you will throw a wrench in your bot's indexing ...

    Hope that makes sense.

  5. #855
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: My CSV file uploads the categories, but not the products

    OK now I understand. My #1 rule is to always make backups.

    What my concern is when you populate the database with 100s of records and in a month or two after adding hundreds more, then if the category name has to be changed for any reason whatsoever, manufacturer definitions, management decision to change location and or mistakes or any other reason, then this is something that has to get done and backups will not help. The product tree has to be changed. Search engine bots, SEO and etc. could be re-established.

    As long as the action of deleting a series of products with v_status = 9 (request a delete product), and then adding the same series of products in the target category via v_status = 1, does not interfere with database integrity. I would not care about bots or indexing.

    Do you think the above action might damage the database integrity itself?
    Using Zen Cart 1.5.1

  6. #856
    Join Date
    Apr 2006
    Location
    Dark Side of the Moon
    Posts
    987
    Plugin Contributions
    1

    Default Re: My CSV file uploads the categories, but not the products

    Quote Originally Posted by Kevin205 View Post
    OK now I understand. My #1 rule is to always make backups.

    What my concern is when you populate the database with 100s of records and in a month or two after adding hundreds more, then if the category name has to be changed for any reason whatsoever, manufacturer definitions, management decision to change location and or mistakes or any other reason, then this is something that has to get done and backups will not help. The product tree has to be changed. Search engine bots, SEO and etc. could be re-established.

    As long as the action of deleting a series of products with v_status = 9 (request a delete product), and then adding the same series of products in the target category via v_status = 1, does not interfere with database integrity. I would not care about bots or indexing.

    Do you think the above action might damage the database integrity itself?
    I see no reason for the databases to suffer. Although you may want to optimize your databases if you delete *hundreds* of item, etc. as these are not physically deleted from the database (only marked as deleted) until you do so.

  7. #857
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: My CSV file uploads the categories, but not the products

    So how would you physically delete them?
    Using Zen Cart 1.5.1

  8. #858
    Join Date
    Apr 2006
    Location
    Dark Side of the Moon
    Posts
    987
    Plugin Contributions
    1

    Default Re: My CSV file uploads the categories, but not the products

    Quote Originally Posted by Kevin205 View Post
    So how would you physically delete them?
    From zencart admin: Tools > Store Manager > Optimize Databases

  9. #859
    Join Date
    Nov 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: My CSV file uploads the categories, but not the products

    I can download "Full" and turn right around and import it back. But if I open with Calc and save file unedited I get this error msg.

    No model field in record. This line was not imported

  10. #860
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: My CSV file uploads the categories, but not the products

    Quote Originally Posted by chadderuski View Post
    From zencart admin: Tools > Store Manager > Optimize Databases
    Chad - Thank you for all the help.
    Using Zen Cart 1.5.1

 

 

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 20
    Last Post: 23 Apr 2025, 08:49 AM
  2. BackUp ZC [Support Thread]
    By skipwater in forum All Other Contributions/Addons
    Replies: 285
    Last Post: 23 Dec 2020, 10:40 AM
  3. Wordpress On ZC [Support Thread]
    By hira in forum All Other Contributions/Addons
    Replies: 1858
    Last Post: 17 Jan 2014, 01:24 AM
  4. ZJ Black 2 support thread
    By Liamv in forum Addon Templates
    Replies: 1
    Last Post: 15 Feb 2010, 02:53 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR