Multicurrency goods
The module Multicurrency goods allows you to set the prices of goods in different currencies. During the product editing process in Opencart 3.0, the "Price" field now includes a currency selection, and therefore on the site, the price will display in the store's currency, meaning it will be recalculated automatically according to the exchange rate.
This can be useful if you have multi-currency products, for example, if you buy goods from different suppliers in different currencies. Then you can add products with a price in any currency, but on the site, the price will be displayed in the currency that is selected by default in the store. As a result, you can very quickly recalculate all prices simply by updating the exchange rate in the admin panel in case of rate jumps. In the list of products in the admin panel, the price will be displayed with the currency you specified for each product individually.
Multicurrency goods. Module installation:
- Download the module via "Install extensions" in the admin panel of Opencart 3.0
- Update cache in Modifiers
- Refresh template cache
- Adding currencies and specifying the exchange rate to the main currency can be done in System > Localization > Currencies. In the "Value" field, the exchange rate is set to the main currency of the site, the decimal separator is a dot. Make sure you enter the rate correctly, otherwise your prices will not be recalculated.If the US dollar is the main currency on the site, then its rate will be 1. Other currencies' rates will be based on this currency, that is, EUR/USD, GBP/USD UAH/USD, etc., and not reversed, in the manner that banks display them.If the euro is the main one, then its exchange rate is 1, and in the rest, USD/EUR, GBP/EUR, UAH/EUR.If the main is the UK pound, then it has a rate of 1, and in the rest, EUR/GBP, USD/GBP
- Go to adding or editing a product, on the "Data" tab near the "Price" field, it became possible to select a currency.
Update log:
- 09/24/2019 - fixed an error in the admin panel when adding Promotions for a product.
- 12/02/2019 - added compatibility with "Smart Filter" and "Export YML".
- 12/15/2019 - correct work of sorting goods by price.
- 03/18/2020 - improved module compatibility with other modules and templates.
- 06/11/2020 - improved template compatibility
- 06/22/2020 - compatible with export from the Y.CMS module
- 11/30/2020 - compatibility with OCT templates and UniXML module
- Opencart 3.0.0.0
- Opencart 3.0.1.1
- Opencart 3.0.1.2
- Opencart 3.0.2.0 или ocStore 3.0.2.0
- Opencart 3.1.0.0
- Opencart 3.0.3.1
- Opencart 3.0.3.2
- Opencart 3.0.3.3
- Opencart 3.0.3.6
- Opencart 3.0.3.7 и OcStore 3.0.3.7
Solution:
Download and install the Localcopy OCMOD add-on
After installing this add-on, you need to go to the Modifiers section and click the "Update modifiers" button. After that, you can install other modules
There are some problems and possible solutions:
1. The template cache has not been reset - you need to update the cache [screenshot]
2. When you previously edited template files through the admin panel in the "Theme Editor" section, they were saved in the database and it is no longer affected by ocmod modifiers, this is an Opencart 3 issue. You need to install an extension [download] and update the modifications in the admin panel.
3. Your template is based on TPL files (*.tpl), while in Opencart 3 templates should be in TWIG format (*.twig). The problem is that ocmod modifiers do not affect TPL files - all changes must be made to these files manually.
You need to enable the output of all php errors on the screen - for this, in the .htaccess file at the end you need to add the lines:
php_value display_errors 1
php_value display_startup_errors 1
php_value error_reporting E_ALL
Now, instead of error 500, an error code should be displayed, which will indicate the issue.
There is a bug in official Opencart 3.0.3.5 - 3.0.3.6 patches - modifiers do not work with twig files due to an error in the standard modifier /system/modification.xml - the second operation from this modifier does not work.
The problem occured in official github and proposed solution is https://github.com/opencart/opencart/blob/3.0.x.x_Maintenance/upload/system/modification.xml
We made a fix modifier according to these recommendations, it will replace the /system/modification.xml file with the correct one.
Solution:
1. Back up your /system/modification.xml file
2. Download the fix modifier from the link and install it in your admin panel
3. Update mod cache
4. Update twig template cache
- Categories: Administrative section
- Tags: Multicurrency goods , Multicurrency , products ocstore , currency , module , module opencart , opencart3
- Author: Opencart
-
Price: $18,00
- Compatibility Guaranteed
- Only OCMOD
- Not linked to a domain
- Open source
- Virus-free
- Support
Information:
- Common mistakes in Opencart 3
- Opencart 3.0 custom VAT collection module from the order amount
- Updating the NBU exchange rate for Opencart 3 is a useful module for resource operations.
- Different Prices for Customer Groups - a tool for managing prices in stores.
- How does the Opencart 3.0 Module Order in 1 Click work?
- Opencart 3.0 Related Products Module: How to Use
- Opencart 3 store reviews
- Multidelivery of goods in opencart. Advantages for online stores