Search found 9 matches

by Starpag
24 Nov 2020, 13:59
Forum: Help
Topic: Two different templates for one component
Replies: 8
Views: 2370

Re: Two different templates for one component

Here my shop.php <?php return [ 'apc_enabled' => false, // enable for maximum performance if APCu is availalbe 'apc_prefix' => 'aimeos:', // prefix for caching config and translation in APCu 'pcntl_max' => 4, // maximum number of parallel command line processes when starting jobs 'routes' => [ ], 'p...
by Starpag
21 Nov 2020, 12:22
Forum: Help
Topic: Two different templates for one component
Replies: 8
Views: 2370

Re: Two different templates for one component

For some reasons it's work if i named it tree-body-standard.php , but tree-body-menu.php not work. Cache is disabled, yes. I will try further. But as I understand it enforce all <?= $aibody['catalog/tree'] ?? '' ?> in whole site used new template, but how to determinate with <?= $aibody['catalog/tre...
by Starpag
19 Nov 2020, 20:59
Forum: Help
Topic: Two different templates for one component
Replies: 8
Views: 2370

Re: Two different templates for one component

I just want to implement such simple think like Megamenu to header.
Something like this
Image

To implement this as i understand i need catalog/tree, but seems like it's overpowered for my case. Maybe i'm going wrong way?
by Starpag
19 Nov 2020, 20:52
Forum: Help
Topic: Two different templates for one component
Replies: 8
Views: 2370

Re: Two different templates for one component

Sorry, forgot to write, i use Laravel. Oh, it's really difficult to understand docs. But i tried and it's now work or i doing something wrong. Seems like that not what i need, but i'll tried anyway. I added: 1. shop.php 'client' => [ 'html' => [ 'catalog' => [ 'filter' => [ 'cache' => false, 'tree' ...
by Starpag
18 Nov 2020, 18:29
Forum: Help
Topic: Two different templates for one component
Replies: 8
Views: 2370

Two different templates for one component

Hello! I need to implement two or more different views of catalog/filter component with same functionality. As i found in docs: <component type>/<component name>/[<subpart name>[-<sub-subpart name>]-]{body,header}-<variant>.php Seems like <variant> is what i need, but i don't sure about that and don...
by Starpag
13 Nov 2020, 19:54
Forum: Help
Topic: Color as a separate product
Replies: 5
Views: 1478

Re: Color as a separate product

Thanks! It's will be very cool, if it will be added to AimeOS in more simple way, i think its pretty useful for many shops
by Starpag
12 Nov 2020, 12:38
Forum: Help
Topic: Color as a separate product
Replies: 5
Views: 1478

Re: Color as a separate product

Thanks for answer! Yes, but the question is in can somehow i can display two color of, for example, one Shirt as a two different product even it steel a Selection product in categories? https://i.ibb.co/2Y42g2F/2020-11-12-3-31-57-PM.png And switch between them in product card like this in demo: http...
by Starpag
12 Nov 2020, 01:42
Forum: Help
Topic: Color as a separate product
Replies: 5
Views: 1478

Re: Color as a separate product

As i understand i should create Selector product and then create two Article product with two different colors. But if open one of that Articles product from category list, there is no button like in parent Selector product that can redirect on select to selected second Article product. How to do th...
by Starpag
11 Nov 2020, 22:15
Forum: Help
Topic: Color as a separate product
Replies: 5
Views: 1478

Color as a separate product

Hello! I'm new to Aimeos and can't find an easy way to make Color option that on choosing will redirect on frontend to another product with selected color? Currently if i choose Color i still on the same product and there just available change available options on the same page. How to configure pro...