Skip to content
Discussion options

You must be logged in to vote

That works for me @timohubois,

I did have to make one change however, in the nameOfTheTaxonomy-taxonomy.twig, I removed the second productCategoryTaxonomyComponents in the for statement.

However I can confirm we can both render the components and also show the blocks! 🎉

Additionally I've copied the reusableComponents into my project and that's also working great!

Thank you again!

{% extends contentOnly ? 'templates/_contentOnly.twig' : 'templates/_document.twig' %}

{% block content %}

  {% for component in term.productCategoryTaxonomyComponents %}
    {{ renderComponent(component) }}
  {% endfor %}
	{{ renderComponent('GridPostsArchive', { posts: posts }) }}
{% endblock %}

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ben-goodman-uk
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@ben-goodman-uk
Comment options

@timohubois
Comment options

@ben-goodman-uk
Comment options

Answer selected by timohubois
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants