Search found 27 matches
- 07 Dec 2020, 07:59
- Forum: Help
- Topic: Questions by URL and breadcrumbs
- Replies: 11
- Views: 7543
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...
- 04 Dec 2020, 09:23
- Forum: Help
- Topic: Questions by URL and breadcrumbs
- Replies: 11
- Views: 7543
- 04 Dec 2020, 06:48
- Forum: Help
- Topic: New web sit integration
- Replies: 2
- Views: 2103
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/...
- 03 Dec 2020, 11:20
- Forum: Help
- Topic: Questions by URL and breadcrumbs
- Replies: 11
- Views: 7543
- 28 Nov 2020, 08:11
- Forum: Help
- Topic: Questions by URL and breadcrumbs
- Replies: 11
- Views: 7543
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....
- 26 Nov 2020, 15:52
- Forum: Help
- Topic: favorite product json delete not working
- Replies: 1
- Views: 34726
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')...
- 26 Nov 2020, 14:56
- Forum: Help
- Topic: Add reviews JSON error 403
- Replies: 3
- Views: 2380
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...
- 26 Nov 2020, 11:12
- Forum: Help
- Topic: favorite icon
- Replies: 9
- Views: 5283
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...
- 25 Nov 2020, 15:57
- Forum: Help
- Topic: Add reviews JSON error 403
- Replies: 3
- Views: 2380
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(),...
- 24 Nov 2020, 09:00
- Forum: Laravel package
- Topic: add review to the product
- Replies: 3
- Views: 2749
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...