+
@Html.Raw(viewModel.Text)
}
else
diff --git a/examples/DancingGoat/ProductTagTaxonomyConstants.cs b/examples/DancingGoat/ProductTagTaxonomyConstants.cs
new file mode 100644
index 0000000..5a12f01
--- /dev/null
+++ b/examples/DancingGoat/ProductTagTaxonomyConstants.cs
@@ -0,0 +1,16 @@
+namespace DancingGoat
+{
+ internal static class ProductTagTaxonomyConstants
+ {
+ ///
+ public const string TAG_NAME_BESTSELLER = "Bestsellers";
+
+
+ ///
+ public const string TAG_NAME_HOT_TIPS = "HotTips";
+ }
+}
diff --git a/examples/DancingGoat/Program.cs b/examples/DancingGoat/Program.cs
index f2c6d93..47188be 100644
--- a/examples/DancingGoat/Program.cs
+++ b/examples/DancingGoat/Program.cs
@@ -1,14 +1,24 @@
using System;
+using System.Collections.Generic;
using System.Threading.Tasks;
using DancingGoat;
+using DancingGoat.Commerce;
+using DancingGoat.EmailComponents;
+using DancingGoat.Helpers.Generators;
using DancingGoat.Models;
+using CMS;
+using CMS.Base;
+
using Kentico.Activities.Web.Mvc;
+using Kentico.Commerce.Web.Mvc;
using Kentico.Content.Web.Mvc.Routing;
+using Kentico.EmailBuilder.Web.Mvc;
using Kentico.Membership;
using Kentico.OnlineMarketing.Web.Mvc;
using Kentico.PageBuilder.Web.Mvc;
+using Kentico.Xperience.Mjml;
using Kentico.Web.Mvc;
@@ -20,9 +30,14 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
+using Microsoft.Extensions.Hosting;
using DancingGoat.TagManager;
+using Samples.DancingGoat;
+
+[assembly: AssemblyDiscoverable]
+
var builder = WebApplication.CreateBuilder(args);
@@ -40,10 +55,14 @@
}
});
+ features.UseEmailBuilder();
features.UseWebPageRouting();
features.UseEmailMarketing();
features.UseEmailStatisticsLogging();
features.UseActivityTracking();
+#pragma warning disable KXE0002 // Commerce feature is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
+ features.UseCommerce();
+#pragma warning restore KXE0002 // Commerce feature is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
});
builder.Services.Configure