Page 227 of 367 FirstFirst ... 127177217225226227228229237277327 ... LastLast
Results 2,261 to 2,270 of 3663
  1. #2261
    Join Date
    May 2008
    Location
    United States
    Posts
    454
    Plugin Contributions
    1

    Default Re: EasyPopulate 4.0 Support Thread

    I'm using Easy Populate 4.0.30 - Beta 06-27-2015

    I define the following fields in admin setting in Easy Populate:
    User Defined Products Fields: products_ordered,products_length,products_width,products_height,products_ready_t o_ship

    I exported Complete Products (with Metatags) then removed all but either id or model forgot which is required and the defined above and imported back with the defined fields populated as I needed them to be. That's all I did which I believe reset the quantity ordered as I described.

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

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by marcopolo View Post
    I'm using Easy Populate 4.0.30 - Beta 06-27-2015

    I define the following fields in admin setting in Easy Populate:
    User Defined Products Fields: products_ordered,products_length,products_width,products_height,products_ready_t o_ship

    I exported Complete Products (with Metatags) then removed all but either id or model forgot which is required and the defined above and imported back with the defined fields populated as I needed them to be. That's all I did which I believe reset the quantity ordered as I described.
    [So, here is what I understand in “date” order and therefore remain perplexed if there is an issue or not:
    At point A a backup of the database was made.

    At point B an export was made, the file modified to only include the primary reference key and user defined fields that were to be updated with whatever was in the import file.

    At point C, the import file with the primary key and user defined data fields was imported causing the product identified by the primary key to be updated with whatever was present (or “absent”) in the user defined fields. The data for each field had been updated as desired/requested and all fields were present in the file. This included a field called products_ordered.

    At point D (call it today), a comparison of the live database to the backup made at point A shows that everything is the same except for the data that was stored at point C. But the data in the products_ordered field is now zero instead of the quantity identified in the file at point C.

    So question(s) are:
    1) Did the import file at point C actually include the products_ordered field or not?
    1.a) If it did, how do the values identified there relate to what is/was in the database?
    2) If you were to again upload just a single row of data that included the products_ordered field and information for that field, what happens to the information of that product and field?
    3) When uploading are the user defined fields still present even when the involved import file doesn't have data for the applicable field?
    Last edited by mc12345678; 3 Mar 2016 at 06:26 PM.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #2263
    Join Date
    Feb 2010
    Posts
    20
    Plugin Contributions
    0

    Default Re: EasyPopulate 4.0 Support Thread

    I think it's working now. I just did a quick import test. I'll test further.
    Thanks - Henry

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

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by henry3 View Post
    I think it's working now. I just did a quick import test. I'll test further.
    Thanks - Henry
    Glad that at least appears to have it working. Please do report test result/issues.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #2265
    Join Date
    May 2008
    Location
    United States
    Posts
    454
    Plugin Contributions
    1

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by mc12345678 View Post
    [So, here is what I understand in “date” order and therefore remain perplexed if there is an issue or not:
    At point A a backup of the database was made.

    At point B an export was made, the file modified to only include the primary reference key and user defined fields that were to be updated with whatever was in the import file.

    At point C, the import file with the primary key and user defined data fields was imported causing the product identified by the primary key to be updated with whatever was present (or “absent”) in the user defined fields. The data for each field had been updated as desired/requested and all fields were present in the file. This included a field called products_ordered.

    At point D (call it today), a comparison of the live database to the backup made at point A shows that everything is the same except for the data that was stored at point C. But the data in the products_ordered field is now zero instead of the quantity identified in the file at point C.

    So question(s) are:
    1) Did the import file at point C actually include the products_ordered field or not?
    1.a) If it did, how do the values identified there relate to what is/was in the database?
    2) If you were to again upload just a single row of data that included the products_ordered field and information for that field, what happens to the information of that product and field?
    3) When uploading are the user defined fields still present even when the involved import file doesn't have data for the applicable field?
    OK I just tested to confirm the issue and it DOES delete the products_ordered.

    Here is want I did to test:

    In phpmyadmin I modified the products_ordered for two items entering 100 for each. I saved and verified it was populated.
    I then imported a csv file in EP, see below:

    v_products_model,v_products_length,v_products_width,v_products_height,v_products _ready_to_ship,v_products_quantity
    10,9.5,3.5,3.1,0,5289
    20,9.5,3.5,3.1,0,5766

    Import was successful but when I went back in phpmyadmin the products_ordered on both items were 0

  6. #2266
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: EasyPopulate 4.0 Support Thread

    So indication here is that if a user defined (custom) field is identified in the admin, then if the field is not included in the file it will be treated as being blank and therefore cleared of it's value. Further, until this issue is corrected it would be advised that a custom field not be listed in the admin field unless that field is to be modified by an import...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #2267
    Join Date
    May 2008
    Location
    United States
    Posts
    454
    Plugin Contributions
    1

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by mc12345678 View Post
    So indication here is that if a user defined (custom) field is identified in the admin, then if the field is not included in the file it will be treated as being blank and therefore cleared of it's value. Further, until this issue is corrected it would be advised that a custom field not be listed in the admin field unless that field is to be modified by an import...
    Yes that seems to be the issue would you like me to test again BUT without the products_ordered field in admin?

  8. #2268
    Join Date
    May 2008
    Location
    United States
    Posts
    454
    Plugin Contributions
    1

    Default Re: EasyPopulate 4.0 Support Thread

    Just tested again without the products_ordered in admin and it did NOT delete the products_ordered this time so yes confirmed that is the issue.

  9. #2269
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by marcopolo View Post
    Yes that seems to be the issue would you like me to test again BUT without the products_ordered field in admin?
    Quote Originally Posted by marcopolo View Post
    Just tested again without the products_ordered in admin and it did NOT delete the products_ordered this time so yes confirmed that is the issue.
    Looking at a remnant of code in the import file it appears that I had begun adding the protection to prevent the issue you were experiencing. Looks like that needs to be completed/rectified still.

    The goal being that the custom field could remain populated, but the data not cleared if the field is absent from the import file.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #2270
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: EasyPopulate 4.0 Support Thread

    FYI, I believe I fixed the above problem, but still need to upload the changes to github... Wanted to run a couple more tests as well. Did find that the solution for the date/time issue was partially incomplete as I found cases of 0000-00-00 00:00:00 entered for the date_available related field instead of NULL, but at least it doesn't "seem" like it causes a problem by being there... Still to be incorporated/updated regardless of what it "seems". :)
    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: 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