Related listings by location only

Hi, is it possible to have the related listings filtered by location only ? Because currently, it’s by location AND category, I’d like to remove the category filter. Thanks !


Unfortunately, there’s no simple code snippet for this, but if you’re familiar with customizations you can try using this action hook for altering the related listings query: hivepress/v1/models/listing/relate Action: hivepress/v1/models/{model_name}/relate | HivePress Hook Reference

If you create custom code snippets you can add them this way How to add custom code snippets - HivePress Help Center

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