Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 76ca463

Browse files
committed
magento/magento2#12549: Payment method option is not showing under shopping cart rules condition tab.
1 parent cd1bcb6 commit 76ca463

File tree

1 file changed

+4
-0
lines changed
  • app/code/Magento/SalesRule/Model/Rule/Condition

1 file changed

+4
-0
lines changed

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)