Jump to content

Reset Product PID/RELID Increment


d3c0y

Recommended Posts

Been testing WHMCS for a while with different products, groups, etc. I've noticed when products are deleted, then subsequent products are created the pid/relid continues to grow and increment.

 

Example I'm now at cart.php?a=add&pid=37

 

After exploring the database and troubleshooting for roughly 30 minutes within PHPMyAdmin I'm unable to find where this pid/relid is hardcoded and incremented.

 

Forgive me for being OCD but is there anyway I can delete all products and reset the relid/pid back to 1 and increment from there?

 

Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated