Help to show categories on supplier shop page
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Re: Help to show categories on supplier shop page
You mean this page?
https://laravel.demo.aimeos.org/supplie ... rrency=EUR
You can add this to your own supplier/detail.blade.php file:
The catalog/tree component will add a request to the /count URL which will add the nunber of found products to each category. You can also change its JS code to hide all categories without products for that supplier.
https://laravel.demo.aimeos.org/supplie ... rrency=EUR
You can add this to your own supplier/detail.blade.php file:
Code: Select all
@section('aimeos_body')
<div class="container-fluid">
<div class="row">
<aside class="col-lg-3">
<?= $aibody['catalog/tree'] ?? '' ?>
</aside>
<div class="col-lg-9">
<?= $aibody['supplier/detail'] ?? '' ?>
<?= $aibody['catalog/lists'] ?? '' ?>
</div>
</div>
</div>
@stop
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Help to show categories on supplier shop page
The category counts are added by this JS code:
https://github.com/aimeos/ai-client-htm ... e-body.php
https://github.com/aimeos/ai-client-htm ... e-body.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star