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

#   How do you create an Alpha Index for filtering?

##

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

Less More

- Posts: 53
- Thank you received: 2
-
-

14 years 2 months ago [\#63151](#63151) by [doogledesign](/forum/user/7753-doogledesign "View doogledesign's Profile")  *[How do you create an Alpha Index for filtering?](/forum/4-how-to/63151-how-do-you-create-an-alpha-index-for-filtering#63151 "I would like to create an alpha index for filtering products. See the attached image.  What would be the steps needed to create this?")* was created by *[doogledesign](/forum/user/7753-doogledesign "View doogledesign's Profile")*

I would like to create an alpha index for filtering products. See the attached image.

What would be the steps needed to create this?

- [ ![alpha&#95;index.jpg](/forum/attachment/5492) ](/forum/attachment/5492 "alpha&#95;index.jpg") [ ](/forum/attachment/5492?download=1 "alpha&#95;index.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzYzMTUxLWhvdy1kby15b3UtY3JlYXRlLWFuLWFscGhhLWluZGV4LWZvci1maWx0ZXJpbmc/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: 86581
- Thank you received: 14322
-
-

14 years 2 months ago [\#63378](#63378) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How do you create an Alpha Index for filtering?](/forum/4-how-to/63151-how-do-you-create-an-alpha-index-for-filtering#63378 "I would like to create an alpha index for filtering products. See the attached image.  What would be the steps needed to create this?")*

Hi,

You would need to create a custom field of the table "product" and of the type "dropdown" with one value per letter.
Then, in each product you would have to set that value.
Then, create a filter of the type "list" applied on that custom field and it will display a list of links with one value per value of the custom field on your products listings.
The only thing is that it will have one value per line, so you will need a piece of CSS to have them display on one line. Nothing complicated.

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

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

Less More

- Posts: 53
- Thank you received: 2
-
-

14 years 2 months ago [\#63398](#63398) by [doogledesign](/forum/user/7753-doogledesign "View doogledesign's Profile")  Replied by *[doogledesign](/forum/user/7753-doogledesign "View doogledesign's Profile")* on topic *[Re: How do you create an Alpha Index for filtering?](/forum/4-how-to/63151-how-do-you-create-an-alpha-index-for-filtering#63398 "I would like to create an alpha index for filtering products. See the attached image.  What would be the steps needed to create this?")*

Thanks so much Nicolas. I have gotten the filter displaying on value per line, now I am trying to find where to modify the css. There is a class created, but I am thinking it would be better to make each letter part of a list and style the list accordingly. Also, any suggestions on how to make the filter display on one line as opposed to a list?

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

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

Less More

- Posts: 53
- Thank you received: 2
-
-

14 years 2 months ago [\#63445](#63445) by [doogledesign](/forum/user/7753-doogledesign "View doogledesign's Profile")  Replied by *[doogledesign](/forum/user/7753-doogledesign "View doogledesign's Profile")* on topic *[Re: How do you create an Alpha Index for filtering?](/forum/4-how-to/63151-how-do-you-create-an-alpha-index-for-filtering#63445 "I would like to create an alpha index for filtering products. See the attached image.  What would be the steps needed to create this?")*

Nevermind. I found the file in question:

administrator/components/com_hikashop/classes/filter.php

The main culprit was the &lt;/br&gt;. After I deleted that from the filter I had no more issues.

Thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzYzMTUxLWhvdy1kby15b3UtY3JlYXRlLWFuLWFscGhhLWluZGV4LWZvci1maWx0ZXJpbmc/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: 86581
- Thank you received: 14322
-
-

14 years 2 months ago [\#63453](#63453) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How do you create an Alpha Index for filtering?](/forum/4-how-to/63151-how-do-you-create-an-alpha-index-for-filtering#63453 "I would like to create an alpha index for filtering products. See the attached image.  What would be the steps needed to create this?")*

You should do that with CSS, like that:

.hikashop_filter_main_div br{ display:none; }

That way, you won't have to do it each time you update HikaShop.

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

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

Less More

- Posts: 53
- Thank you received: 2
-
-

14 years 2 months ago [\#63548](#63548) by [doogledesign](/forum/user/7753-doogledesign "View doogledesign's Profile")  Replied by *[doogledesign](/forum/user/7753-doogledesign "View doogledesign's Profile")* on topic *[Re: How do you create an Alpha Index for filtering?](/forum/4-how-to/63151-how-do-you-create-an-alpha-index-for-filtering#63548 "I would like to create an alpha index for filtering products. See the attached image.  What would be the steps needed to create this?")*

Good point.

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

- **[phamosa](/forum/user/7861-phamosa "View phamosa's Profile")**
- [![phamosa's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/guitar.gif)](/forum/user/7861-phamosa "View phamosa's Profile")
- [ Offline](/forum/user/7861-phamosa)

Less More

- Posts: 65
- Thank you received: 0
-
-

14 years 1 month ago [\#70581](#70581) by [phamosa](/forum/user/7861-phamosa "View phamosa's Profile")  Replied by *[phamosa](/forum/user/7861-phamosa "View phamosa's Profile")* on topic *[Re: How do you create an Alpha Index for filtering?](/forum/4-how-to/63151-how-do-you-create-an-alpha-index-for-filtering#70581 "I would like to create an alpha index for filtering products. See the attached image.  What would be the steps needed to create this?")*

Hi Nicolas, could you help me?
I have the same request but your explanations are not enough for me.. could you explain some more details on how I have to set up the custom field and the custom filter? There are so many options..
In the filter for example, I can only refer to "custom field" in general but not to the actual alpha index custom field that I created..

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzYzMTUxLWhvdy1kby15b3UtY3JlYXRlLWFuLWFscGhhLWluZGV4LWZvci1maWx0ZXJpbmc/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: 86581
- Thank you received: 14322
-
-

14 years 1 month ago [\#70694](#70694) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How do you create an Alpha Index for filtering?](/forum/4-how-to/63151-how-do-you-create-an-alpha-index-for-filtering#70694 "I would like to create an alpha index for filtering products. See the attached image.  What would be the steps needed to create this?")*

Hi,

If you set the "apply on" option of the filter to "custom field", you will then see a dropdown with the list of your custom fields of the table "product". If you don't see yours there, it means that you didn't configure it properly.

If you could post screenshots of your custom field/filter, we could tell you what is wrong.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzYzMTUxLWhvdy1kby15b3UtY3JlYXRlLWFuLWFscGhhLWluZGV4LWZvci1maWx0ZXJpbmc/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.061 seconds

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