We are trying to have certain products show on a page based on the URL matching with text in a column {{ composer_name }}
We are having problems with this code, specifically the error we are recieving when trying to save is "TemplateSyntaxException: Error invoking function 'hubdb_table_rows".
{# Get Team Members from HubDB #}
{% set queryparam = "" %}
{% set composer_name = request.path|cut("/composers/") %}
{% set queryparam = queryparam ~ "&composer_name_new={{ composer_name }}" %}
{% set table = hubdb_table_rows(123456, queryparam) %}
<div class="product-container">
{% for row in table %}
<div class="product">
<a href="{{ row.product_url }}">
<img src="{{ row.product_image_src }}" >
<h3>{{ row.product_title }}</h3>
</a>
</div>
{% endfor %}
</div>
Does anyone have any ideas on how to resolve this error?