Search found 148 matches

by ahmed31916
19 Jul 2022, 06:06
Forum: Laravel package
Topic: add middleware for the admin panel routes
Replies: 7
Views: 1289

Re: add middleware for the admin panel routes

This is correct because the checkout route is part of the "default" group: https://github.com/aimeos/aimeos-laravel/blob/master/src/routes.php#L199-L226 Ok. that woks. But the "/shop" page affected with the middelware. I add "auth" middleware for the route "defaul...
by ahmed31916
18 Jul 2022, 14:13
Forum: Laravel package
Topic: add middleware for the admin panel routes
Replies: 7
Views: 1289

Re: add middleware for the admin panel routes

ok, now if I want to add a middleware for the checkout route, how can I do?
I tried to add it to this line, but shop page will affected.
https://github.com/aimeos/aimeos/blob/9 ... op.php#L38
by ahmed31916
16 Jul 2022, 16:10
Forum: Laravel package
Topic: cms loads just the html content
Replies: 4
Views: 1482

cms loads just the html content

Hello Aimeos, When I make a new csm content page in the admin panel, and the cms page loaded. It loads just the html content. Why It doesn't load the css too? This is an example of the cms content stored in the database: {"css":".container-xl{min-height:2.5rem !important;}.gjs-dashed ...
by ahmed31916
14 Jul 2022, 08:34
Forum: Laravel package
Topic: add middleware for the admin panel routes
Replies: 7
Views: 1289

Re: add middleware for the admin panel routes

@aimeos help me please!
by ahmed31916
13 Jul 2022, 09:29
Forum: Laravel package
Topic: add middleware for the admin panel routes
Replies: 7
Views: 1289

add middleware for the admin panel routes

Hello,

How can I add a middleware for the admin panel routes?
Do I need to copy the admin routers in the aimeos vendor files to my web route?
by ahmed31916
13 Jul 2022, 07:20
Forum: Laravel package
Topic: sort products by id
Replies: 5
Views: 983

Re: sort products by id

aimeos wrote: 13 Jul 2022, 06:54 Please create a new topic for questions not related to the existing topic.
it is related to the same topic, when I apply this code I got the previous error:
$cntl->slice(0,5)->sort('-product.id')->search();
by ahmed31916
12 Jul 2022, 09:39
Forum: Laravel package
Topic: pay a deposit of the product amount
Replies: 1
Views: 448

pay a deposit of the product amount

Hello Aimeos, Is it possible to pay a deposit of the product amount (part of the actual price), not the whole actual price? Because there are some expensive products that it is difficult to pay the full actual price. Thus, the scenario is: - part of the amount is paid to reserve this product. - the ...
by ahmed31916
12 Jul 2022, 07:55
Forum: Laravel package
Topic: sort products by id
Replies: 5
Views: 983

Re: sort products by id

I got this error:

Code: Select all

Call to a member function getType() on null
https://flareapp.io/share/LPlLk8DP#F66
by ahmed31916
11 Jul 2022, 15:44
Forum: Laravel package
Topic: aimeos routes list
Replies: 1
Views: 446

aimeos routes list

Hello,

How Aimeos did make the routes look like this?
It's really beautiful.
by ahmed31916
11 Jul 2022, 09:46
Forum: Laravel package
Topic: sort products by id
Replies: 5
Views: 983

sort products by id

Hello Aimeos,

Why the sort method doesn't work here?

Code: Select all

$manager = \Aimeos\Controller\Frontend::create( $context, 'product' )->uses( $domains );
$feature_cars = $manager->search()->slice(0,5)->sort('-', 'product.id');