How to set default value (checked) for checkbox?

I want one of my attributes - the checkbox to be checked by default when adding an listing. Instead of the user having to tick the checkbox, the user will untick it

pls some php snippet?


Sorry, there’s no simple code snippet for this, it would require a custom implementation. If customizations beyond the available features are required for your site, please consider hiring someone for custom work