Jsonapi delete basket service (delivery)
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Jsonapi delete basket service (delivery)
I trying to delete basket service delivery using jsonapi but service delivery still shown on the response. But when i delete basket service payment, the service payment deleted successfully.
- Attachments
-
- image_2022-06-02_165857431.png (65.99 KiB) Viewed 1608 times
Re: Jsonapi delete basket service (delivery)
The service delivery item is automatically added again by the Autofill plugin (Setup > Plugins in admin backend) when the basket content changes, even after you delete the service delivery item. The Autofill plugin adds the first shipping option that is valid for the basket content. If you don't want that behavior, you can disable the Autofill plugin in the admin backend.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Jsonapi delete basket service (delivery)
Owh i got it. Thanks for your help
Re: Jsonapi add basket product
I also want to ask this response error.. when add product id 12 - 17 to basket using jsonapi.. why is not allowed
- Attachments
-
- product.png (69.49 KiB) Viewed 1589 times
-
- image_2022-06-02_210345794.png (50.95 KiB) Viewed 1589 times
Re: Jsonapi delete basket service (delivery)
The error occurs if a product isn't added to a category and therefore can't be bought:
https://github.com/aimeos/ai-controller ... ry.php#L53
https://github.com/aimeos/ai-controller ... ry.php#L53
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Jsonapi delete basket service (delivery)
the products were added to the default by default but still not allowed.
- Attachments
-
- Opera Snapshot_2022-06-11_091918_localhost.png (221.56 KiB) Viewed 1529 times
Re: Jsonapi delete basket service (delivery)
I think we've found the problem. Can you please execute and test again:
Code: Select all
composer req aimeos/ai-client-jsonapi:2022.04.x-dev
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Jsonapi delete basket service (delivery)
Thanks. its works