Jump to content

I'm new to this, need help


Guest

Recommended Posts

Is there a userguide to cubecart 3.0.1? Specifically, if I only want to sell to US residents, do I have to delete every other country, one at a time?

Also, if I sell to other countries, how do I set different shipping costs for each?

Link to comment
Share on other sites

I would be interested in knowing if theres an easy way of deleting all the countries if i did it one by one in the admin panel it s going to take at least an hour!

Link to comment
Share on other sites

Guest Race-Rims

Easy login to your database and look for the table called CubeCart_iso_countries and delete it. Then add this sql

$db->misc("CREATE TABLE `".$_POST['dbprefix']."CubeCart_iso_countries` (

   `id` int(11) NOT NULL auto_increment,

   `iso` char(2) NOT NULL default '',

   `printable_name` varchar(80) NOT NULL default '',

   `iso3` char(3) default NULL,

   `numcode` smallint(6) default NULL,

   PRIMARY KEY  (`iso`),

   KEY `id` (`id`),

   KEY `id_2` (`id`)

	) TYPE=MyISAM AUTO_INCREMENT=242;");



	$db->misc("INSERT INTO `".$_POST['dbprefix']."CubeCart_iso_countries` VALUES (226, 'US', 'United States', 'USA', 840);");

	$db->misc("INSERT INTO `".$_POST['dbprefix']."CubeCart_iso_countries` VALUES (227, 'UM', 'United States Minor Outlying Islands', NULL, NULL);");

This will allow all the US states

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.

×
×
  • Create New...