Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Price on 2 Currencies (US & CAN)


ran77

Recommended Posts

  • 2 weeks later...

Open

 

includes/classes/currencies.php , find code:

 

$format_string .= ' <small>[' . $this->format($number, true, 'EUR') . ']</small>';

}

 

It will be in function format() , line 46

 

Replace it on these code:

$format_string .= ' (' . $this->format($number, true, 'USD') . ')';

} elseif ( $currency_type == $currency ) {

$format_string .= ' (' . $this->format($number, true, ($currency_type == 'EUR') ? DEFAULT_CURRENCY : 'EUR' )

. ')';

}

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...