[Skip to main content](#vessel-content)

#   manufacturer with "&amp;" sign in name is not filterable

##

- **[joycehoveling](/forum/user/48862-joycehoveling "View joycehoveling's Profile")**
- [![joycehoveling's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/48862-joycehoveling "View joycehoveling's Profile") Topic Author
- [ Offline](/forum/user/48862-joycehoveling)

Less More

- Posts: 115
- Thank you received: 0
-
-

8 years 9 months ago [\#286941](#286941) by [joycehoveling](/forum/user/48862-joycehoveling "View joycehoveling's Profile")  *[manufacturer with "&amp;" sign in name is not filterable](/forum/45-filters-search/893648-manufacturer-with-sign-in-name-is-not-filterable#286941 "-- url of the page with the problem -- :   www.tweedehandjes.com  Hi,  I have 2 manufacturers/brands with an &quot;&amp;&quot; sign in the name (like H&amp;M) and it is not possible to apply the filter on this. Please check on my website (for example   www.tweedehandjes.com/meisjes.html ) and filter H&amp;M (under &quot;merk&quot; which means &quot;brand&quot; to see what I mean.  The other brands are fiIterable. Is it possible the system does not like this &quot;&amp;&quot; sign? What should I do to avoid this? Regards, Joyce")* was created by *[joycehoveling](/forum/user/48862-joycehoveling "View joycehoveling's Profile")*

-- url of the page with the problem -- : [ www.tweedehandjes.com](http://www.tweedehandjes.com)

Hi,

I have 2 manufacturers/brands with an "&amp;" sign in the name (like H&amp;M) and it is not possible to apply the filter on this.
Please check on my website (for example [ www.tweedehandjes.com/meisjes.html](https://www.tweedehandjes.com/meisjes.html)) and filter H&amp;M (under "merk" which means "brand" to see what I mean.

The other brands are fiIterable. Is it possible the system does not like this "&amp;" sign? What should I do to avoid this?
Regards,
Joyce

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5MzY0OC1tYW51ZmFjdHVyZXItd2l0aC1zaWduLWluLW5hbWUtaXMtbm90LWZpbHRlcmFibGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14320
-
-

8 years 9 months ago [\#286998](#286998) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[manufacturer with "&amp;" sign in name is not filterable](/forum/45-filters-search/893648-manufacturer-with-sign-in-name-is-not-filterable#286998 "-- url of the page with the problem -- :   www.tweedehandjes.com  Hi,  I have 2 manufacturers/brands with an &quot;&amp;&quot; sign in the name (like H&amp;M) and it is not possible to apply the filter on this. Please check on my website (for example   www.tweedehandjes.com/meisjes.html ) and filter H&amp;M (under &quot;merk&quot; which means &quot;brand&quot; to see what I mean.  The other brands are fiIterable. Is it possible the system does not like this &quot;&amp;&quot; sign? What should I do to avoid this? Regards, Joyce")*

Hi,

It indeed comes from the &amp; in the name because you have the "redirect POST mode" setting activated and thus the parameters of the filters are passed in the URL (and the &amp; in the URL are not interpreted correctly).
However, I'm not able to reproduce the issue on my end. That's because the value of brand filters are the ID of the brands, not the name.
So I don't see why it's using the name of the brand on your website. It shouldn't be possible... unless of course you're not using the brand of the product but a custom field. In that case, in your custom field, you have two field for each value:
- the value which is passed in the URL
- the title which is displayed to the user
So make sure you don't have the &amp; in the value field and it will work fine.
Or you could turn off the redirect post mode.

Also, change the line: Code:

$parameters[$name] = $_POST[$key];

to: Code:

$parameters[$name] = urlencode($_POST[$key]);

in the file components/com_hikashop/views/product/view.html.php and that should fix the issue.
We'll add the change on our end for the next release.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5MzY0OC1tYW51ZmFjdHVyZXItd2l0aC1zaWduLWluLW5hbWUtaXMtbm90LWZpbHRlcmFibGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.074 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
