Hi All,
I want to do a test like this in the page ProductTemplate.Simple.cshtml:
if (attribute.Name) contains ("rmell")
I don't know how to write this in nopCommerce 3.9, could you help me please
Thank you!
if ((workContext.WorkingLanguage.Id == 11) && (attribute.Name == "Ärmellänge"))
{ ............. }
if ((workContext.WorkingLanguage.Id == 11) && (attribute.Name contains "rmell"))
{ ............... }
if ((workContext.WorkingLanguage.Id == 11) && (attribute.Name contains "rmell"))
{ ............... }
attribute.Name.contains("rmell")
String.Compare(attribute.Name, "Ärmellänge", CultureInfo.CurrentCulture, CompareOptions.IgnoreNonSpace) == 0