Is there a way to add custom checkout fields to the checkout screen, but only when a product of a certain category is added?
For example, we use a store for seminar registrations. This doesn't need any extra fields at all. We also use the store for selling a product that requires a host location to ship to. So we'd like to ask for that host location during checkout (couple of simple text fields).
It would be mighty confusing for someone trying to register for a seminar to be asked about a host location.
Is it possible to do this?