I am using Magento 2.3
I have an attribute named "Test" and input type for this attribute is multiple select. I have displayed the selected values of this attribute in product detail page. Please refer below screenshot:
These are the selected attribute values in one of the products. Now I want to display them in custom format just like below screenshot:
Desired Format:
<a href="">attribute value</a>
I have set this attribute in Layered navigation as well
We all know that when we click on any attribute value in layered navigation then filter will be applied and corresponding products with the same attribute values will be shown
So I want the same functionality for the values which I have displayed in product detail page in "More Information" tab. So How can I achieve this?
It means I want to display each values as a hyperlink and when we click on any of the attribute value then I want it to work like Layered navigation that I have explained above.