Skip to content

Commit c8a02d2

Browse files
author
Ioan Ulecan
committed
Add Cart Rule product subselect condition
1 parent f69a8ee commit c8a02d2

File tree

1 file changed

+7
-1
lines changed
  • app/code/Magento/SalesRule/Model/Rule/Condition/Product

1 file changed

+7
-1
lines changed

app/code/Magento/SalesRule/Model/Rule/Condition/Product/Subselect.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,13 @@ public function asXml($containerKey = 'conditions', $itemKey = 'condition')
6868
*/
6969
public function loadAttributeOptions()
7070
{
71-
$this->setAttributeOption(['qty' => __('total quantity'), 'base_row_total' => __('total amount')]);
71+
$this->setAttributeOption(
72+
[
73+
'qty' => __('total quantity'),
74+
'base_row_total' => __('total amount (excl. tax)'),
75+
'row_total_incl_tax' => __('total amount (incl. tax)')
76+
]
77+
);
7278
return $this;
7379
}
7480

0 commit comments

Comments
 (0)