• Resolved alaaeddin95

    (@alaaeddin95)


    Hello,

    I want to know how to be able to add icon beside the name of the category of the WooCommerce, my idea is that the categories are going to be countries so I wanna add the flags of each country this is why I need the icons.

    Regards.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Fernando a11n

    (@fhaps)

    Automattic Happiness Engineer

    @alaaeddin95 Would emojis work? I’m thinking you can use an emoji as part of the category name (though not in the category slug). I tested it on a site of my own and this is how it looks:

    Single Product page:

    Category page:

    Thread Starter alaaeddin95

    (@alaaeddin95)

    Let me test it from where I can see these options?

    Plugin Support Fernando a11n

    (@fhaps)

    Automattic Happiness Engineer

    @alaaeddin95 I’m not sure what you are asking. These are screenshots of a site of my own that I used to test.

    I configured this as the category name: Ireland ????

    Thread Starter alaaeddin95

    (@alaaeddin95)

    Ok thanks a lot I will try it and back to you.

    Thread Starter alaaeddin95

    (@alaaeddin95)

    Sir I can’t find the option you have in the screenshot

    https://prnt.sc/u5tg8i

    simple in products there’s something called category, there I can add and remove categories and I can link the products with those category let’s say that I have category like “bags” and I want to put an icon of bag beside the name of the category like:
    <bag icon> Bags
    so how I can add these icons?

    Plugin Support Fernando a11n

    (@fhaps)

    Automattic Happiness Engineer

    @alaaeddin95 The icons can be added when you create a category. Or if the category is already created, you can edit it.

    Head to the WP-Admin Dashboard > Products > Categories. From there you can select an existing category to edit or create a new one.

    Plugin Support Fernando a11n

    (@fhaps)

    Automattic Happiness Engineer

    To expand on the above, you can add an emoji to the Name field: https://d.pr/i/fmvPLa

    There isn’t a dropdown or similar option to select emojis, but you can copy them from any emoji library you can find, like this one: https://emojipedia.org/

    Thread Starter alaaeddin95

    (@alaaeddin95)

    Thanks a lot

    • This reply was modified 4 years, 6 months ago by alaaeddin95.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Add icons beside WooCommerce categories’ is closed to new replies.