Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Multiple Currencies Mod Complete (v4.1.2)

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #21  
Old 08-29-2006, 08:54 AM
 
koaloa koaloa is offline
 

Member
  
Join Date: Jul 2006
Posts: 17
 

Default Re: Multiple Currencies Mod Complete (v4.1.2)

As it says on my post, right below the download link... The password to extract is: koaconsulting.com

Have fun!
__________________
X-Cart Gold v4.1.2
(running on a unix server)
Reply With Quote
  #22  
Old 08-29-2006, 09:34 AM
  bngwarehouse's Avatar 
bngwarehouse bngwarehouse is offline
 

Newbie
  
Join Date: Nov 2005
Location: Texas
Posts: 5
 

Default Re: Multiple Currencies Mod Complete (v4.1.2)

Yes your right...(Oops!) My bad. Nice Mod!
__________________
X-Cart version 4.1.2 (Not Live Yet)
Reply With Quote
  #23  
Old 09-13-2006, 02:41 AM
 
gobligoo gobligoo is offline
 

Member
  
Join Date: Sep 2005
Posts: 26
 

Default Re: Multiple Currencies Mod Complete (v4.1.2)

Hi,

Looks like a very good mod, but any chance of seeing it live?

---------------
x-cart 4.19 (Unix)
__________________
X-cart 4.0.19 (Unix)
--==::wicked::==--
Reply With Quote
  #24  
Old 11-13-2006, 07:44 AM
 
just wondering just wondering is offline
 

X-Adept
  
Join Date: Oct 2006
Location: UK
Posts: 471
 

Default Re: Multiple Currencies Mod Complete (v4.1.2)

At first the drop down box was blank. I changed the Currency Rates and it worked.

Crazy, but it did it for me...

Does anyone know if would it be possible to make it so that instead of showing ($4.99) it shows (CAD$4.99) [for example]?

I'd prefer to have it that way to stop the possible 'I didn't know it was in USD, I thought it was in CAD' problems some people will try on you.

Cheers!
__________________
Location: UK
X-Cart: Gold 4.4.2, Status: Finalizing
Template: Colors
Free Mods: Colour Coded Orders, FAQ Manager
Paid Mods: None... yet.
Server: Linux, Apache: 2.2.15 (Unix), MySQL: 5.0.90-community, PHP: 5.2.13
Reply With Quote
  #25  
Old 12-09-2006, 01:59 PM
  girlsbits's Avatar 
girlsbits girlsbits is offline
 

Advanced Member
  
Join Date: May 2006
Posts: 77
 

Default Re: Multiple Currencies Mod Complete (v4.1.2)

Great mod K, huge thanks.

Works perfect in 4.1.4, make sure to follow complete thread for Koalas posts.
__________________
X-Cart Gold | v 4.0.18 | Unix | php 4.3 | phpMyAdmin 2.8.0.3 |
Reply With Quote
  #26  
Old 04-23-2007, 11:18 AM
 
Polvo Polvo is offline
 

Advanced Member
  
Join Date: Nov 2006
Posts: 35
 

Default Re: Multiple Currencies Mod Complete (v4.1.2)

I've just installed this mod for v4.1.6. I found it needed a few alterations to work with GBP as the default currency. So here's my revised version of the original installation instructions. Thanks to koaloa for a nice mod.

X-Cart Multiple Currency Mod – for version 4.1.6 Gold
=====================================
Download zip file and open with password given in first post in this thread.

Start by going to Admin > General Settings and remove the default alternate currency code '€'.

Copy:
skin1/customer/top_menu.tpl.
modules/Multiple_Currency/config.php

Copy these three files. If your default currency is not USD then edit them all first changing 'USD' to your default currency eg 'GBP'.:
skin1/customer/main/alter_currency_value.tpl
skin1/customer/main/show_currency_options.tpl
modules/Multiple_Currency/func.php with functions

Edit your copy of admin/configuration.php and add the lines of code from the included version (search for the text koaconsulting.com to see where changes have been made). Note: This file copies the currency rates from the Admin config table to the currencies table on opening or clicking save.

Modify the table xcart_config by adding entries including your default currency eg:
INSERT INTO `xcart_config` VALUES ('currency_rate_usd', 'Rate for the US Dollar', '0', 'Multiple_Currency', 0, 'numeric', '1.0', '');
INSERT INTO `xcart_config` VALUES ('currency_rate_euro','Rate for the EURO', '0', 'Multiple_Currency', 0, 'numeric', '1.0', '');
INSERT INTO `xcart_config` VALUES ('currency_rate_gbp', 'Rate for the British Pound', '0', 'Multiple_Currency', 0, 'numeric', '1.0', '');

Modify the table xcart_currencies by adding a field called 'rate', setting it as 'double' and making sure the default value is set to zero.

You need to run these SQL commands:
INSERT INTO `xcart_languages` VALUES ('US', 'lbl_currencies', 'Currencies', 'Labels');
INSERT INTO `xcart_languages` VALUES ('US', 'option_title_Multiple_Currency', 'Multiple Currencies Options', 'Labels');
INSERT INTO `xcart_modules` VALUES (xx, 'Multiple_Currency', 'Enables users to select different currencies to be displayed.', 'Y');
(Where xx is next id number available).

Go into the Admin > Modules area. 'Multiple_Currency' should be listed and ticked. Click 'Configure' to set your exchange rates, your default currency should be set to 1.
__________________
X-Cart Gold 4.1.12
X-Special Offers
Desktop: XP Pro/Notepad++/FileZilla
Server: Linux
Reply With Quote
  #27  
Old 05-05-2007, 11:41 AM
 
floracal floracal is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 45
 

Default Re: Multiple Currencies Mod Complete (v4.1.2)

I get this error

$query = "SELECT * FROM xcart_currencies WHERE rate != '0'";

How do i add rate field?
__________________
X-Cart GoldPlus v4.7.12 PHP 7.4
X-Cart reBOOT (reDUX) Responsive Template
BCSE Paypal-DPM - BCSE Smooth Checkout
Reply With Quote
  #28  
Old 06-28-2007, 01:52 PM
 
effour effour is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 96
 

Default Re: Multiple Currencies Mod Complete (v4.1.2)

has anyone got this mod working on 4.1.7?
__________________
4.1.7
Reply With Quote
  #29  
Old 08-27-2007, 07:44 AM
 
Looker1 Looker1 is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 60
 

Default Re: Multiple Currencies Mod Complete (v4.1.2)

or 4.1.8? Would be interested in this but do not want to be first.

1. Also, anyone have some nice examples from live sites?
2. Can you select yoru currency by clicking on a jpeg instead of pull down menu? Would be great if this could be tweaked to do so.
__________________
Version 4.1.9
Reply With Quote
  #30  
Old 11-08-2007, 12:42 PM
  Kansla's Avatar 
Kansla Kansla is offline
 

Member
  
Join Date: Sep 2007
Location: Sweden
Posts: 24
 

Smile Re: Multiple Currencies Mod Complete (v4.1.2)

Has anyone run this mod working on 4.1.9?
__________________
X-Cart Gold 4.1.9 (Rating: 4 of 5 Stars )
AddOns: AOM (Rating: 4-star) Magnifier (Rating: 5+ Star!!) Config (Rating: 3-Star)
Server OS: FreeBSD Web server: Apache 1.3.34 PHP: 5.2.2 MySQL: 5.0.24a-log
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:07 AM.

   

 
X-Cart forums © 2001-2020