File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
SalesRule/Controller/Adminhtml/Promo/Quote Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 38
38
</constraint >
39
39
</table >
40
40
<table name =" salesrule" resource =" default" comment =" Salesrule" >
41
- <column xsi : type =" smallint" name =" simple_free_shipping" unsigned =" true" nullable =" false "
41
+ <column xsi : type =" smallint" name =" simple_free_shipping" unsigned =" true" nullable =" true "
42
42
identity =" false" default =" 0" comment =" Simple Free Shipping" />
43
43
</table >
44
44
<table name =" sales_order_item" resource =" sales" comment =" Sales Flat Order Item" >
Original file line number Diff line number Diff line change @@ -63,6 +63,9 @@ public function __construct(
63
63
public function execute ()
64
64
{
65
65
$ data = $ this ->getRequest ()->getPostValue ();
66
+ if ($ data ['simple_free_shipping ' ]==="" ) {
67
+ $ data ['simple_free_shipping ' ]=null ;
68
+ }
66
69
if ($ data ) {
67
70
try {
68
71
/** @var $model \Magento\SalesRule\Model\Rule */
You can’t perform that action at this time.
0 commit comments