crucial Posted August 10, 2007 Share Posted August 10, 2007 We are importing our data from WHMAP, and rather than manually edit each package, can we do either of the following without worrying about messing up any other data, or relationships within the database. 1. All packages are set to visible by default, the majority of our packages need to be hidden. Can we run something like this to change all packages to hidden: UPDATE `tblproducts` SET hidden='on'; 2. By default all packages do not have tax enabled, I would like to add tax support to all packages without having to go through and edit each package manually, so can I perform the following: UPDATE `tblproducts` SET tax='1'; I have tested this on a temporary database, and there does not appear to be any problems - however as I don't know the exact workings of WHMCS I don't know if this will effect anything else. 0 Quote Link to comment Share on other sites More sharing options...
crucial Posted August 10, 2007 Author Share Posted August 10, 2007 And another one (for making all product groups hidden): UPDATE `tblproductgroups` SET hidden='on'; 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted August 10, 2007 WHMCS CEO Share Posted August 10, 2007 Yes, that will be fine. 0 Quote Link to comment Share on other sites More sharing options...
crucial Posted August 10, 2007 Author Share Posted August 10, 2007 Hi Matt, great thanks for the quick reply! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.