Default theme list all products by category
I created page named "products-list" and I added this in content section
@include('shop::home.category', ['category' => 'books'])
And I got error:
"syntax error, unexpected '=', expecting ']' (View: ) (View: /var/www/resources/views/themes/default/views/cms/page.blade.php)"
So how I can listing products in my default theme custom pages?
refer to this guide to add CMS page in default theme
@PyramidHead I was having the same problem with the default theme so i just did this btw i was making custom theme. so here is my solution.