Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

How to Remove the Line Item from ICart?

Vote:
0

Hi Team,

We are using IOrderRepositery. How to remove single LineItem from ICart?



Regards,

Krishna

#195422
Jul 24, 2018 16:28
Vote:
1

You can find the lineitem from IShipment.LineItems and then remove it. Call IOrderRepository.Save to persist the changes

#195424
Jul 24, 2018 16:31
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.