Jump to content

Mass change packages?


djwmguk

Recommended Posts

You can do this but it has risk in it. As suggested by john, first backup your database. Secondly you should have good knowledge of MySql . If you see the WHMCS database you will find a table there by name:

 

tblproducts

 

This table has all the hosting plans added by you in the WHMCS system.

For example now you want to change the packages of clients having current package as "A" to "B"

 

So from "tblproducts" table find thevalue of "id" field for both the packges.

 

For example say package "A" has id 1

and package "B" has id as 2

 

Then now you have to change the table "tblhosting", in this table there is a field by name "packageid". You have to update "packageid" to value 2 where "packageid" value is 1, in this way all clients having hosting plan "A" will be converted to hosting plan "B".

 

Please Note: Do this on your own risk or by some MySql expert as one wrong query can change your whole database.

 

 

 

<<signatures to be set up in your profle>>

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