How to add HTML content to a class without extending template

We can be able to add the HTML content without extending template using append method.

First we need to extended the corresponding view in order to display the content in the website.

With the above code we can be able to add the p tag to the classname order-history-details-content-col.

Even we pass variables as in the above example we have get the values from the configuration record and displaying it in the website.

Leave a comment

Your email address will not be published. Required fields are marked *