November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Are you using the new promotion system or the old one?
It might have something to do with the breaking changes in version 11:
@Jafet, The OP mentions that he is using the legacy promotion system still.
@James, To follow up on Jafet's comments, did you review this part of that page in particular: "New promotion system enabled by default"?
Ah, read a bit too quickly it seems. :)
So yeah, @James, take a look at that section, if you haven't already.
Ah, that was the issue. I was aware of it but I'd only added that config section to the config of CommerceManager. It's now in both CM and Web and looks to be applying discounts.
Thanks for the push in the right direction guys!
Hi,
Having upgraded from Commerce v8.16.1 to v12.10, I am seeing some issues regarding the application of discount codes (we're using the legacy promotion system still).
Having followed through the code comparing it to the process of the original. It seems that after running the 'cart.RunWorkflow' method, where the workflow passed as a parameter is 'ValidateCart', the discount has not been applied in the OrderForm post-workflow.
The code looks like this (removed some unimportant parts for brevity) -
With the event method doing the following -
Is there anything obvious I've missed, it was a large upgrade so there's a chance I've missed some kind of breaking change/rework?
Cheers,
James