Ability to add product blocks or metafields to blog and page templates.
Hi @DraganaH! You cannot add product blocks directly to blog or page content, but you should be able to add them to the templates themselves. You can add sections and blocks to page and blog post templates just like you can with any other template. Let us know what specifically you’re trying to achieve, and we can try to point you in the right direction.
Hi Kjellr, thank you for responding. I did created a new template for my blog posts (from blog post default page); however, I couldn’t add any product related blocks to new blog template (since there is no parent product). I also created blog post product meta fields and added them to the blog post group. Unfortunately, none of the available blocks could carry that metafield. AI was great, but could not generate the block I needed. At the end, I added code to my main-article.liquid and now blog product metafields are showing up together with content. I also used AI block generator to create post date, social share block and similar. I will be using these blog posts to generate traffic. That’s why I asked the question. It would be great if page and blog post based templates can use product page components and product metafields. Thank you.
Thanks for the additional details, that helps me understand what you’re going for.
The blog templates are definitely a bit more limited than other areas of Horizon at the moment. I’ll take this back to the team and we can consider ways of offering more flexibility there. Your use case is a helpful one for us to know about!