File tree Expand file tree Collapse file tree 3 files changed +23
-5
lines changed Expand file tree Collapse file tree 3 files changed +23
-5
lines changed Original file line number Diff line number Diff line change 16
16
<arguments >
17
17
<argument name =" path" type =" string" defaultValue =" {{CashOnDeliveryDisabledConfigData.path}}" />
18
18
<argument name =" value" type =" string" defaultValue =" {{CashOnDeliveryDisabledConfigData.value}}" />
19
- <argument name =" allowSpecific" type =" string" defaultValue =" 0 " />
20
- <argument name =" specificCountry" type =" string" defaultValue =" '' " />
19
+ <argument name =" allowSpecific" type =" string" defaultValue =" {{CashOnDeliveryApplicableAllAllowedCountryConfigData.value}} " />
20
+ <argument name =" specificCountry" type =" string" defaultValue =" {{CashOnDeliveryAllAllowedCountryConfigData.value}} " />
21
21
</arguments >
22
22
23
23
<magentoCLI command =" config:set {{path}} {{value}}" stepKey =" enableCashOnDelivery" />
24
- <magentoCLI command =" config:set payment/cashondelivery/allowspecific {{allowSpecific}}" stepKey =" allowSpecificValue" />
25
- <magentoCLI command =" config:set payment/cashondelivery/specificcountry {{specificCountry}}" stepKey =" specificCountryValue" />
24
+ <magentoCLI command =" config:set {{CashOnDeliveryApplicableAllAllowedCountryConfigData.path}} {{allowSpecific}}" stepKey =" allowSpecificValue" />
25
+ <magentoCLI command =" config:set {{CashOnDeliveryAllAllowedCountryConfigData.path}} {{specificCountry}}" stepKey =" specificCountryValue" />
26
26
</actionGroup >
27
27
</actionGroups >
Original file line number Diff line number Diff line change 24
24
<actionGroup ref =" CashOnDeliverySpecificCountryActionGroup" stepKey =" enableCashOnDelivery" >
25
25
<argument name =" path" value =" {{CashOnDeliveryEnableConfigData.path}}" />
26
26
<argument name =" value" value =" {{CashOnDeliveryEnableConfigData.value}}" />
27
- <argument name =" allowSpecific" value =" 1 " />
27
+ <argument name =" allowSpecific" value =" {{CashOnDeliveryApplicableSpecificCountryConfigData.value}} " />
28
28
<argument name =" specificCountry" value =" GB" />
29
29
</actionGroup >
30
30
Original file line number Diff line number Diff line change 44
44
<data key =" label" >No</data >
45
45
<data key =" value" >0</data >
46
46
</entity >
47
+ <entity name =" CashOnDeliveryApplicableSpecificCountryConfigData" >
48
+ <data key =" path" >payment/cashondelivery/allowspecific</data >
49
+ <data key =" scope_id" >1</data >
50
+ <data key =" label" >Specific Countries</data >
51
+ <data key =" value" >1</data >
52
+ </entity >
53
+ <entity name =" CashOnDeliveryApplicableAllAllowedCountryConfigData" >
54
+ <data key =" path" >payment/cashondelivery/allowspecific</data >
55
+ <data key =" scope_id" >1</data >
56
+ <data key =" label" >All Allowed Countries</data >
57
+ <data key =" value" >0</data >
58
+ </entity >
59
+ <entity name =" CashOnDeliveryAllAllowedCountryConfigData" >
60
+ <data key =" path" >payment/cashondelivery/specificcountry</data >
61
+ <data key =" scope_id" >1</data >
62
+ <data key =" label" >All Allowed Countries</data >
63
+ <data key =" value" >''</data >
64
+ </entity >
47
65
</entities >
You can’t perform that action at this time.
0 commit comments