How do i remove the category requirement for listings
I have no categories on my website but even still it is required to pick a category this really should be fixed for a future update
Please try this PHP snippet to set the default value for the listing category field. Then the previous snippet to hide the category field should work correctly without showing an error:
Please send us a screenshot of where you specify PHP snippets and which ones, so that we can check it in more detail, as everything is working correctly on our side.
OK, its work … so this bellow part snippet is not necessary now? ( I don’t need to save in a category, but this part doesn’t work anyway) My plan is: Users post an listing without a category and I will then manually add listing to the category via the administration. Could this cause any problems in the future?