Action on product controller fails to execute if you enable SEO URL

Found in

EPiServer.Commerce 13.29.0

Fixed in

EPiServer.Commerce 13.31.0

Created

Mar 12, 2021

Updated

Jul 09, 2021

State

Closed, Fixed and tested


Description

Action on product controller fails to execute if SEO URL is enabled.

Steps to reproduce:

  1. On a Quicksilver sample site, change MapDefaultHierarchialRouter from false to true: CatalogRouteHelper.MapDefaultHierarchialRouter(RouteTable.Routes, true);
  2. Navigate to a product from the start page and try to change the variant (shoe size for instance).

Expected:

Should hit public ActionResult SelectVariant(FashionProduct currentContent, string color, string size, bool useQuickview = false).

Actual:

SelectVariant is not hit.