Default theme list all products by category
PyramidHead last edited by
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?
Vaishali Agarwal last edited by
refer to this guide to add CMS page in default theme
dev.rohit last edited by
@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.