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.
2 parents f256c35 + 23bc108 commit 77d700fCopy full SHA for 77d700f
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