Sitecore Commerce Icons

Ten years ago when I started working with Sitecore, one of the first thing I learn it was how to select icons for items templates.

In Sitecore Commerce is a bit different how to choose icons for entity views.You don’t have a picker for icons.

Icons in Sitecore Commerce are stored in Bizfx tools in the root folder in SitecoreIcons.*.svg file.

bizfxtool

To view all the icons from the Bizfx toool you can use  http://fontello.com/

You can drag and drop and select the icons .

fontello

 

After you select the SVG file you will see icons available for Sitecore Commerce.

BizfxIcons

Using Fontello you can search for icons :

calendarclock

To create an entity view with a selected icons you have use :

var newEntityView = new EntityView
{
Name = “CustomEntityView”,
DisplayName = “CustomEntityView”,
Icon = “calendar_clock”,
ItemId = “CustomEntityViewId”
};

 

The result for on Commerce Dashboard is :

CustomEntityView

In the next blog I will explain how to add a new EntityView to CommerceDashboard

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: