Favorite list
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!
-
- Advanced
- Posts: 114
- Joined: 08 Nov 2019, 11:56
Re: Favorite list
Very well. Please update me pls whenever its done
Re: Favorite list
How to manage favorite and watched products (as well as other relations) is now documented here:
https://github.com/aimeos/aimeos-docs/b ... lations.md
The generated docs from that source will look nicer but in the meantime this should help to get it implemented.
https://github.com/aimeos/aimeos-docs/b ... lations.md
The generated docs from that source will look nicer but in the meantime this should help to get it implemented.
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
-
- Advanced
- Posts: 114
- Joined: 08 Nov 2019, 11:56
Re: Favorite list
Thank you, I checked it.
For my case, when we call customer end points, we are not getting link for relationships. It is returning following links only
And when I tried to call API to add relationships for favorite product like this
http://ebdaa-ecommerce-beta.mzadqatar.c ... de=product
So, Only issue is that relationships link is not coming into customer endpoint.
Questions
How do I add extra information of product along with product id?
Also Will these relationships support localization?
Thanks
For my case, when we call customer end points, we are not getting link for relationships. It is returning following links only
."links": {
"self": "http://ebdaa-ecommerce-beta.mzadqatar.c ... mer?id=323",
"customer/address": {
"href": "http://ebdaa-ecommerce-beta.mzadqatar.c ... ed=address",
"allow": [
"GET",
"POST"
]
}
},
And when I tried to call API to add relationships for favorite product like this
It is added relation with customer, which I can see when I call get request on relationships api: below oneAPI : http://ebdaa-ecommerce-beta.mzadqatar.c ... ationships
request : {"data": [{ "attributes": { "customer.lists.domain": "product", "customer.lists.type": "favorite", "customer.lists.refid": "9", "customer.lists.datestart": null, "customer.lists.dateend": null, "customer.lists.config": {}, "customer.lists.position": 0, "customer.lists.status": 1 } }]}
http://ebdaa-ecommerce-beta.mzadqatar.c ... de=product
So, Only issue is that relationships link is not coming into customer endpoint.
Questions
How do I add extra information of product along with product id?
Also Will these relationships support localization?
Thanks
-
- Advanced
- Posts: 114
- Joined: 08 Nov 2019, 11:56
Re: Favorite list
Hello guys, Do we have any update?
Re: Favorite list
This is only available in dev-master and and the latest 2020.07.x-dev branch yet.traiyani75 wrote: ↑18 Aug 2020, 05:16 So, Only issue is that relationships link is not coming into customer endpoint.
You can add arbitrary information in the "customer.lists.config" object.traiyani75 wrote: ↑18 Aug 2020, 05:16 How do I add extra information of product along with product id?
The relationships itself doesn't contain any localized information and you should not write any localized strings into the config field. You can add key/value pairs to the config and translate the keys and values in the frontend or you store the localized strings and product texts.
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