aimeos / aimeos

Integrated online shop based on Laravel 10 and the Aimeos e-commerce framework for ultra-fast online shops, scalable marketplaces, complex B2B applications and #gigacommerce

Home Page:https://aimeos.org/Laravel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Categories only showing when admin logged in

mattyr3200 opened this issue · comments

When I add a category (logged in as admin) I am able to view from the client side. But when I enter the site as a guest I am unable to see the category that was created. Is there a hidden setting that blocks showing of categories as it is currently enabled when looking at the admin panel.

Version: 2022.10
php version: 8.1

commented

This may be a caching issue of the browser because pages have a expiration time in the browser cache of 30sec by default:
https://github.com/aimeos/aimeos-laravel/blob/master/src/Aimeos/Shop/Controller/CatalogController.php#L195

Does it display the new category when you press Ctrl+Shift+F5?

Thank you for responding, this had no affect, further testing showed that I could only have 3 categories in the header unless logged in, in which case would show all the available categories in the header.

Browsers I've tested this on:

  • Chrome (desktop/ mobile)
  • Edge
commented

We can't reproduce the issue. Does it work if you execute this on the command line:

php artisan aimeos:clear

Seemed like that worked, Thank you 🙂