Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Product ID () that doesn't exist in the product database
Tagged: product id estore
- This topic has 8 replies, 3 voices, and was last updated 10 years, 6 months ago by alexgold.
May 8, 2012 at 4:37 pm #6266
Looks like you have entered a product ID () that doesn’t exist in the product database. Please check your product ID value again!
We have no idea how this was created. Start looking right after the shoes in the list. There is no way to know where this is located?
Can someone please help!May 8, 2012 at 4:39 pm #44847
This is whats in the posting:
[wp_eStore_category_products_fancy id=5 style=1 order=2 type=1]May 8, 2012 at 4:41 pm #44848
The error message should be more informative so the user can find where the problem is located. Maybe add a product description or something about the product so we can find the product that has the problem.May 9, 2012 at 1:15 am #44849
Well, basically its trying to render a display for a product that doesn’t exist in your product database (usually it means you entered a wrong product ID value). However, in this case it is happening because of a bad deletion of a product. When you deleted that product somehow the corresponding category list didn’t get updated so it thinks that the product still exist in that category. I have added a check against it in the plugin to prevent this. Please download a new build of the extra eStore shortcode plugin from here and update that plugin:
Let me know if you still see that error after the update.September 5, 2012 at 11:22 pm #44850
I’m having the same error on my eStore. I just updated the plugin as per your advice, but I’m still getting the error. I’m now running version 126.96.36.199. I know that one of the site users recently deleted some products, then added a few others. Do I need to go into the database and look for these rogue products?September 6, 2012 at 2:18 am #44851
If you deleted some products and created new ones then chances are that you have some shortcodes lying around that is referencing to those old (deleted) product IDs. Simply look at the shortcode that is complaining and check what product ID value you have specified in that shortcode. Correct the product ID value to make sure you are using one that exists in the manage products area.September 6, 2012 at 9:28 pm #44852
Thanks for the reply. The message is appearing from a shortcode set to display a particular category.
[wp_eStore_category_products_fancy id=4 style=5 order=2]
The other products in the category are displaying properly, so I can’t figure out what would cause the error message.September 7, 2012 at 5:16 am #44853
Check the following post which should help:
https://support.tipsandtricks-hq.com/forums/topic/on-category-pages-some-product-ids-not-recognizedSeptember 9, 2012 at 11:39 pm #44854
Yes, there was a product ID left in the database that hadn’t been deleted properly. Logging into the database and clearing it out manually worked like a charm. Thanks a lot!
- You must be logged in to reply to this topic.