Hide HP default form fields based on Categories

Hi there HP Team.
When adding custom Listing attributes we can assign them to specific categories. Is there a code snippet to do similar with the default HP fields?
We need booking_min_quantity to be set on certain categories and booking_max_quantity on others.

I think a modification of a snippets provided in Allow sellers to limit quantity on specific category should do the trick, if not I’ll get back to this ticket.

Yes, it’s possible with a code snippet but this may break some functionality, built-in fields are usually linked to some specific triggers and functions.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.