Skip to content

Commit 6bc3ba3

Browse files
authored
Release/2.2.3 (#31)
* M2-45 Include admin store (ID == 0) when retrieving currencies, incase a product is assigned to the admin store. * Bump version.
1 parent c784b9b commit 6bc3ba3

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0"?>
22
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
3-
<module name="Ometria_AbandonedCarts" setup_version="2.2.2"/>
3+
<module name="Ometria_AbandonedCarts" setup_version="2.2.3"/>
44
</config>

app/code/Ometria/Api/Controller/V2/Products.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ public function getTaxDetails($product, $finalPrice)
624624
private function getStoreDefaultCurrency($storeId)
625625
{
626626
if (!isset($this->storeCurrencies[$storeId])) {
627-
$stores = $this->storeManager->getStores();
627+
$stores = $this->storeManager->getStores(true);
628628

629629
foreach ($stores as $store) {
630630
$this->storeCurrencies[$store->getId()] = $store->getDefaultCurrency()->getCode();
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0"?>
22
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
3-
<module name="Ometria_Api" setup_version="2.2.2"/>
3+
<module name="Ometria_Api" setup_version="2.2.3"/>
44
</config>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0"?>
22
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
3-
<module name="Ometria_Core" setup_version="2.2.2"/>
3+
<module name="Ometria_Core" setup_version="2.2.3"/>
44
</config>

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ometria/magento2",
33
"type": "magento2-module",
4-
"version": "2.2.2",
4+
"version": "2.2.3",
55
"description": "Dev composer package for Ometria Extension",
66
"authors": [
77
{

0 commit comments

Comments
 (0)