It could be interesting to have this logic directly in the related bundle (not sure if it's blockbundle or productbundle).