GeekShop admin dashboard always shows 2 products
Hi Admin,
GeekShop admin dashboard always shows 2 products no matter how many products are added. Not a big deal for me to be honest. and I'm really afraid to change something inside backend/admin files.
Hey Stantyan,
Wow, thanks for catching this and thanks for bringing this to my attention. I'll be sure to include this in the next update as well. For the meantime you can change line 23
inside of app\Widgets\Products.php
from:
$count = Voyager::model('Page')->count();
to:
$count = \App\Product::count();
And you should be good to go. Thanks again for bringing it to my attention.
Talk to you soon.