Skip to content

Commit

Permalink
Release/2.2.3 (#31)
Browse files Browse the repository at this point in the history
* M2-45 Include admin store (ID == 0) when retrieving currencies, incase a product is assigned to the admin store.

* Bump version.
  • Loading branch information
chris-pook authored Jul 12, 2021
1 parent c784b9b commit 6bc3ba3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/code/Ometria/AbandonedCarts/etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Ometria_AbandonedCarts" setup_version="2.2.2"/>
<module name="Ometria_AbandonedCarts" setup_version="2.2.3"/>
</config>
2 changes: 1 addition & 1 deletion app/code/Ometria/Api/Controller/V2/Products.php
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ public function getTaxDetails($product, $finalPrice)
private function getStoreDefaultCurrency($storeId)
{
if (!isset($this->storeCurrencies[$storeId])) {
$stores = $this->storeManager->getStores();
$stores = $this->storeManager->getStores(true);

foreach ($stores as $store) {
$this->storeCurrencies[$store->getId()] = $store->getDefaultCurrency()->getCode();
Expand Down
2 changes: 1 addition & 1 deletion app/code/Ometria/Api/etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Ometria_Api" setup_version="2.2.2"/>
<module name="Ometria_Api" setup_version="2.2.3"/>
</config>
2 changes: 1 addition & 1 deletion app/code/Ometria/Core/etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Ometria_Core" setup_version="2.2.2"/>
<module name="Ometria_Core" setup_version="2.2.3"/>
</config>
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ometria/magento2",
"type": "magento2-module",
"version": "2.2.2",
"version": "2.2.3",
"description": "Dev composer package for Ometria Extension",
"authors": [
{
Expand Down

0 comments on commit 6bc3ba3

Please sign in to comment.