skip to Main Content

Changing the Allowed HTML Tags in Descriptions

Descriptions are a useful way to add extra content to your shipping options in the Cart, Checkout, and Order Review pages. By default, there are a handful of HTML tags allowed for formatting the text and adding images or links. If you decide you need something more than offered, this can be achieved by using a filter function to add or remove items from the list.

Adding New HTML Tags

The filter function passes through an array of tags that can allow new items to be appended. The array key should contain the tag you wish to add, and the value should contain an array of parameters for the tag. If there are no further parameters for the tag needed, the array can be left empty.

  • Was this article helpful ?
  • yesno
0 out of 0 visitors found this article helpful
Views: 17
Back To Top