문제

I\\’m having an issue in my store website.. whenever users perform a search, the search suggestions include some special characters something like
 , £, etc i guess the search engine does not convert above mentioned keywords into symbolic characters. How do i fix the issue? Please refer to the attached screen shot. Thanks in advance.

I'm using Magento 1.5

Screen Shot

도움이 되었습니까?

해결책

Managed to find the solution.. The problem was i was using $this->htmlEscape(strip_tags($_product->getShortDescription())) to populate the date for the search suggestion.. i just wrapped it with the function html_entity_decode() as it allows ASCII values to be visible in a symbolic view. So my final code was html_entity_decode($this->htmlEscape((strip_tags($_product->getShortDescription())))) to fix the issue.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top