I am trying to create controller fro commerce as explained in the link below. However, I am getting NULL exception in the parameter of action. e.g.
currentContent is null in
public class AlloyCategoryController : ContentControllerBase<AlloyNode>
public ActionResult Index(AlloyNode currentContent)
var model = PageViewModel.Create<AlloyNode>(currentContent);
I'd recommend reading https://world.episerver.com/documentation/developer-guides/commerce/getting-started/creating-a-start-page/ which is the offical docs rather than a 2 year old blog post. Do you have the commerce routing set up?