File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 20
20
</annotations >
21
21
22
22
<before >
23
+ <!-- Enable flat rate shipping-->
24
+ <magentoCLI command =" config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey =" enableFlatRate" />
23
25
<!-- Enable Zero Subtotal Checkout -->
24
26
<magentoCLI command =" config:set {{EnableZeroSubtotalCheckoutConfigData.path}} {{EnableZeroSubtotalCheckoutConfigData.value}}" stepKey =" enableZeroSubtotalCheckout" />
25
27
<actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
39
41
<createData entity =" SalesRuleNoCouponWithFixedDiscount" stepKey =" createSalesRule" />
40
42
</before >
41
43
<after >
44
+ <!-- Disable shipping method for customer with default address -->
45
+ <magentoCLI command =" config:set {{DisableFlatRateConfigData.path}} {{DisableFlatRateConfigData.value}}" stepKey =" disableFlatRate" />
42
46
<!-- Disable Free Shipping -->
43
47
<createData entity =" DefaultShippingMethodsConfig" stepKey =" defaultShippingMethodsConfig" />
44
48
<createData entity =" DisableFreeShippingConfig" stepKey =" disableFreeShippingConfig" />
Original file line number Diff line number Diff line change 17
17
<group value =" sales" />
18
18
</annotations >
19
19
<before >
20
+ <!-- Enable flat rate shipping-->
21
+ <magentoCLI command =" config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey =" enableFlatRate" />
20
22
<createData entity =" SimpleSubCategory" stepKey =" createCategory" />
21
23
<createData entity =" SimpleProduct" stepKey =" createSimpleProduct" >
22
24
<requiredEntity createDataKey =" createCategory" />
23
- </createData >
25
+ </createData >
24
26
<createData entity =" GuestCart" stepKey =" createGuestCart" />
25
27
<createData entity =" SimpleCartItem" stepKey =" addCartItem" >
26
28
<requiredEntity createDataKey =" createGuestCart" />
35
37
<actionGroup ref =" AdminLoginActionGroup" stepKey =" LoginAsAdmin" />
36
38
</before >
37
39
<after >
40
+ <!-- Disable shipping method for customer with default address -->
41
+ <magentoCLI command =" config:set {{DisableFlatRateConfigData.path}} {{DisableFlatRateConfigData.value}}" stepKey =" disableFlatRate" />
38
42
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" LogoutAsAdmin" />
39
43
<deleteData createDataKey =" createSimpleProduct" stepKey =" deleteSimpleProduct" />
40
44
<deleteData createDataKey =" createCategory" stepKey =" deleteCategory" />
Original file line number Diff line number Diff line change 20
20
</annotations >
21
21
22
22
<before >
23
+ <!-- Enable flat rate shipping-->
24
+ <magentoCLI command =" config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey =" enableFlatRate" />
23
25
<createData entity =" _defaultCategory" stepKey =" createPreReqCategory" />
24
26
<createData entity =" _defaultProduct" stepKey =" createPreReqProduct" >
25
27
<requiredEntity createDataKey =" createPreReqCategory" />
28
30
</before >
29
31
30
32
<after >
33
+ <!-- Disable shipping method for customer with default address -->
34
+ <magentoCLI command =" config:set {{DisableFlatRateConfigData.path}} {{DisableFlatRateConfigData.value}}" stepKey =" disableFlatRate" />
31
35
<actionGroup ref =" DeleteCartPriceRuleByName" stepKey =" cleanUpRule" >
32
36
<argument name =" ruleName" value =" {{SimpleSalesRule.name}}" />
33
37
</actionGroup >
You can’t perform that action at this time.
0 commit comments