Delete discount criteria

To delete discount criteria, you must perform the following:

  1. Get an instance of the manager.
    Get an instance of the OrdersManager object.
  2. Mark the discount for deletion.
    To mark the discount to be deleted, call the DeleteDiscount method of the manager and pass the ID of the criteria as an argument.
  3. Save the changes.
    To delete the discount criteria, save the changes to the manager.

Use the following code sample:

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?