Product Icon

Product Add-Ons for WooCommerce

Offer add-ons like gift wrapping, special messages or other special options for your products.

Heading levels instead of H2 + classes for styling

I use the Heading option to inject notes above/below addons. But almost always, I don’t want it to be a heading, especially H2.

Can we get the ability to change the heading level and/or just use a text/paragraph field instead of Heading?

It would also be nice to have the ability to add a class to make styling easier. Several versions ago, classes were automatically added (based on the title of the addon, I think).

Screenshots

Author

Jodi

Current Status

Open

Last updated: May 28, 2025

2 comments

Log in to comment on this feature request.

  1. Jodi says:

    Thank you for considering this request and for the suggestion to make changes on my own.

    To clarify about the styling – I should probably create a separate feature request for that. It’s not just targeting that class, but for each add-on, it gets messy. I have a main “delivery & installation” one with radio buttons that I need to be consistently styled, but sometimes I have addons before or after that one (or description after title on some but not others). With 300+ products with varying add-ons, the styling gets tricky. I try to use categories and tags in my classes, but it was much easier before when I could just target all add-ons with the same title, if that makes sense.

  2. jaskyt8 says:
    Product developer May 28, 2025 8:17 am

    Hey there,

    Thank you for your suggestion!

    You are right that currently, Heading add-ons are displayed using an H2 element. It is possible to target the ‘wc-pao-addon-heading’ class and make the heading look smaller or, you can instead override the ‘woocommerce-product-addons/templates/addons/addon-start.php’ template and keep everything the same except for the HTML element used here: https://d.pr/i/WfjogX.

    If we get more requests about this, we will consider adding a filter to change the H2 element with other elements, like H3/H4, or even paragraph.