I just updated to the latest CMS and Commerce release using nuget but I can't see the new gui for handling campaign och promotions that are shown in this link:
Are these functions still in beta or do I have to do anything to enable these features?
Yes, these are still in beta, although it's getting close to move out it. So you have give users beta access for them to access these features.
You'll need to add this to your episerver.framework section:
<add name="EPiBetaUsers" type="EPiServer.Security.MappedRole, EPiServer.Framework" roles="WebAdmins, Administrators" mode="Any" />
Currently the Marketing UI is beta, so it's only available to EPiBetaUsers virtual role. And yes, as Per said, we're close in getting it out of BETA. While I can't provide a firm date, but it will happen in a soon-ish future. Stay tuned.
@Quan, any news on the release for the new marketing UI?
It's been out of beta since Commerce 9.19 - so if you install a new site with 9.19+ then the new marketing UI will be available to editor by default.
We're still working on adding new features to the new marketing UI, btw :)
Great, I will check it out right away, thanks!
I'm thinking of upgrading to Commerce 10 right away. Our solution is built on the old Quicksilver with Workflows and as I see now in the new Quicksilver, workflows are no longer used. Is that correct?Will the campaign engine work with workflows or do I have to upgrade that code to get this to work properly?
Yes, workflows are no longer required. You can now use some APIs to apply the promotions directly, such as cart.ApplyDiscounts() (extension method)
But they are still supported. If you are using workflows then no extra work is required, as long as if you the VNextFeature flag turned on then the new promotion engine can work with workflows.
And the VNextFeature is turned on by editing the ecf.workflows.config?
Could you post the default look of that file, I'm not sure I'm getting it right.
I have modyfied my ecf.workflows.config to look like this:
<add name="CartValidate" displayname="Validate Cart" description="Checks inventory, populates extra fields" type="Mediachase.Commerce.Workflow.CartValidateVNextActivityFlow, Mediachase.Commerce.Workflow" xomlpath="" rulespath="" />
<add name="CartPrepare" displayname="Cart Prepare" description="Creates shipments" type="Mediachase.Commerce.Workflow.CartPrepareVNextActivityFlow, Mediachase.Commerce.Workflow" xomlpath="" rulespath="" />
<add name="CartCheckout" displayname="Cart Checkout" description="Processes credit card information" type="Mediachase.Commerce.Workflow.CartCheckoutActivityFlow, Mediachase.Commerce.Workflow" xomlpath="" rulespath="" />
<!-- Administration Workflows / mapped to toolbar actions -->
<add name="CompleteShipmentWorkflow" displayname="Complete Shipment" description="Complete Shipment" type="Mediachase.Commerce.Workflow.Admin.POCompleteShipmentActivityFlow, Mediachase.Commerce.Workflow" xomlpath="" rulespath="" />
<add name="SplitShipmentsWorkflow" displayname="Split Shipments" description="Split Shipments" type="Mediachase.Commerce.Workflow.Admin.POSplitShipmentsActivityFlow, Mediachase.Commerce.Workflow" xomlpath="" rulespath="" />
<add name="SaveChangesWorkflow" displayname="Save order changes" description="Save order changes" type="Mediachase.Commerce.Workflow.Admin.POSaveChangesVNextActivityFlow, Mediachase.Commerce.Workflow" xomlpath="" rulespath="" />
<add name="RecalculateTotalsWorkflow" displayname="Calculate Totals" description="Calculates totals" type="Mediachase.Commerce.Workflow.Admin.POCalculateTotalsVNextActivityFlow, Mediachase.Commerce.Workflow" xomlpath="" rulespath="" />
<add name="RecalculatePurchaseOrderWorkflow" displayname="Recalculate Purchase Order" description="Recalculate Purchase Order" type="Mediachase.Commerce.Workflow.PORecalculateVNextActivityFlow, Mediachase.Commerce.Workflow" xomlpath="" rulespath="" />
<add name="ReturnFormRecalculateWorkflow" displayname="Recalculate Return Form" description="Recalculate Return Form" type="Mediachase.Commerce.Workflow.ReturnFormRecalculateActivityFlow, Mediachase.Commerce.Workflow" xomlpath="" rulespath="" />
<add name="ReturnFormCompleteWorkflow" displayname="Complete Return Form" description="Complete Return Form" type="Mediachase.Commerce.Workflow.ReturnFormCompleteActivityFlow, Mediachase.Commerce.Workflow" xomlpath="" rulespath="" />
Correct? Is this how I turn on the VNextFeature flag?
Then i run the validate workflow:
But still no discounts. I have an active offer that gives a specific price on an item but the lineitem has no discount and the total discount is 0. Probably missing something simple here.I have rewritten the price calcualtor but I guess the discount calculation occours after the price is set on the lineitem, is that right?
You enable VNext by adding the following to ecf.app.config:
<add feature="WorkflowsVNext" state="Enabled" type="Mediachase.Commerce.Core.Features.WorkflowsVNext, Mediachase.Commerce" />
Thank you Joel! How should the ecf.workflows.config look?
You don't need to change/have anything in ecf.workflows.config for this feature to be enabled. If you still want to work with workflows, you can do so, but adding the VNext feature like above will tell epi to use the new promotion system rather than the old.