We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a6c5b2 commit 23bc108Copy full SHA for 23bc108
app/code/Magento/Rule/Model/Condition/Product/AbstractProduct.php
@@ -602,7 +602,9 @@ public function getBindArgumentValue()
602
*/
603
public function getMappedSqlField()
604
{
605
- if (!$this->isAttributeSetOrCategory()) {
+ if ($this->getAttribute() == 'sku') {
606
+ $mappedSqlField = 'e.sku';
607
+ } elseif (!$this->isAttributeSetOrCategory()) {
608
$mappedSqlField = $this->getEavAttributeTableAlias() . '.value';
609
} elseif ($this->getAttribute() == 'category_ids') {
610
$mappedSqlField = 'e.entity_id';
0 commit comments