If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / userCurrency - updated for 1.3.5

userCurrency - updated for 1.3.5

Started by s_mack on 11 Sep 2006, 6:59 AM · Views: 27,024

Results 141 to 148 of 148
4 Jan 2013, 1:20 AM
#141
vnet2001 avatar

vnet2001

New Zenner

Join Date:
Jan 2013
Posts:
4
Plugin Contributions:
0

userCurrency - updated for 1.3.5

Great.. It works - thanks a tonne!

23 Feb 2013, 3:52 AM
#142
juneloweelyn avatar

juneloweelyn

New Zenner

Join Date:
Jan 2009
Posts:
70
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

Hey guys, i really like this mod, but my zen cartr version is 1.3.9h.

I saw the latest updated version was for 1.3.7, so just checking whether i can use it?

Thanks!

17 Sep 2015, 11:44 AM
#143
muteyaar avatar

muteyaar

Zen Follower

Join Date:
Oct 2007
Posts:
134
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

s_mack:

Available in the Downloads section (or soon will be when they finish reviewing).

From the readme:

  • Steven

Hi,

I have been using this mod since long, but have one basic problem that I am finding too difficult.
The user currency is showing very fine for the desktop or laptop users, but for mobile users, the default currency is showing as canadian dollars only, which should be actually shown as per the users' own country. As most of my customers use mobile phone nowadays, it is very difficult for them to understand the prices, specially the Indian customers.
can you please help me in this regard?

thanks in advance.

  • muteyaar
17 Sep 2015, 4:08 PM
#144
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: userCurrency - updated for 1.3.5

I'm not sure why I'm even monitoring this thread, it is so old and outdated... but I am, so I'll respond.

My guess (and that's all it is, since it has been so long) is that you have some template or other mod installed that actually discerns between mobile and desktop, and the mobile version of your site is not programmed to use this mod at all. I'm not sure why it would default to Canadian unless your store's default currency is set to Canadian, or else for some reason all your mobile users have Canadian cellular contracts, in which case it would be working correctly (but that would be weird). I am in Canada, so it is possible that I set it to default to Canadian if all else fails, but I doubt it. It would be much more logical to use the store's currency, and I state as much in the readme file.

Another possibility is you're using a very outdated IP table and for some reason it thinks all your Indian mobile users are in Canada. Who knows, maybe India bought a block of IPs from Canada. Updating the IP table should fix that. However, it is also possible (however unlikely) that it is correctly working but incorrectly identifying those IPs as Canadian when they're not. If that's the case then there is absolutely no fix for it because the mod depends on those tables.

25 Oct 2015, 9:47 PM
#145
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: userCurrency - updated for 1.3.5

I was just revisiting this contrib today after having not used it myself for several years. I notice someone has updated it to work with 1.5.4 (that was nice of them) but I also see the currency data is woefully out of date. There have been 20 countries that have changed currency in that time. In reality, this probably doesn't affect much because well... how many customers do you have from those countries AND supported their currencies? Probably none. Anyway, good to keep up at least by decade so here is an updated SQL file to run if (and only if) you use this contrib.

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";

DROP TABLE IF EXISTS `countries_currency`;
CREATE TABLE IF NOT EXISTS `countries_currency` (
  `countries_iso_currency` char(3) NOT NULL DEFAULT '',
  `countries_iso_code_3` char(3) NOT NULL DEFAULT '',
  PRIMARY KEY (`countries_iso_code_3`)
) ENGINE=MyISAM;

INSERT INTO `countries_currency` (`countries_iso_currency`, `countries_iso_code_3`) VALUES
('AWG', 'ABW'),
('AFN', 'AFG'),
('AOA', 'AGO'),
('XCD', 'AIA'),
('EUR', 'ALA'),
('ALL', 'ALB'),
('EUR', 'AND'),
('ANG', 'ANT'),
('AED', 'ARE'),
('ARS', 'ARG'),
('AMD', 'ARM'),
('USD', 'ASM'),
('USD', 'ATA'),
('EUR', 'ATF'),
('XCD', 'ATG'),
('AUD', 'AUS'),
('EUR', 'AUT'),
('AZN', 'AZE'),
('BIF', 'BDI'),
('EUR', 'BEL'),
('XOF', 'BEN'),
('XOF', 'BFA'),
('BDT', 'BGD'),
('BGN', 'BGR'),
('BHD', 'BHR'),
('BSD', 'BHS'),
('BAM', 'BIH'),
('BYR', 'BLR'),
('BZD', 'BLZ'),
('BMD', 'BMU'),
('BOB', 'BOL'),
('BRL', 'BRA'),
('BBD', 'BRB'),
('BND', 'BRN'),
('INR', 'BTN'),
('NOK', 'BVT'),
('BWP', 'BWA'),
('XAF', 'CAF'),
('CAD', 'CAN'),
('AUD', 'CCK'),
('CHF', 'CHE'),
('CLP', 'CHL'),
('CNY', 'CHN'),
('XOF', 'CIV'),
('XAF', 'CMR'),
('XAF', 'COG'),
('NZD', 'COK'),
('COP', 'COL'),
('KMF', 'COM'),
('CVE', 'CPV'),
('CRC', 'CRI'),
('CUP', 'CUB'),
('AUD', 'CXR'),
('KYD', 'CYM'),
('EUR', 'CYP'),
('CZK', 'CZE'),
('EUR', 'DEU'),
('DJF', 'DJI'),
('XCD', 'DMA'),
('DKK', 'DNK'),
('DOP', 'DOM'),
('DZD', 'DZA'),
('USD', 'ECU'),
('EGP', 'EGY'),
('ERN', 'ERI'),
('MAD', 'ESH'),
('EUR', 'ESP'),
('EUR', 'EST'),
('ETB', 'ETH'),
('EUR', 'FIN'),
('FJD', 'FJI'),
('FKP', 'FLK'),
('EUR', 'FRA'),
('DKK', 'FRO'),
('USD', 'FSM'),
('EUR', 'FXX'),
('XAF', 'GAB'),
('GBP', 'GBR'),
('GEL', 'GEO'),
('GBP', 'GGY'),
('GHS', 'GHA'),
('GIP', 'GIB'),
('GNF', 'GIN'),
('EUR', 'GLP'),
('GMD', 'GMB'),
('XOF', 'GNB'),
('XAF', 'GNQ'),
('EUR', 'GRC'),
('XCD', 'GRD'),
('DKK', 'GRL'),
('GTQ', 'GTM'),
('EUR', 'GUF'),
('USD', 'GUM'),
('GYD', 'GUY'),
('HKD', 'HKG'),
('AUD', 'HMD'),
('HNL', 'HND'),
('HRK', 'HRV'),
('USD', 'HTI'),
('HUF', 'HUN'),
('IDR', 'IDN'),
('GBP', 'IMN'),
('INR', 'IND'),
('USD', 'IOT'),
('EUR', 'IRL'),
('IRR', 'IRN'),
('IQD', 'IRQ'),
('ISK', 'ISL'),
('ILS', 'ISR'),
('EUR', 'ITA'),
('JMD', 'JAM'),
('GBP', 'JEY'),
('JOD', 'JOR'),
('JPY', 'JPN'),
('KZT', 'KAZ'),
('KES', 'KEN'),
('KGS', 'KGZ'),
('KHR', 'KHM'),
('AUD', 'KIR'),
('XCD', 'KNA'),
('KRW', 'KOR'),
('KWD', 'KWT'),
('LAK', 'LAO'),
('LBP', 'LBN'),
('LRD', 'LBR'),
('LYD', 'LBY'),
('XCD', 'LCA'),
('CHF', 'LIE'),
('LKR', 'LKA'),
('ZAR', 'LSO'),
('EUR', 'LTU'),
('EUR', 'LUX'),
('EUR', 'LVA'),
('MOP', 'MAC'),
('MAD', 'MAR'),
('EUR', 'MCO'),
('MDL', 'MDA'),
('MGA', 'MDG'),
('MVR', 'MDV'),
('MXN', 'MEX'),
('USD', 'MHL'),
('MKD', 'MKD'),
('XOF', 'MLI'),
('EUR', 'MLT'),
('MMK', 'MMR'),
('EUR', 'MNE'),
('MNT', 'MNG'),
('USD', 'MNP'),
('MZN', 'MOZ'),
('MRO', 'MRT'),
('XCD', 'MSR'),
('EUR', 'MTQ'),
('MUR', 'MUS'),
('MWK', 'MWI'),
('MYR', 'MYS'),
('EUR', 'MYT'),
('ZAR', 'NAM'),
('XPF', 'NCL'),
('XOF', 'NER'),
('AUD', 'NFK'),
('NGN', 'NGA'),
('NIO', 'NIC'),
('NZD', 'NIU'),
('EUR', 'NLD'),
('NOK', 'NOR'),
('NPR', 'NPL'),
('AUD', 'NRU'),
('NZD', 'NZL'),
('OMR', 'OMN'),
('PKR', 'PAK'),
('USD', 'PAN'),
('NZD', 'PCN'),
('PEN', 'PER'),
('PHP', 'PHL'),
('USD', 'PLW'),
('PGK', 'PNG'),
('PLN', 'POL'),
('USD', 'PRI'),
('KPW', 'PRK'),
('EUR', 'PRT'),
('PYG', 'PRY'),
('ILS', 'PSE'),
('XPF', 'PYF'),
('QAR', 'QAT'),
('EUR', 'REU'),
('RON', 'ROM'),
('RON', 'ROU'),
('RUB', 'RUS'),
('RWF', 'RWA'),
('SAR', 'SAU'),
('SDG', 'SDN'),
('XOF', 'SEN'),
('SGD', 'SGP'),
('GBP', 'SGS'),
('SHP', 'SHN'),
('NOK', 'SJM'),
('SBD', 'SLB'),
('SLL', 'SLE'),
('USD', 'SLV'),
('EUR', 'SMR'),
('SOS', 'SOM'),
('EUR', 'SPM'),
('RSD', 'SRB'),
('SSP', 'SSD'),
('STD', 'STP'),
('SRD', 'SUR'),
('EUR', 'SVK'),
('EUR', 'SVN'),
('SEK', 'SWE'),
('SZL', 'SWZ'),
('SCR', 'SYC'),
('SYP', 'SYR'),
('USD', 'TCA'),
('XAF', 'TCD'),
('XOF', 'TGO'),
('THB', 'THA'),
('TJS', 'TJK'),
('NZD', 'TKL'),
('TMT', 'TKM'),
('USD', 'TLS'),
('USD', 'TMP'),
('TOP', 'TON'),
('TTD', 'TTO'),
('TND', 'TUN'),
('TRY', 'TUR'),
('AUD', 'TUV'),
('TWD', 'TWN'),
('TZS', 'TZA'),
('UGX', 'UGA'),
('UAH', 'UKR'),
('USD', 'UMI'),
('UYU', 'URY'),
('USD', 'USA'),
('UZS', 'UZB'),
('EUR', 'VAT'),
('XCD', 'VCT'),
('VEF', 'VEN'),
('USD', 'VGB'),
('USD', 'VIR'),
('VND', 'VNM'),
('VUV', 'VUT'),
('XPF', 'WLF'),
('WST', 'WSM'),
('YER', 'YEM'),
('EUR', 'YUG'),
('ZAR', 'ZAF'),
('CDF', 'ZAR'),
('ZMW', 'ZMB'),
('ZWL', 'ZWE');
25 Feb 2016, 4:44 PM
#146
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: userCurrency - updated for 1.3.5

Just stumbled across this again myself - have further updated the plugin to include s_mack's correction above in the previous post.

It's uploaded to https://www.zen-cart.com/downloads.php?do=file&id=181

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

22 Mar 2017, 8:32 PM
#147
top_hatt avatar

top_hatt

Zen Follower

Join Date:
Feb 2010
Posts:
237
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

This mod looks like it is exactly what I was looking for. I just tried to upload all the files and sql statements and it seems that everything loaded up all right, but it does not seem to change currencies. I am using U.S. and CDN only.

I cleared the cache thinking that might be the problem, but to no avail.

Could someone take a look and help me?

The site is poolcuesexpress.c o m/responsivetestsite/

thanks, Dave

22 Mar 2017, 8:37 PM
#148
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: userCurrency - updated for 1.3.5

I can confirm that it isn't changing currency properly (I am in Canada and it showed me USD, which I presume is your default store currency).

All I can really suggest is that you take a look at the contrib package again and carefully go through the readme/instructions to see if you missed something.