{@$count=0}
  • {$val->item_name}
    {cut_str($val->item_name,$widget_info->title_length)}
    {$val->printDiscountedPrice()}
    {@$count+=1}