cancel
Showing results for 
Search instead for 
Did you mean: 

Question about catalgosearch result

Question about catalgosearch result

I have a atrribute name sizexl.
on the sizexl have this option:
145,150,155,160,165,... that is the name label, but on the value (optionid) is 15,16,17,18,19,...
When I go to frontend I search the sizexl, I put this .com/catalgosearch/result/?sizexl=150
not showme result, but when I put this /?sizexl=16 yes desplay the result.

How can accepting the filter the name label, where can change code or edit code.
I want display the result with .com/catalgosearch/result/?sizexl=150

Thanks!!

3 REPLIES

Re: Question about catalgosearch result

Hi @elizondo82

 

AKAIK - search results always display/gives attributes  values ! To get the labels is i think not good idea as its always helps in SEO so.

 

Anyways here i am sharing the link , that might helps you - https://magento.stackexchange.com/questions/162727/how-to-get-all-attribute-value-and-label-of-a-chi...

 

 

if issue solved,Click Kudos & Accept as Solution

Re: Question about catalgosearch result

Hello @ManthanDave, Thanks for you request.
I don't understand where can edit.  so need change from code/mage/catalogsearch/model/layer.php or advanced.php

Thanks!!

Re: Question about catalgosearch result

AKAIK for general search you need to change it from layer.php file ..

that might work for you !
if issue solved,Click Kudos & Accept as Solution