SOLVED

Velocity Dynamic Content Sorting

Go to solution
SanfordWhiteman
Level 10 - Community Moderator

Re: Velocity Dynamic Content Sorting

This line:

#if( !$display.alt($pro_cList["productName"],"").isEmpty() )

 

Should be:

#if( !$display.alt($pro_c["productName"],"").isEmpty() )

 

Remember, when you're iterating over the items ($pro_c) in the list, you want to test the item, not the whole list.