Knowledge Base Articles

Creating Reports For Discounts

Matthew Sandstrom    —       —    Knowledge Base Article

If you’re running an E-Commerce store in Kentico, there’s a good chance you’ve used discount functionality. Seeing data about the various discounts you’ve applied can be difficult as this information is stored as XML markup in the database table for orders. In its raw form, data about discounts is stored on an order-by-order basis, and not in a very visually pleasant form. This article will go over the process of creating a report to display aggregated data about discounts.

Customizing user registration in MVC

Eric Dugre    —       —    Knowledge Base Article

By default, there are some restrictions on user names when registering in an MVC project. If you want to customize user name and password formats, a small code change is necessary.

Testing Locally With Contact Geolocation and MaxMind

Jamie Leask    —       —    Knowledge Base Article

In this short article, I will give you a quick and easy way to test your project communication with MaxMind database locally, without the need for a publically accessible instance or proxy server of some kind which would normally be needed for accurate testing of Contact location. This test was conducted on Kentico 12 instances but should work in all supported versions. This setup will show you if MaxMind is returning data right out of the gate and will also provide you with some general setup tips for MVC and portal engine sites. 

What's up with Custom Data?

Matthew Sandstrom    —       —    Featured Knowledge Base Article

During your time working with Kentico, you may have stumbled upon a field whose name includes “CustomData.” These fields can be found in many of the E-commerce related objects, such as ShoppingCarts, Orders, and CalculationRequests. In some cases, such fields can come in handy, storing additional E-commerce information that the objects don’t already contain. Their utility is furthered by the fact that in many cases, CustomData fields are automatically transferred to related objects.

Unit testing custom macros

Eric Dugre    —       —    Knowledge Base Article

Unit testing your code is a great way to ensure that everything’s working properly under different scenarios. Creating custom macros is a popular way to extend Kentico’s capabilities, but as this code is placed within the content of your site and only evaluated when it’s rendered, how can you test the code?