Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

? default (no box)


davidstummer

Recommended Posts

i know how to make the pound and make it default, but how do i get rid of the other currencies and the box which shows the different currencies.

 

also, how to i get rid of the box which shows the flags for different languages, and keep the english as default.

 

thanks,

dave

Link to comment
Share on other sites

Edit your column_left.php and comment out the include statements for the currencies and languages with a couple // in front of the lines.

 

This way, if you change your mind one day you can bring them back.

Link to comment
Share on other sites

About 100,000 posts and 1000s of users ... :D

 

I find the code amazing ... and not just because I am on the Team.

 

Nothing I like better than writting an add-on for it. :D

Link to comment
Share on other sites

Oh ... to remove the upcoming products ... comment it out on default.php

 

<?php

//    include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS);

?>

 

This way you can put it in again later, should you change your mind.

Link to comment
Share on other sites

  • 1 year later...

I am new to OSC and found this good. One thing I am having a problem with is this.

 

My default lang is English and currency is GBP but the product prices are shown in USD ($). Why is this?

 

When I remove all currencies except the price is shown as zero (0).

 

TIA

Link to comment
Share on other sites

Did you created a new default currency?

In the edit did you put 1.0000000 as the value and then click on update currencies button ?

and in the catalog/includes/languages/english.php around line 36

 

// if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used w$

 

define('LANGUAGE_CURRENCY', 'USD');

Change it to whatever you need

 

HTH

The_Bear

Link to comment
Share on other sites

Did you created a new default currency?
Yes - GBP
In the edit did you put 1.0000000 as the value and then click on update currencies button ?
Yes
and in the catalog/includes/languages/english.php around line 36

 

// if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used w$

 

define('LANGUAGE_CURRENCY', 'USD');

Change it to whatever you need

No, but I have now and it works fine.

 

Thanks

Link to comment
Share on other sites

  • 2 weeks later...

Archived

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

×
×
  • Create New...