Aimeons Attributes type

How to configure and adapt Aimeos based shops as developer
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!
User avatar
aimeos
Administrator
Posts: 7865
Joined: 01 Jan 1970, 00:00

Re: Aimeons Attributes type

Post by aimeos » 25 Apr 2020, 08:05

You can't prevent the JSON API to return them if you use "&include=attribute" in your request but you can filter them out in the client so they are not shown. We will see how we can filter hidden attributes in future versions
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

traiyani75
Advanced
Posts: 114
Joined: 08 Nov 2019, 11:56

Re: Aimeons Attributes type

Post by traiyani75 » 28 Apr 2020, 09:30

Ok thanks

traiyani75
Advanced
Posts: 114
Joined: 08 Nov 2019, 11:56

Re: Aimeons Attributes type

Post by traiyani75 » 29 Apr 2020, 11:48

hello,

We are good in attributes. Now, I have question related to properties. Can we filter product list using property id?

Thanks

User avatar
aimeos
Administrator
Posts: 7865
Joined: 01 Jan 1970, 00:00

Re: Aimeons Attributes type

Post by aimeos » 01 May 2020, 07:35

Yes, but using the product property ID will always return exactly one product:

Code: Select all

/jsonapi/product?filter[%3D%3D][product.property.id]=123
https://aimeos.org/docs/Developers/Clie ... the_result
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply