Skip to content

Commit b225433

Browse files
p-bystritskysaphaljha
authored andcommitted
magento#12549: Payment method option is not showing under shopping cart rules condition tab.
1 parent a392746 commit b225433

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • app/code/Magento/SalesRule/Model/Rule/Condition

‎app/code/Magento/SalesRule/Model/Rule/Condition/Address.php‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
*/
66
namespace Magento\SalesRule\Model\Rule\Condition;
77

8+
/**
9+
* Address rule condition data model.
10+
*/
811
class Address extends \Magento\Rule\Model\Condition\AbstractCondition
912
{
1013
/**
@@ -61,6 +64,7 @@ public function loadAttributeOptions()
6164
'base_subtotal' => __('Subtotal'),
6265
'total_qty' => __('Total Items Quantity'),
6366
'weight' => __('Total Weight'),
67+
'payment_method' => __('Payment Method'),
6468
'shipping_method' => __('Shipping Method'),
6569
'postcode' => __('Shipping Postcode'),
6670
'region' => __('Shipping Region'),

0 commit comments

Comments
 (0)