Jump to content

Adjusting products via DB


DMN31

Recommended Posts

Hi everyone -

 

Another question for the forum, hoping someone can help. We're updating customers accounts that have old services that now have an updated version in our catalog. So basically going into their product/service page and changing it to an updated version of that product so we can delete the old ones once customers are moved off of them from within WHMCS. We ran into a few that have 200-500 old customers under certain products. This would take forever to do manually like we have on the rest, so I wanted to see if there's any quick methods to do this?

 

Thank you

Link to comment
Share on other sites

this would take forever to do manually like we have on the rest, so I wanted to see if there's any quick methods to do this?

one option would be run a SQL query to update the database directly - the complexity of that query would be determined by whether you're just swapping product x for product y, or whether you also need to change pricing etc at the same time.

 

if you're not familiar with writing SQL queries, it's best to follow 2 pieces of advice... get someone who is familiar to write it for you - and whatever you do, backup the database before making any changes! :idea:

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