Search found 27 matches

by Dinver
07 Dec 2020, 07:59
Forum: Help
Topic: Questions by URL and breadcrumbs
Replies: 11
Views: 4597

Re: Questions by URL and breadcrumbs

These lines are responsible for adding the parameters to the session so the breadcrumb shows up in the detail view: https://github.com/aimeos/ai-client-html/blob/master/client/html/src/Client/Html/Catalog/Lists/Standard.php#L417-L428 If you reset the session value here, the breadcrumb should be cor...
by Dinver
04 Dec 2020, 09:23
Forum: Help
Topic: Questions by URL and breadcrumbs
Replies: 11
Views: 4597

Re: Questions by URL and breadcrumbs

aimeos wrote: 04 Dec 2020, 08:02 The #gigacommerce demo is a bit special and not the latest version.
I think the problem occurs because the new catalog/home component doesn't reset the session parameters for the breadcrumb.
I have version installed 2020.10.x-dev
by Dinver
04 Dec 2020, 06:48
Forum: Help
Topic: New web sit integration
Replies: 2
Views: 1342

Re: New web sit integration

Hello. I have html , css and js files for new web site now. I want to make my website by using aimeos. but I do not know how to integrate my html and css&js files into aimeos. I have already checked github provied by aimeos. I have tried with two ways. one way is composer create-project aimeos/...
by Dinver
03 Dec 2020, 11:20
Forum: Help
Topic: Questions by URL and breadcrumbs
Replies: 11
Views: 4597

Re: Questions by URL and breadcrumbs

aimeos wrote: 30 Nov 2020, 13:18 Don't really know what the problem is. Can you describe the steps based on the laravel.demo.aimeos.org site?
In my understanding, after going to the home page, need to reset breadcrumbs.

Image
by Dinver
28 Nov 2020, 08:11
Forum: Help
Topic: Questions by URL and breadcrumbs
Replies: 11
Views: 4597

Re: Questions by URL and breadcrumbs

We've tried to suppress displaying the stage image in the detail view but that change had the consequence of breaking the breadcrumb in the detail view: https://github.com/aimeos/ai-client-html/commit/802576d6f022ceb414fdd25c0c6ead15fbaf44bf Now, we made a different kind of implementation for that....
by Dinver
26 Nov 2020, 15:52
Forum: Help
Topic: favorite product json delete not working
Replies: 1
Views: 33964

favorite product json delete not working

I create delete request, but nothing happens. Errors not, but does not delete anything. const url = '/jsonapi/customer?related=relationships&include=product&relatedid=' + id $.ajax({ url: url, method: 'DELETE', headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')...
by Dinver
26 Nov 2020, 14:56
Forum: Help
Topic: Add reviews JSON error 403
Replies: 3
Views: 1555

Re: Add reviews JSON error 403

Seems like the documentation isn't up to date. There have been another check introduced so it's required to pass the ID of the ordered product too to avoid fake reviews. Please try: const params = {'data': [{ 'attributes': { 'review.domain': 'product', 'review.orderproductid': $('#modalReview .revi...
by Dinver
26 Nov 2020, 11:12
Forum: Help
Topic: favorite icon
Replies: 9
Views: 3457

Re: favorite icon

Yes, the endpoint doesn't support filtering but you can limit the returned fields using: const url = '/jsonapi/customer'; const params = { related: 'relationships', include: 'product', fields: { 'customer/lists': 'customer.lists.refid,customer.lists.type' } }; $.ajax({ url: url, method: "GET&q...
by Dinver
25 Nov 2020, 15:57
Forum: Help
Topic: Add reviews JSON error 403
Replies: 3
Views: 1555

Add reviews JSON error 403

When trying to leave a review to the purchased goods: "You can only add a review if you have ordered a product" const url = '/jsonapi/customer?related=review' const params = {'data': [{ 'attributes': { 'review.domain': 'product', 'review.refid': $('#modalReview .review-form-hidden').val(),...
by Dinver
24 Nov 2020, 09:00
Forum: Laravel package
Topic: add review to the product
Replies: 3
Views: 1821

Re: add review to the product

There's a configurable time limit after which customers can review products to avoid fake reviews: https://github.com/aimeos/ai-client-html/blob/febc845d539c4546584879cbf3d8581fae65a806/client/html/src/Client/Html/Account/Review/Todo/Standard.php#L245-L256 I set time limit 1 day, but reviews not vi...