Page 1 of 2 12 LastLast
Results 1 to 10 of 3673

Hybrid View

  1. #1
    Join Date
    Apr 2018
    Posts
    121
    Plugin Contributions
    0

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by mc12345678 View Post
    If the field `products_family` exists in the product's table and the row contains the primary key that has been chosen, then import of that data should work or a message is provided about it not working.

    To further test, I would recommend exporting one or more product that already have information in that field to see that it is exported and to provide a sort of example.

    There is no other code modification necessary to support that in an otherwise functional system.
    The import did not prompt any errors, but there was no value in the database.

    Click image for larger version. 

Name:	QQ截图20200114014359.jpg 
Views:	57 
Size:	8.6 KB 
ID:	18794

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

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by jiji2018 View Post
    The import did not prompt any errors, but there was no value in the database.

    Click image for larger version. 

Name:	QQ截图20200114014359.jpg 
Views:	57 
Size:	8.6 KB 
ID:	18794
    And after the file was uploaded to the server, the file was then imported? (upload places the file on the server, import processes the file to push the content to the database.) this part has been misunderstood by some before.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Apr 2018
    Posts
    121
    Plugin Contributions
    0

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by mc12345678 View Post
    And after the file was uploaded to the server, the file was then imported? (upload places the file on the server, import processes the file to push the content to the database.) this part has been misunderstood by some before.
    The import did not prompt any errors, but there was no value in the database

    Click image for larger version. 

Name:	QQ截图20200114021007.jpg 
Views:	45 
Size:	32.7 KB 
ID:	18795

  4. #4
    Join Date
    Apr 2018
    Posts
    121
    Plugin Contributions
    0

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by mc12345678 View Post
    And after the file was uploaded to the server, the file was then imported? (upload places the file on the server, import processes the file to push the content to the database.) this part has been misunderstood by some before.
    Is this set up correctly?
    Click image for larger version. 

Name:	QQ截图20200114021500.jpg 
Views:	51 
Size:	28.3 KB 
ID:	18796

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

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by jiji2018 View Post
    Is this set up correctly?
    Click image for larger version. 

Name:	QQ截图20200114021500.jpg 
Views:	51 
Size:	28.3 KB 
ID:	18796
    That looks correct to support import by products_model. Might suggest changing the primary_key to products_id, exporting then updating the products_family field for the items with the appropriate products_id. Note, that if you are wanting to add new product, I recommend the use of new_blank as the promary key. Then new product that do not have a products_id will be given one.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Apr 2018
    Posts
    121
    Plugin Contributions
    0

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by mc12345678 View Post
    That looks correct to support import by products_model. Might suggest changing the primary_key to products_id, exporting then updating the products_family field for the items with the appropriate products_id. Note, that if you are wanting to add new product, I recommend the use of new_blank as the promary key. Then new product that do not have a products_id will be given one.
    I installed this plug-in, you can try, see where the problem is, I want to through the batch scale, batch import keywords.
    I added custom fields and the content could not be imported

    https://www.zen-cart.com/downloads.php?do=file&id=1357

  7. #7
    Join Date
    Apr 2018
    Posts
    121
    Plugin Contributions
    0

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by mc12345678 View Post
    That looks correct to support import by products_model. Might suggest changing the primary_key to products_id, exporting then updating the products_family field for the items with the appropriate products_id. Note, that if you are wanting to add new product, I recommend the use of new_blank as the promary key. Then new product that do not have a products_id will be given one.
    What does new_blank and primary_key mean, I do n’t quite understand?

  8. #8
    Join Date
    Jan 2020
    Location
    Omaha, NE
    Posts
    4
    Plugin Contributions
    0

    Default Re: EasyPopulate 4.0 Support Thread

    In process of moving from Oscommerce to Zen Cart. Part of process is using Easy Populate to export default Zen Cart product database to use as spreadsheet template. Installed EP 4.0, shows up in tools, but when I try to export I get an immediate 500 error. Same thing happens no matter what option I try. We do have the zen cart directory set up below the top level domain but pretty sure I've put temp directories for EP to copy to.

    Thoughts?

    Zoom

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

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by zoomnbyu View Post
    In process of moving from Oscommerce to Zen Cart. Part of process is using Easy Populate to export default Zen Cart product database to use as spreadsheet template. Installed EP 4.0, shows up in tools, but when I try to export I get an immediate 500 error. Same thing happens no matter what option I try. We do have the zen cart directory set up below the top level domain but pretty sure I've put temp directories for EP to copy to.

    Thoughts?

    Zoom
    Check the logs directory for myDebug-adm related files to see what is going on. May be a permissions issue of the folder used as a destination, may be something else.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

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

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by jiji2018 View Post
    What does new_blank and primary_key mean, I do n’t quite understand?
    I believe you were asking about the differences between new_blank and products_id, but I'll describe both.

    In order to identify a single product in the database, there must be some field that contains information specific to that product. That is a generic description of a primary_key. It is possible for a table/product/object to be identified by a combination of fields to identify a unique field or primary_key for that thing.

    The primary key is most important when importing. This way the field can be used to match up with the item in the database. Zen Cart does not require products_model to be unique, so it is possible that two product could have the same products_model. But, every product is given a products_id.

    By providing the products_id and the data to be updated, that product can receive the desired update. But, the database normally manages products_id assignment such that a historical product remains a part of the database in some way.

    So there came a request by someone to allow the generation of a product by assigning a products_id and there also was a desire to just be able to create product without being worried about a unique products_model. So, a method was developed to allow product management specifically by products_id such that if the products_id were empty on import, that row of data would be ignored just like it is when working with products_model as a primary_key. But... then there was the concern of how to create a new product without knowing the latest/next products_id... So, the use of a blank entry as the products_id identifier seemed like the right way to go and it had to be specifically set...

    So now, if the primary_key is set to blank_new, for any product that has the products_id field, if the products_id field is empty, a new product will be attempted to be created. If the primary_key is set simply to products_id, then a blank entry for products_id field will cause that row to be ignored.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 1 of 2 12 LastLast

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