Version: - string  


Returns the meta keywords for the product.


The value is based on the Keywords input field for a product.

(Ecommerce > Product Catalog > Product > General tab > Meta information > Keywords)


You need to enable Customized URLs in Management Center – Customized URLs. You also need to enable “Convert Module URLs” in “Internal links”.

The eCommerce meta keywords overrides the meta keywords on the page.


Outputting the template tag


Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:Product.MetaKeywords"); }

Outputting the template tag


Check if string has a value

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