Results 1 to 10 of 3673

Hybrid View

  1. #1
    Join Date
    Feb 2015
    Posts
    23
    Plugin Contributions
    0

    Default Re: Using EP4 to update existing products

    Hello, I have a question regarding updating quantities.

    If I have 10,000 products in my catalog, it would be painstaking to search for every single item and update the quantity one-by-one. I exported a Model/Price/Quantity and tried to update the easiest way possible. I entered, at the bottom, the model and new quantity for an existing item. When I imported it, the quantity updated in my catalog, but the item name got deleted.

    Why would the item name get deleted?? That isn't even one of the editable fields when doing Model/Price/Qty. I can understand if I left the required field blank, but the field isn't even there.

    Is there a simple way to update mass product quantities? Shouldn't new data overwrite old, and same data remain untouched?

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

    Default Re: Using EP4 to update existing products

    Quote Originally Posted by Jenovee View Post
    Hello, I have a question regarding updating quantities.

    If I have 10,000 products in my catalog, it would be painstaking to search for every single item and update the quantity one-by-one. I exported a Model/Price/Quantity and tried to update the easiest way possible. I entered, at the bottom, the model and new quantity for an existing item. When I imported it, the quantity updated in my catalog, but the item name got deleted.

    Why would the item name get deleted?? That isn't even one of the editable fields when doing Model/Price/Qty. I can understand if I left the required field blank, but the field isn't even there.

    Is there a simple way to update mass product quantities? Shouldn't new data overwrite old, and same data remain untouched?
    Looks like you found an error... Hmm.. Now to call the correction a new version or just fix it... Been working on a few changes/additions... How about this, I provide the correction location and soon should have an update (especially since trying to get the v_options_values_price_w field addressed in addition to some of the other things...

    line 589 of admin/easypopulate_4_import.php of version 4.0.28 currently reads:

    Code:
     $row2 = ($ep_uses_mysqli ? mysqli_fetch_array($result) : mysql_fetch_array($result2));
    and should read:

    Code:
    $row2 = ($ep_uses_mysqli ? mysqli_fetch_array($result2) : mysql_fetch_array($result2));
    That will resolve your issue, and may resolve some of the issues identified recently by others...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Feb 2015
    Posts
    23
    Plugin Contributions
    0

    Default Re: Using EP4 to update existing products

    Hello. Thanks for the reply, mc. I changed the code as you stated (just the number "2") and tried it again. No, it's still doing the exact same thing. It imports everything fine, but still deletes the product name.

    I logged out and back in also, just in case it needed to "refresh" in some way. But same thing over and over.

    Quote Originally Posted by mc12345678 View Post
    Looks like you found an error... Hmm.. Now to call the correction a new version or just fix it... Been working on a few changes/additions... How about this, I provide the correction location and soon should have an update (especially since trying to get the v_options_values_price_w field addressed in addition to some of the other things...

    line 589 of admin/easypopulate_4_import.php of version 4.0.28 currently reads:

    Code:
     $row2 = ($ep_uses_mysqli ? mysqli_fetch_array($result) : mysql_fetch_array($result2));
    and should read:

    Code:
    $row2 = ($ep_uses_mysqli ? mysqli_fetch_array($result2) : mysql_fetch_array($result2));
    That will resolve your issue, and may resolve some of the issues identified recently by others...

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

    Default Re: Using EP4 to update existing products

    Quote Originally Posted by Jenovee View Post
    Hello. Thanks for the reply, mc. I changed the code as you stated (just the number "2") and tried it again. No, it's still doing the exact same thing. It imports everything fine, but still deletes the product name.

    I logged out and back in also, just in case it needed to "refresh" in some way. But same thing over and over.
    So, what was the filename of your modified file with just quantity modified? What version is being used currently? What fields are in the file? What if any custom fields are used?

    I took a "risk" and after downloading the file that was created from the section that says import/export for model/price/qty. I modified the file to change just the number of quantity for a product. I intended to delete all but the one row, but I uploaded all of the rows and had no loss of the product name. I did see the change of quantity that I uploaded, but didn't experience the issue described by following the above process...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Feb 2015
    Posts
    23
    Plugin Contributions
    0

    Default Re: Using EP4 to update existing products

    For this, I'm following the same method as when I export the complete products and add new products. I export the file, edit, then upload the same exact file. The filename never gets changed. The latest filename is -- "PriceQty-EP2015Mar30-043833.csv". I've exported it multiple times during this problem, and the filename is always named the same way.

    The version of EP is 4.0.28 - Beta 01-03-2015. The ZC version is v1.5.4.

    No custom fields on this. Just the standard -- v_products_model v_status v_specials_price v_specials_date_avail v_specials_expires_date v_products_price v_products_quantity

    I'm wondering if something is wrong with my installation then. I'll keep testing different ways to see if I can figure this out.

    Quote Originally Posted by mc12345678 View Post
    So, what was the filename of your modified file with just quantity modified? What version is being used currently? What fields are in the file? What if any custom fields are used?

    I took a "risk" and after downloading the file that was created from the section that says import/export for model/price/qty. I modified the file to change just the number of quantity for a product. I intended to delete all but the one row, but I uploaded all of the rows and had no loss of the product name. I did see the change of quantity that I uploaded, but didn't experience the issue described by following the above process...

  6. #6
    Join Date
    Feb 2015
    Posts
    23
    Plugin Contributions
    0

    Default Re: Using EP4 to update existing products

    Also, just so we are clear on how I am doing this. I am doing my edits the same way someone would add new products. At the bottom (end) of the spreadsheet, I add the product information as if it were a new product. From my understanding, it should just overwrite whatever information has been changed. It seems to work fine, since it edits the quantity and doesn't create a doubled product. BUT it deletes the product name.

    Now .... when I specifically go to a current item .... if I merely change the qty and import, everything is fine. Qty gets updated and everything is in tact. The filename only gets wiped when the method is like I'm adding a new product.

  7. #7
    Join Date
    Dec 2010
    Location
    Thailand
    Posts
    300
    Plugin Contributions
    2

    Default Re: Using EP4 to update existing products

    Does this plugin allow exporting products images as well?

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

    Default Re: Using EP4 to update existing products

    Quote Originally Posted by Jenovee View Post
    Also, just so we are clear on how I am doing this. I am doing my edits the same way someone would add new products. At the bottom (end) of the spreadsheet, I add the product information as if it were a new product. From my understanding, it should just overwrite whatever information has been changed. It seems to work fine, since it edits the quantity and doesn't create a doubled product. BUT it deletes the product name.

    Now .... when I specifically go to a current item .... if I merely change the qty and import, everything is fine. Qty gets updated and everything is in tact. The filename only gets wiped when the method is like I'm adding a new product.
    This is a process different than tested... Seems that if the model# is known, it could be just as easily searched for as compared to retyped, unless I am missing something... Will still look at the process to see why "adding" the product anew in the list has a different affect than modifying the item in the list. Would almost suggest in this scenario that all other line records be removed from the list other than the one instance of the model#(s) being revised.

    For further clarification when stating:
    Quote Originally Posted by Jenovee View Post
    The filename only gets wiped when the method is like I'm adding a new product.
    the term filename refers to the product name correct? And that is the only data that the code removes or unexpectedly modifies in this scenario?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 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

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