onSearchcallback and passes the
SearchInfoobject with "onions" as the value for the
productTypefield. All other fields in the object will be empty.
onSearchcallback again and this time passes the SearchInfo object with two fields set:
variantwith "organic" as the value and also
productTypewith "onions" as the value. This way, it preserves the context between multiple invocations.