A customer had two coins in his store, dollars and Argentine peso. The default currency is pesos, but I wanted the checkout to be dollars. To do this we edit the file classes / Tools.php. The function we are going to edit is the displayPrice that looks like this:

And we modify the code marked by this:

== 'order' specifies that the currency changes when the user is in the checkout

(int) 1 is the id of currency 1 and (int) 2 is the id of currency 2.

Then we will delete the file class_index.php from the cache folder so that the changes are visible.

Product added to wishlist
Product added to compare.

We use a selection of our own and third-party cookies on the pages of this website: Essential cookies, which are required in order to use the website; functional cookies, which provide better easy of use when using the website; performance cookies, which we use to generate aggregated data on website use and statistics; and marketing cookies, which are used to display relevant content and advertising. If you choose "ACCEPT ALL", you consent to the use of all cookies. You can accept and reject individual cookie types and revoke your consent for the future at any time under "Settings".