Skip to content

Commit 6a60100

Browse files
ENGCOM-3616: Fix typo in SQL join when joining custom option prices for price indexer #19546
- Merge Pull Request #19546 from udovicic/magento2:bugfix/price-indexer-custom-options - Merged commits: 1. 1a0e453 2. 2f017b7 3. cc370e5
2 parents 619f2db + cc370e5 commit 6a60100

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/CustomOptionPriceModifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ private function getSelectForOptionsWithMultipleValues(string $sourceTable): Sel
211211
} else {
212212
$select->joinLeft(
213213
['otps' => $this->getTable('catalog_product_option_type_price')],
214-
'otps.option_type_id = otpd.option_type_id AND otpd.store_id = cwd.default_store_id',
214+
'otps.option_type_id = otpd.option_type_id AND otps.store_id = cwd.default_store_id',
215215
[]
216216
);
217217

app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/DefaultPrice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ protected function _applyCustomOption()
604604
[]
605605
)->joinLeft(
606606
['otps' => $this->getTable('catalog_product_option_type_price')],
607-
'otps.option_type_id = otpd.option_type_id AND otpd.store_id = cs.store_id',
607+
'otps.option_type_id = otpd.option_type_id AND otps.store_id = cs.store_id',
608608
[]
609609
)->group(
610610
['i.entity_id', 'i.customer_group_id', 'i.website_id', 'o.option_id']

0 commit comments

Comments
 (0)