Order discount 2

merav tg asked on May 15, 2016 16:22

Hey

I want to apply an order discount only on specific products. how do i do that?

thank you

Merav

Recent Answers


Anton Grekhovodov answered on May 16, 2016 07:49

Hi,

You can use ECommerceContext.CurrentShoppingCart.ShoppingCartItems.All("SKU.SKUInternalStatusID = 1") (insert your condition)

But if the condition is too difficult, I think you should create your custom macro.

0 votesVote for this answer Mark as a Correct answer

Chetan Sharma answered on May 16, 2016 10:55

Hi,

I think you should work with Order discounts. You must try to configure all rules in your product inventory instead of handling it in your code as much as possible.

There are various controls that you can have

Catalog discounts

Working with Order Discounts

Working with volume discounts

Writing rules on your own should only be considered once you have exhausted all these options.

Thanks, Chetan

0 votesVote for this answer Mark as a Correct answer

merav tg answered on May 17, 2016 17:06

does not seem to work :(

0 votesVote for this answer Mark as a Correct answer

Om Anand answered on May 23, 2016 18:46 (last edited on May 23, 2016 18:46)

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.