You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Nullify CXC item level discount

Question
32
Views
0
Comments
edited Jun 15, 2021 3:18PM in Commerce

Summary

How can we nullify CXC discount if the price of item after applying CXC discount is greater than externalPrice.

Content

We have a requirement where we need to nullify CXC discount if the externalPrice coming from external system has a value lower than the CXC discounted price.

Currently we are using PRICING_SUCCESS_CB and making a call to external system.If the externalPrice() on the cartItem is less than the discounted Price from CXC,we want to nullify CXC discount  and apply externalPrice.But this is not working as expected,it stacks both CXC discount and external Price.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!