Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Restrict logged user to use only currency which correspond to his/her location


Recommended Posts

How can I disable in "Site settings" change of currency for logged user?

I want to restrict logged user to use only currency which correspond to his/her billing address.

 

 

 

Link to comment
Share on other sites

In checkout_shipping.php I have put this:

		if($customer_address['countries_id'] == 236)
		{
		  $currency = 'RSD';		
		}
		else 
		{
		  $currency = 'EUR';		
		}

but $customer_address['countries_id'] is not right variable for this. Which variable should I use instead, for customer billing address?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...