Hi to all,
I am trying to create a sample model in the Custom promotion. So that I refer the following blogs.
There is no error in the code. I followed the Blog and Created an Additional Discount promotion and also added this promotion to Campaign.
The promotion processor may not hit while debugging the code. Are there any changes to apply? I am using Episerver Commerce 11.
Thank you In advance.
There are a lot of reasons why the promotion egine would decide not to select a promotion to process. And even if it selects a promotion, the processor may not always run Evaluate method. So, quick checklist:
Thank you for your replay.
I checked all the items that you had mentioned.
I didn't apply any coupon code for a promotion. I checked markets and currency also.
But still, now I didn't get the promotion processor hit to check whether the custom promotion runs properly or not.
I made a blog post about these issues, seeing as I've have seen them quite often! Take a look and do tell me if you can find your solution there.
If none of those tips work - please show me code for:
And the Commerce version!
Thank you, Joel, I will see your blog and let you know.
Thank you, Joel, I referred your Blog and also found my mistake.
I didn't add the processor for each promotion types and also I made a mistake on the Coupon code.
My filter may not allow accessing the promotion processor due to the coupon code.
I changed my code and the promotion processor hit on Debugging.