Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Not sure if this is an EasyPopulate bug, intended behavior, or if I have screwed up something in my code:

 

1. I had 21 test products in my store, which I manually deleted in the admin tools

 

2. In my now empty products table, the auto increment products_id is therefore at 22 (the next available number)

 

3. If I do an upload using EasyPopulate, the system gets tricked by the empty database. When it updates the products_to_categories table and the products_description table, it adds the products_id as "1" instead of "22" even though that is the proper products_id assigned to the first product in my upload.

 

This means that my product is "hidden" from the oscommerce because it does not get assigned to any category. Any insight on how I could change this behaviour? I know I can go manually fix things, but I have a client who plans on doing monthly deletes of the entire product catalog, followed by an EasyPop update. Don't want to face this each time they empty out their product catalog. :shock:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...