Author Topic: custom field list order and filter  (Read 625 times)

Dask

  • Beginner
  • *
  • Posts: 2
  • A beginner
custom field list order and filter
« on: November 16, 2018, 23:00:22 pm »
Hello together,

I created a custom field with type "string" so that I can have a list for the attr "size" like "50; 56; 62; 68; 74; 80; 86; ... 140+; >140".
Issue:
In the frontend the order /sorting of the drop down list is total mixed up in the search dropdown list (searchable = 1) like
86
80
74
92
98
116
 >140
128
134
122
+140
62
68
104
110
140


In the backend, when I am creating a new product and choose the size for the product from the dropdown list by the custom fields, everything is fine. there is the right sorting list.
So, how can I fix this issue?

Thanks for helping me.
Marcus


Dask

  • Beginner
  • *
  • Posts: 2
  • A beginner
Re: custom field list order and filter
« Reply #1 on: December 03, 2018, 23:00:12 pm »
so, no answer yet :)
But I also have another strange thing. The values of the list are not they should be.
See the screenshot I made.
Is this a bug or a feature?

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3430
  • using Matomo instead of Google Analytics
Re: custom field list order and filter
« Reply #2 on: December 24, 2018, 11:41:35 am »
I think you should use the 'Multi Variant' custom field type for your purpose. Example screenshot below.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

fpttelecom

  • Beginner
  • *
  • Posts: 1
  • Run and run or die
    • kientrucac.com
  • Skype Name: kientrucac
  • VirtueMart Version: 2.5
Re: custom field list order and filter
« Reply #3 on: December 24, 2018, 21:14:59 pm »
i not custom field please help
Spam links removed