Email field for PPPoE credentials

We are building an email template to allow us to email customers their service username and service password so they can set up PPPoE on their router. However, I don’t seem to be able to find those fields to put as placeholders in the email template.

Also, is it possible to make those fields viewable in the customer portal?


in this case you should create a new variable with loaded internet services. After this you can go through a for loop and display service and password.

It should be something like this:

{% set services = loader.getServicesByTypeAndStatus('internet', 'active') %}

{% for service in services%}
you login is <b>{{service.login}}</b> and your password is <b>{{service.password}}</b>
{% endfor %}