Ecom:CustomerCenter.FrequentlyItems

Version: - string  

Summary

Returns a button for navigating to Frequently bought items.

Settings

The value is generated automatically based on the Frequently bought items menu text settings under the paragraph settings.

(Page > Paragraph > Module tab > Menu texts panel).

Examples

Outputting the template tag

@GetString("Ecom:CustomerCenter.FrequentlyItems")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Ecom:CustomerCenter.FrequentlyItems"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:CustomerCenter.FrequentlyItems"); }

Outputting the template tag

<!--@Ecom:CustomerCenter.FrequentlyItems-->

Check if string has a value

<!--@If Defined(@Ecom:CustomerCenter.FrequentlyItems)--> Let's output this tag here: <strong><!--@Ecom:CustomerCenter.FrequentlyItems--></strong> <!--@EndIf(@Ecom:CustomerCenter.FrequentlyItems)-->