cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to make clickable attribute on product details page?

0 Kudos
845

Hello colleagues!

We have goods with attributes. The task is this: these attributes must be clickable and when you click on one of the attributes, a page with all the products that contain this attribute should open, there should also be facets. Is this possible with OOTB, or if development is needed here, then what? Please, if this can be configured using backoffice, then attach screenshots with a description of which fields are responsible for this functionality. Thank you in advance! Any help would be greatly appreciated!

Accepted Solutions (0)

Answers (2)

Answers (2)

a_e_dubey
Active Participant

Hello @Oleg Zabezhanskiy

Yes it is possible to implement with some customization.

First thing is that you need to index all attribute which fulfill this requirement as facet in solr.

After this for each attribute let suppose length you need to make query form backend something like below:

/search?q=:relevance:color:RED

Above will be URL for corresponding attribute as hyperlink which will redirected to different search result page which will show all products whose color is red. And complete url will be like below.

https://localhost:9002/storefront/en/EUR/search?q=:relevance:colour:RED
0 Kudos

Hello @ a.e.dubey, thank you very much for the answer!

Did I understand correctly that we need API development? Do I need to create any WCMS pages?

a_e_dubey
Active Participant
0 Kudos

Yes , the approach suggested is totally depend on back-end so even in API it will work. Either it is wcms or any angular app which consuming API only need to add url into their respective clickable url. You need not to create any page only UI can handle after adding <a> tag or any button link.