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

#   Two diffrent select field

##

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

Less More

- Posts: 85
- Thank you received: 0
-
-

10 years 3 months ago [\#247579](#247579) by [palee3](/forum/user/44227-palee3 "View palee3's Profile")  *[Two diffrent select field](/forum/32-content-creation/885996-two-diffrent-select-field#247579 "I would like to make two different select field, but I do't know how can I make the second chooser - first is a pattern selection with images (I did that) - second is a size chooser with images for some pattern  Example ACU pattern have S, M, L Marpat pattern have S, M  I made something, but I see all sizes for all pattern.")* was created by *[palee3](/forum/user/44227-palee3 "View palee3's Profile")*

I would like to make two different select field, but I do't know how can I make the second chooser
- first is a pattern selection with images (I did that)
- second is a size chooser with images for some pattern

Example
ACU pattern have S, M, L
Marpat pattern have S, M

I made something, but I see all sizes for all pattern.

- [ ![selection.png](/forum/attachment/33011) ](/forum/attachment/33011 "selection.png") [ ](/forum/attachment/33011?download=1 "selection.png")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 3 months ago [\#247599](#247599) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Two diffrent select field](/forum/32-content-creation/885996-two-diffrent-select-field#247599 "I would like to make two different select field, but I do't know how can I make the second chooser - first is a pattern selection with images (I did that) - second is a size chooser with images for some pattern  Example ACU pattern have S, M, L Marpat pattern have S, M  I made something, but I see all sizes for all pattern.")*

Hi,

I am sorry but I don't understand your message.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 85
- Thank you received: 0
-
-

10 years 2 months ago [\#248131](#248131) by [palee3](/forum/user/44227-palee3 "View palee3's Profile")  Replied by *[palee3](/forum/user/44227-palee3 "View palee3's Profile")* on topic *[Two diffrent select field](/forum/32-content-creation/885996-two-diffrent-select-field#248131 "I would like to make two different select field, but I do't know how can I make the second chooser - first is a pattern selection with images (I did that) - second is a size chooser with images for some pattern  Example ACU pattern have S, M, L Marpat pattern have S, M  I made something, but I see all sizes for all pattern.")*

I think I wrote it clearly, but sorry I write it again I hope you wull understand what I would like to make.

I have many clothes, what have two characteristics, one is the size (M, S L etc.) and the other is the pattern (ACU, Marpat etc.)

I would like to make 2 different list with images for the size and the pattern. So, the customer can choose ACU L, Marpat S etc. I made this list, and te pattern list was the main list. For the pattern list connect the size list. My problem is that for example I have Marpat S, M, L, XL and I have ACU S, M and I choose marpat, I see all the size and not only what is defined.

And one more thing. I will need to make some image action like onHover, onclick is that possible?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODg1OTk2LXR3by1kaWZmcmVudC1zZWxlY3QtZmllbGQ/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: 86575
- Thank you received: 14318
-
-

10 years 2 months ago [\#248161](#248161) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Two diffrent select field](/forum/32-content-creation/885996-two-diffrent-select-field#248161 "I would like to make two different select field, but I do't know how can I make the second chooser - first is a pattern selection with images (I did that) - second is a size chooser with images for some pattern  Example ACU pattern have S, M, L Marpat pattern have S, M  I made something, but I see all sizes for all pattern.")*

Hi,

You can do as explained here:
[ www.hikashop.com/support/documentation/2...isplay-by-color.html](https://www.hikashop.com/support/documentation/272-hikashop-display-by-color.html)
With two characteristics, you'll get one list of image for each one so that you can select among the available variants for the product.
It is normal that you can choose sizes of other paterns because the selectors have to allow you to choose the sizes for the other paterns. If a size is not used for any paterns of a product, then that size won't show.
If you want to be able to only see available variants, then you'll have to change the characteristics selector by changing the option "characteristics selection method" of the HikaShop configuration to either "list" or "table".

If you want to add actions onhover, you can edit the file "show_block_characteristic" via the menu Display&gt;Views and add your custom code in there.
[ www.hikashop.com/support/documentation/1...ize-the-display.html](https://www.hikashop.com/support/documentation/153-customize-the-display.html)

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

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

Less More

- Posts: 85
- Thank you received: 0
-
-

10 years 2 months ago [\#249043](#249043) by [palee3](/forum/user/44227-palee3 "View palee3's Profile")  Replied by *[palee3](/forum/user/44227-palee3 "View palee3's Profile")* on topic *[Two diffrent select field](/forum/32-content-creation/885996-two-diffrent-select-field#249043 "I would like to make two different select field, but I do't know how can I make the second chooser - first is a pattern selection with images (I did that) - second is a size chooser with images for some pattern  Example ACU pattern have S, M, L Marpat pattern have S, M  I made something, but I see all sizes for all pattern.")*

Hi,

Yes, once I made it. But there is a problem.

On the attached screen the first pattern have XL size, the second pattern do not have, but I see on the second pattern the XL size. I would like to hide the size of variants what are not available.

- [ ![pattern&#95;and&#95;size.png](/forum/attachment/33311) ](/forum/attachment/33311 "...n&#95;and&#95;size.png") [ ](/forum/attachment/33311?download=1 "...n&#95;and&#95;size.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODg1OTk2LXR3by1kaWZmcmVudC1zZWxlY3QtZmllbGQ/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: 86575
- Thank you received: 14318
-
-

10 years 2 months ago [\#249054](#249054) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Two diffrent select field](/forum/32-content-creation/885996-two-diffrent-select-field#249054 "I would like to make two different select field, but I do't know how can I make the second chooser - first is a pattern selection with images (I did that) - second is a size chooser with images for some pattern  Example ACU pattern have S, M, L Marpat pattern have S, M  I made something, but I see all sizes for all pattern.")*

Hi,

If HikaShop was to remove the XL size, you wouldn't be able to select it for the first pattern either.
Or it would require a dynamic display but it can get tricky when you display all the characteristics, and you have several of them, etc.
As I already explained, I have three options for you:
- You set the "characteristics selection method" setting of the HikaShop configuration to "table", and the characteristics will display as a 2d table which will only allow the customer to select available variants.
- You set that option to "list", and you'll see instead a list of the available variants.
- You edit the file "show_block_characteristic" via the menu Display&gt;Views and add custom javascript code in there to refresh the characteristics display dynamically, but beware it's not easy.

The following user(s) said Thank You: [palee3](/forum/user/44227-palee3 "View palee3's Profile")

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

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

Less More

- Posts: 85
- Thank you received: 0
-
-

10 years 2 months ago [\#249120](#249120) by [palee3](/forum/user/44227-palee3 "View palee3's Profile")  Replied by *[palee3](/forum/user/44227-palee3 "View palee3's Profile")* on topic *[Two diffrent select field](/forum/32-content-creation/885996-two-diffrent-select-field#249120 "I would like to make two different select field, but I do't know how can I make the second chooser - first is a pattern selection with images (I did that) - second is a size chooser with images for some pattern  Example ACU pattern have S, M, L Marpat pattern have S, M  I made something, but I see all sizes for all pattern.")*

Thanks. I think now is enough the "table" display setting.

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

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