public ActionResult ProductDetail(string name)
        {
            var slug    = SiteUtils.GetSlugFromUrl();
            var product = _productApi.GetProductDetailBySlug(Sanitizer.GetSafeHtmlFragment(slug));

            if (product == null || (product.Result == null && product.StatusCode == HttpStatusCode.NotFound))
            {
                return(RedirectToPageNotFound());
            }
            SetDataLayerVariables(product.Result, WebhookEventTypes.ProductViewed);
            //product.Result.BrandSlug = _brandApi.GetBrandDetails(Sanitizer.GetSafeHtmlFragment(product.Result.BrandRecordId)).Result?.Link;
            return(View(CustomViews.PRODUCT_DETAIL, product.Result));
        }