Jump to content

Currency from Pounds to Everything else


Guest

Recommended Posts

This is instead of US dollars being prominant... It makes it that bit easier for me to use so I thought i'd share it.

CREATE TABLE `CubeCart_currencies` (

`currencyId` int(11) NOT NULL auto_increment,

`name` varchar(255) NOT NULL default '',

`code` varchar(5) NOT NULL default '',

`symbolLeft` varchar(10) default NULL,

`symbolRight` varchar(10) default NULL,

`value` decimal(10,5) NOT NULL default '0.00000',

`decimalPlaces` int(11) NOT NULL default '0',

`lastUpdated` int(10) NOT NULL default '0',

`active` int(1) NOT NULL default '0',

KEY `curencyId` (`currencyId`)

) TYPE=MyISAM AUTO_INCREMENT=12 ;

--

-- Dumping data for table `CubeCart_currencies`

--

INSERT INTO `CubeCart_currencies` VALUES (1, 'British Pounds', 'GBP', '£', '', 1.00000, 2, 1113924545, 1);

INSERT INTO `CubeCart_currencies` VALUES (2, 'US Dollars', 'USD', '$', '', 1.91617, 2, 1113924377, 0);

INSERT INTO `CubeCart_currencies` VALUES (3, 'Euro', 'EUR', '€', '', 1.47024, 2, 1113924519, 1);

INSERT INTO `CubeCart_currencies` VALUES (4, 'Japanese Yen', 'JPY', 'Â¥', '', 205.11100, 0, 1113924502, 0);

INSERT INTO `CubeCart_currencies` VALUES (5, 'Canadian Dollars', 'CAD', '$', '', 2.37723, 2, 1113924573, 0);

INSERT INTO `CubeCart_currencies` VALUES (6, 'Australian Dollars', 'AUD', '$', '', 2.48807, 2, 1113924598, 0);

INSERT INTO `CubeCart_currencies` VALUES (7, 'Swiss Francs', 'CHF', 'CHF', '', 2.26989, 2, 1113924403, 0);

INSERT INTO `CubeCart_currencies` VALUES (8, 'Russian Rubles', 'RUB', '', 'R', 53.19350, 0, 1113924445, 0);

INSERT INTO `CubeCart_currencies` VALUES (9, 'Chinese Yuan', 'CNY', '', 'Yuan', 15.85800, 2, 1113924539, 0);

INSERT INTO `CubeCart_currencies` VALUES (10, 'South African Rand', 'ZAR', 'R', '', 11.87540, 0, 1113924422, 0);

INSERT INTO `CubeCart_currencies` VALUES (11, 'Mexican Peso', 'MXN', '', 'MXP', 21.21600, 2, 1113924470, 0);

Link to comment
Share on other sites

Thank you for sharing, not that it is any use for me tho ;)

However with this you also need to stay on top of daily changes in the money market?

Just a hint, again thank you for sharing!

Mobie

Link to comment
Share on other sites

You see.. I changed the currency to GBP. I had some stock worth £110 and it was appearing on the website as just under £59. Didn't know how to fix it so I did the above.

Link to comment
Share on other sites

You see.. I changed the currency to GBP. I had some stock worth £110 and it was appearing on the website as just under £59. Didn't know how to fix it so I did the above.

You need to make sure that in the admin panel the currency rate is set to 1.0000 for your home currency.

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...