Search found 11 matches

by Trent
12 Feb 2019, 14:31
Forum: Laravel package
Topic: Example pages
Replies: 20
Views: 6380

Re: Example pages

To make my own functionality do I just pass the five parameters to a separate function to make it work? Or is there an easier way to update the basket contents?
by Trent
11 Feb 2019, 09:45
Forum: Laravel package
Topic: Example pages
Replies: 20
Views: 6380

Re: Example pages

Cool beans! I managed to have a decent looking page now :)

Any chance you could tell me how to add the add to basket option on this? And where I can customize the nav bar?
by Trent
03 Feb 2019, 13:57
Forum: Laravel package
Topic: Example pages
Replies: 20
Views: 6380

Re: Example pages

That works thank you! I didn't know about the getContent(). It isn't registering the <p><strong> tags for some reason though.

Is there a similar method to get the images to load? The getContent() doesn't seem to work for it.
by Trent
31 Jan 2019, 17:00
Forum: Laravel package
Topic: Example pages
Replies: 20
Views: 6380

Re: Example pages

I've tried inserting it into a foreach loop but I still have problems. Would you be able to give me an example?
by Trent
29 Jan 2019, 14:19
Forum: Laravel package
Topic: Example pages
Replies: 20
Views: 6380

Re: Example pages

I've tried using it as: {{$item->getRefItems('text', 'long')}}

But it returns "htmlspecialchars() expects parameter 1 to be string, array given"

I've tried intiallizing it in the controller and no luck either.
by Trent
28 Jan 2019, 20:23
Forum: Laravel package
Topic: Example pages
Replies: 20
Views: 6380

Re: Example pages

Two questions: 1) Do I need to extend something to use getRefItems() as searchItems() works but the other doesn't 2) How do I get it to display on the actual page? I'm using: @foreach($items as $item) {{$item->getName()}} {{$item->text}} {{$item->price}} @endforeach on the display page and bar the g...
by Trent
10 Jan 2019, 19:36
Forum: Laravel package
Topic: Example pages
Replies: 20
Views: 6380

Re: Example pages

Thanks man. I’m doing it all in the controller now to retrieve everything then pass it through.

Any chance you could help me out with the retrieving of getRefItems() function?
by Trent
09 Jan 2019, 09:23
Forum: Laravel package
Topic: Example pages
Replies: 20
Views: 6380

Re: Example pages

Sorry for the double post. I've tried using the parameters you gave to return values and the getName() works but the other ones to find details is giving me an error.

Is there a page with the getRefItems() uses? Like what parameters retrieves what?
by Trent
07 Jan 2019, 14:30
Forum: Laravel package
Topic: Example pages
Replies: 20
Views: 6380

Re: Example pages

Thanks so much for the links and explanations Aimeos!

I'm just working on getting them to display but seem to be getting this error. I've tried changing the facade and such to extend to it but doesn't seem to work. Would you know whats wrong?
by Trent
02 Jan 2019, 18:40
Forum: Laravel package
Topic: Example pages
Replies: 20
Views: 6380

Re: Example pages

In the default Blade templates you only see how the existing components are integrated. If you want to create a list page of your own, you should write a controller/action that contains similar code to that one: $context = app( '\Aimeos\Shop\Base\Context' )->get(); $cntl = \Aimeos\Controller\Fronte...