Jump to content

Updating ID Protection pricing


dahamsta

Recommended Posts

  • 2 months later...

SQL Query for those who want to update their price automatically:

 

UPDATE `tbldomains` SET `recurringamount` = 'NEWPRICE' WHERE `recurringamount` = 'ACTUALPRICE' AND `idprotection` LIKE 'on';

 

Replace:

ACTUALPRICE = Value of the actual domain price

NEWPRICE = Value with the price of the ID Protection

Link to comment
Share on other sites

  • 4 weeks later...

If you want to update the price for all domains that have ID Protection enabled, you can use this query to add a fixed amount to the recurring amount:

UPDATE `tbldomains` SET `recurringamount` = `recurringamount` + 'FIXEDAMOUNT' WHERE `idprotection` = 'on';

FIXEDAMOUNT = A fixed amount to add to domains having ID Protection enabled. Enter the new price if you were giving it for free before or add the difference if you are going to increase the cost of ID Protection.

Edited by saadsalman
Link to comment
Share on other sites

  • 3 months later...

Can you please help me with SQL query to disable ID protection for each client .

 

I want to empty the column "idprotection" . This will disable all clients id protection but since i am not a mysql expert , i want to know the sql query

 

 

If you want to update the price for all domains that have ID Protection enabled, you can use this query to add a fixed amount to the recurring amount:

UPDATE `tbldomains` SET `recurringamount` = `recurringamount` + 'FIXEDAMOUNT' WHERE `idprotection` = 'on';

FIXEDAMOUNT = A fixed amount to add to domains having ID Protection enabled. Enter the new price if you were giving it for free before or add the difference if you are going to increase the cost of ID Protection.

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