Page 327 of 359 FirstFirst ... 227277317325326327328329337 ... LastLast
Results 3,261 to 3,270 of 3588
  1. #3261
    Join Date
    Jul 2012
    Posts
    16,710
    Plugin Contributions
    17

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by greybeard_it_guy View Post
    Long story behind this, but if I were to import into the products table with product_id that were not consecutive, would that be a problem? In other words, I might import product_id 5442, skip 5443, and then next use 5444.

    Would Zen Cart have a problem with these gaps in the product_id?
    My answer is based on say a "fresh" install where numbers are not being "recycled"... no, Zen Cart would not specifically have a problem with numbers not being consecutive.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

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

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by mc12345678 View Post
    My answer is based on say a "fresh" install where numbers are not being "recycled"... no, Zen Cart would not specifically have a problem with numbers not being consecutive.
    I should have added though, remember that the "world" (wide web) "knows" your product by specific products_id.

    Note that skipping a products_id is similar to deleting a historic (old) product. Generally speaking ALWAYS skipping a number would in a way effectively reduce the possible number of product in half, but, unless you have more than 49,999,999,999 of the maximum possible 99,999,999,999 products ever to be in the store (not necessarily all at once), this shouldn't be an issue. :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3263
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,289
    Plugin Contributions
    22

    Default Re: EasyPopulate 4.0 Support Thread

    I've just gotten the file ready to import about 40 products. It uploads fine and says it imported okay - no specifics. But the products are not importing. It has been a while since I've done this but what in the world could I be missing? All have product module numbers. I got all fields etc.
    The full-time Zen Cart Guru. WizTech4ZC.com

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

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by delia View Post
    I've just gotten the file ready to import about 40 products. It uploads fine and says it imported okay - no specifics. But the products are not importing. It has been a while since I've done this but what in the world could I be missing? All have product module numbers. I got all fields etc.
    Let's revisit some basics and also get some info...
    Version of EP4, is it the latest as published to this forum or from github and what is the reported version for that?
    What is the filename for the file?
    If looking at the file list for import, is there a reported problem for the delimiter or is the csv delimiter reported as expected? (likely a comma)
    What is the setting in the configuration for the import language override.
    What "ending" is used for the header of fields that are language dependent such as the v_products_name or v_categories_name?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #3265
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,289
    Plugin Contributions
    22

    Default Re: EasyPopulate 4.0 Support Thread

    version 4.0.37.13 - I downloaded from github but this appears to be what is in zc plugins. It does say there's a new version so I'm confused on this point.
    updated_products-2021-05-10.csv
    excel file - taken from exported original file. It has been majorly changed however
    no reported problem
    settings are default - no changes

    and yes fields have the 1 on it
    The full-time Zen Cart Guru. WizTech4ZC.com

  6. #3266
    Join Date
    Jul 2012
    Posts
    16,710
    Plugin Contributions
    17

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by delia View Post
    version 4.0.37.13 - I downloaded from github but this appears to be what is in zc plugins. It does say there's a new version so I'm confused on this point.
    updated_products-2021-05-10.csv
    excel file - taken from exported original file. It has been majorly changed however
    no reported problem
    settings are default - no changes

    and yes fields have the 1 on it
    If default new install, then in the configuration options change the import override to something other than language_code_only...

    As to the version response issue, I did not update the internal version to be 4.0.37.ZC so the ZC site's 4.0.37.ZC is "newer" than 4.0.37.13 based on the method used to compare. I have some more updates to push and will get this right in that submission.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #3267
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,289
    Plugin Contributions
    22

    Default Re: EasyPopulate 4.0 Support Thread

    making that change means the import worked. Thank you but why have a default that won't work?
    The full-time Zen Cart Guru. WizTech4ZC.com

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

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by delia View Post
    making that change means the import worked. Thank you but why have a default that won't work?
    Ahem.. It does work... When language dependent fields contain the appropriate information.

    There are now four options in that list: language_id, language_code, language_id_only, and language_code_only.

    Choosing either of the first two offers a preference... The preference is whatever is selected, but if it doesn't exist then the other is used. The two options ending in only will pull information from the import file *only* from the language dependent fields that have that identifier.

    So.. It is now possible that an import file could have for example v_categories_name_1 and v_categories_name_en or it could contain either of these. But, the question becomes, when importing the file, which field should be used? Ideally, they would both contain the same information, but we all know that is not going to happen consistently. We also know that former users of this plugin have become accustomed to the _1 style. For those that have upgraded from a previous installation (say 4.0.36 where this feature was first initiated), the default was language_code even though that was not fully implemented throughout. Again, the idea was if _en existed then it would use that field, but if not, then it would attempt to use _1.

    What really should have happened is that some level of notification be made about the situation. I thought that I had something for this situation, but based on the above report that does not appear to be true. Even after the extensive testing that I did, it seems I missed a portion of user response. Further it looks like I set the default export to use the 'id' so that leads to the issue you (and likely others experienced).

    I previously had the import default to language_code so that if a file happened to use _en then it would offer preference to that field. Then in my testing, I realized that if one chose to delete the _1 column and had language_id set, it would still try to populate with the content of the field ending in _en.... Had some options... 1. Only "choose" between the two fields when both fields are present and ignore the other field if only one is present, 2) add a second set of options where data is populated only from the field type designated and to allow the preference with fallback option to continue/exist or 3) leave it alone and advise people to delete all occurrences of a field if it is not to be updated (I obviously didn't like this option because I didn't keep it that way).

    For long time users, I expected that the configuration information and guidance would be helpful enough to change that setting as necessary, it was my goal for new users to be exposed to the language_code (though keeping/making the default export as language_id doesn't do that in the least).

    So, like said a little before, need to provide another update, good feedback on the issue thank you.

    Although not yet set in stone, my initial thought for this is to modify the default export to the language_code and keep the default import as language_code_only... Feedback/input?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #3269
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,289
    Plugin Contributions
    22

    Default Re: EasyPopulate 4.0 Support Thread

    I prefer default to simply work out of the box with a default cart. I appreciate the addition of languages but I have had only one client in 20 years who used more than just English and the one I did have ended up getting rid of it due to changes years ago. I don't know what the best situation is but the simpler the better always.
    The full-time Zen Cart Guru. WizTech4ZC.com

  10. #3270
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,612
    Plugin Contributions
    123

    Default Re: EasyPopulate 4.0 Support Thread

    Fresh install of current latest version of EP says "NOTE: A NEW VERSION OF THIS PLUGIN IS AVAILABLE". I couldn't get the LOG_PLUGIN_VERSIONCHECK_FAILURES setting to work and I didn't have time to look at it further. The only thing I did notice is that the comment in easypopulate_4.php on line 102 references an old version number, but obviously this is not the root cause of the issue.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 19
    Last Post: 23 Jan 2023, 08:04 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