Skip to content

Commit

Permalink
Merge pull request #705 from akeneo/release/104.3.12
Browse files Browse the repository at this point in the history
Release/104.3.12
  • Loading branch information
magentix authored Sep 11, 2024
2 parents d5c3997 + 479b8a5 commit 08a7fb4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -503,3 +503,6 @@
### Version 104.3.11 :
* PGTO-398: keep the swatch option if exists
* AMC-483: Single store mode feature

### Version 104.3.12 :
* AMC-483: Fix single store mode tax class
10 changes: 6 additions & 4 deletions Helper/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -1323,10 +1323,12 @@ public function getProductTaxClasses()
$result[0] = $class['tax_class'];
}

/** @var StoreInterface $store */
foreach ($stores as $store) {
if ($store->getWebsiteId() === $class['website']) {
$result[$store->getId()] = $class['tax_class'];
if (!$this->storeManager->isSingleStoreMode()) {
/** @var StoreInterface $store */
foreach ($stores as $store) {
if ($store->getWebsiteId() === $class['website']) {
$result[$store->getId()] = $class['tax_class'];
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"nyholm/psr7": "^1.5"
},
"type": "magento2-module",
"version": "104.3.11",
"version": "104.3.12",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down

0 comments on commit 08a7fb4

Please sign in to comment.