cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Removing assigned vouchers for cart using impex

Former Member
0 Kudos
218

Hi All,

I am trying to remove assigned voucher for the list of carts as the voucher got expired as the voucher is creating some issues while processing it to order. I don't see any relation common to voucher type and cart type, can someone help me to create an impex for this ? Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Raghavendra, Thanks for taking out your time and responding. I have made appliedVouchercodes null but the assigned vouchers under cart -> voucher tab are not going which is because vouchers maintained through jalo. I have written groovy to do this job. Worked. Thanks again

raghavendra_desu
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Suresh,

Please try the below impex, which should work for removing vouchers from cart.

 Insert_Update Cart;code[unique=true];appliedVoucherCodes;
 ;cartId;;

Regards,

Raghavendra.