You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Is there an easy way of deleteing 5 pages of countries when u only want to do UK?
Thanks
Offline
Go to Kryptronic Hybrid X Core: Raw Database Admin
Then choose the 'SQL Statement: Submit a Raw SQL Statement'
Then enter: DELETE FROM ccp0_country WHERE id<>'United Kingdom'
This will delete every entry except the United Kingdom
Mike Simpson
Litemaster Systems
wwwdjshopper.net
Offline
What would be the SQL statement to delete individual ones that you don't want?
Thanks!
Lisa
Offline
DELETE FROM ccp0_country WHERE id = 'country to remove'
Offline
Thanks Dave! ![]()
Offline
I assume this is for deleting countries that refer to the billing address? What if you only ship within a specific country (e.g. canada) and you don't want them to put a shipping address out of canada? Is it a sql statement or is it built into the admin panel?
James...
Offline
That's built into the management interface. Go to:
ClickCartPro > Locations: States, Provinces and Countries > Manage Countries
Choose to update whatever country you want. The two fields:
Display in Contact Forms
Display in Delivery Forms
Handle whether the country is shown in billing and shipping forms respectively.
Offline
Yes. Access:
Home > Hybrid X Core > Database: Connections, Backups and Raw Admin > Raw Database Admin
And choose to execute a Raw SQL Statement. Execute these statements one at a time:
UPDATE ccp0_country SET usedel=0, usecon=0
UPDATE ccp0_stateprov SET usedel=0, usecon=0
Offline
UPDATE ccp0_country SET usedel=0, usecon=0
- just to confirm, will this only apply to delivery? the question from rickmase referred to BOTH contact forms and delivery forms. I just want to change countries for DELIVERY all to NO.
Regards,
James...
Offline
nevermind, i just exported the csv and changed all to 0 except Canada and imported it back in ![]()
James...
Offline