Not sure about your first question - but for the second question, yes, it's applied when you run the workflows if you have the VNext flag enabled http://world.episerver.com/documentation/Items/Developers-Guide/Episerver-Commerce/8/Marketing/workflows-beta/
And you should not have to implement it, SpendAmountGetShippingDiscount is in Commerce 9.13 and if you set the discount percentage to be 100% then it's basically free.
But how does it work, do i need to create a shipment for the cart first and the run a workflow and then it should add some kind of discount?
Im not sure about the "Magic" behind it, what do i need to create first before it takes effect and what does it affest, where is the discount added?
ok, i got your book. think i found my answers there :)!
Great that you found the question here! (And thanks for your purchase)
ok, i have another question..
lets say we have 10 different shipping methods..
is there a easy way to check each of them to see if there is any promotions kicking in without adding them to cart first?
i would like to have somthing like:
foreach (var method in shippingMethods)
var rewards = promotionEngine.Run(method);
or even send in all
var rewards = promotionEngine.Run(shippingMethods);
or it it only possible to show this in the end of the checkout flow..
also would be good if we have a 20% discount on all products one day.. we sould like to show this before you add them to cart..
We are working on new features which do exactly what you need - get promotions that might apply to an entry without having to add it to the cart. It should be released in upcoming release (9.15), so stay tuned :).
I would really appriciate any and all help that can be provided to me here, this is my last hope as the development company we hired says episerver cannot do this so I want to do it myself and proove them wrong. Basically all I want is the following:
Number 3 is not a deal breaker but I would really like 1 and 2 to be an automatic thing
Thank you in advance
1 and 2 are definitely possible - quite even easy I would say. 3 is some simple setting changes if you have 1 and 2 in place.
Regarding 2 - the promotion can give you free shipping cost. It's up to you to select the shipping option automatically.
Thank you for your incredibly quick responce. I don't suppose you could inform me as to how to go about setting up options 1 and 2?
The detail implementation is up to you. But I can see 1 to be an order promotion, while the second one is a shipping promotion. The second one is actually a builtin promotion ("Buy amount get free shipping"). The first one is simply setup the condition to be 1000RS, and check if the order form total, if it's less than that threshold then give the discount = (subtotal - 150).
Here's something to start with: http://world.episerver.com/documentation/Items/Developers-Guide/Episerver-Commerce/9/Marketing/custom-promotions/
Could you explain how the new promotions work, especially the one that comes with the latest version the shipping promotion..
How should we and when should be apply it?
Is it applied when we run the workflows? (i have tried the new one)
Do you guys have som example implementation of it?
I have been sitting with it for a while and im kind of stuck try and erroring to get it to apply without luck..
Im trying a simple task, add free shipping over a certain amount..
thanks for any help..