Following on our discussion of new features in version 1.3.1 of Cart Viper our advanced ecommerce DotNetNuke module we are going to highlight the new category image and description support.

In version 1.3.1 we have enhanced the options available to the store admin in the category management section, now it is possible to set both a category description and upload a single image for that category that can then be outputted in the store catalogue:

CropperCapture[15]

In order to output them in the catalogue we are going to use the advanced templating system Cart Viper employs. Each page within Cart Viper is made up of a number of .htm files that contains HTML and “tokens”, when Cart Viper makes a page it merges the HTML and replaces the tokens with data.

For example to output our category title, description and images we are going to edit the .htm file “CategoryContainer.htm”, we have added the 3 highlighted tokens in a simple HTML div:

CropperCapture[16]

Now when we view the store catalogue we get the current category title, description as well as any sub-category images outputted:

CropperCapture[13]

This templating system is used throughout Cart Viper and empowers the store admin to create advanced page layouts, a further key advantage is due to the fact each portal has its own templates it is possible to create completely unique stores for each of your portals on your DNN installation.

For more information on the token system used within Cart Viper please consult our user guide.