allBlogsList

A Sitecore Commerce Plugin To Convert A Guest Order Into A Member Order

This plugin allows you to convert a guest order into an authenticated member order.

As you may know, most eCommerce websites today offer the Guest order feature, and after completion give you the option to register and create an account.

In that scenario, the completed guest order needs to be displayed in the user’s order history.

Is Sitecore Commerce 9, this means the guest order needs to be transformed to an authenticated order by updating the ‘Contact Component’ and ‘Membership List’.

How to install:

  • 1-Copy the plugin to your Sitecore Commerce Engine Solution and add it as a project.
  • 2-Add it as a dependency to your Sitecore.Commerce.Engine project.

Sitecore Commerce Plugin to Convert Member Order by XCentium

How to use:

After a guest order is submitted, and the account is created, call ‘api/ConvertToMemberOrder()’ endpoint, passing these paremeters:

  • 1-Guest Order id
  • 2-Created Customer id
  • 3-Created Customer email.

The order will then be associated with the registered customer and appear in Orders History.

For more information on other Sitecore Commerce Plugins by XCentium, please click this link.