Skip to content
Advertisement

WooCommerce – How to insert icons before delivery method

Good day,

Could anyone please help me how to insert icons before delivery method?

I use this filter

JavaScript

This works normally for local pickup and Zásilkovna, but not for the last two.

I found the id I have with them at the value “value” in the input. Would anyone know how to help me?

Or how to do this using CSS only?

Advertisement

Answer

To found out the correct $method->method_id you could use

JavaScript

So you get

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement