fixed issue in cart rule for add condition button and exception while updating cart rule
This commit is contained in:
parent
de126e38ed
commit
6b9be23cb0
|
|
@ -183,8 +183,6 @@
|
|||
<option value="cart">Cart Properties</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<span class="btn btn-primary btn-lg" v-on:click="addCondition">Add Condition</span>
|
||||
</div>
|
||||
|
||||
<div class="mt-10 mb-10"><b>Any of the condition is true</b></div>
|
||||
|
|
@ -239,6 +237,8 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<span class="btn btn-primary btn-lg mt-20" v-on:click="addCondition">Add Condition</span>
|
||||
</div>
|
||||
</accordian>
|
||||
|
||||
|
|
|
|||
|
|
@ -183,8 +183,6 @@
|
|||
<option value="cart">Cart Properties</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<span class="btn btn-primary btn-lg" v-on:click="addCondition">Add Condition</span>
|
||||
</div>
|
||||
|
||||
<div class="mt-10 mb-10"><b>Any of the condition is true</b></div>
|
||||
|
|
@ -239,6 +237,8 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<span class="btn btn-primary btn-lg mt-20" v-on:click="addCondition">Add Condition</span>
|
||||
</div>
|
||||
</accordian>
|
||||
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ class CartRuleController extends Controller
|
|||
// unset($data['suffix']);
|
||||
// }
|
||||
|
||||
$coupons['limit'] = 0;
|
||||
// $coupons['limit'] = 0;
|
||||
}
|
||||
|
||||
// if(isset($data['usage_limit'])) {
|
||||
|
|
@ -352,7 +352,7 @@ class CartRuleController extends Controller
|
|||
// $coupons['suffix'] = $data['suffix'];
|
||||
// unset($data['suffix']);
|
||||
// }
|
||||
$coupons['limit'] = 0;
|
||||
// $coupons['limit'] = 0;
|
||||
}
|
||||
|
||||
// if (isset($data['usage_limit'])) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue