Product Id = 0

This topic has been marked as not resolved.

Hi, I’ve purchased the kiddos theme, but whenever I add a product the product_id in the database (for all the product tables) is coming up as 0. This of course is causing many “multiple results” errors during sql querying.

The website isn’t live yet, but it’s

Any ideas? Thanks.

September 12, 2017 at 5:27 pm #61567

So I’ve created a local version of the website, and an opencart 2.2 website on my ampstack

I’ve narrowed the problem down to this function:
public function getLastId() {
return $this->adaptor->getLastId();

getlastid is always returning 0, so creating anything is setting the id to 0.

The stock opencart 2.2 installation is working perfectly though.

September 12, 2017 at 6:15 pm #61568


This should not be a theme related issue as we’ve never modified any core features. Have you enabled theme database cache?

ThemeBurn team

September 18, 2017 at 11:04 am #61687
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.