Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to change currencies at checkout


S1YF3R

Recommended Posts

Posted

Tired of calculating shipping prices and product prices at checkout using a currency other than default? This contribution is for you guys. Go to Catalog/includes/column_right.php then go to the following lines near the bottom:

  require(DIR_WS_BOXES . 'reviews.php');

 if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {
include(DIR_WS_BOXES . 'languages.php');
include(DIR_WS_BOXES . 'currencies.php'); 
 }
?>

 

Comment out the beginning and end of the if statement like below:

  require(DIR_WS_BOXES . 'reviews.php');

 // if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {
include(DIR_WS_BOXES . 'languages.php');
include(DIR_WS_BOXES . 'currencies.php'); 
 // }
?>

 

That's it folks. Easy peasy :)

 

Regards

S1YF3R

Posted

That code is there for a reason. Some payment methods require US funds, or maybe the shop owner wants to only accept the fund of his country. By allowing the customer to change that, it could result in lost revenue. Anyone wanting this option should see My Addons for the Second Currency contribution.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted

I think you may be right.

 

I'll trust your oppinion, because I think you have a bit more experience regarding oscommerce than me. Thx for the heads up. Are there any way I can delete this topic?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...