10 years ago
Topic
Hi,
I've purchased the Search Ordering Plug-in Field and try add Price asc and Price desc. But get only one price option in the list.
How can I get two sorting option (asc and desc) for one field?
Get a Book for SEBLOD
5 Posts
SFG
10 years ago
0
Level 1
Hello,

I have exactly the same problem
572 Posts
_jrmo
10 years ago
2
Level 1
Hi there,

I'm not 100% sure about this, but looking at the product screen shots it looks like you have to add it twice with 2 different names. Check out this screenshot from the product page in the SEBLOD store:

http://www.seblod.com/images/medias/165/search_ordering_01.jpg

See how they have seb_item_price_eur and seb_item_price_eur_2 for the ASC and DESC options? Maybe you have to try something like that?
5 Posts
SFG
10 years ago
0
Level 2
Hello,

Thanks, you are right !
I created a new text field with the same storage (Article / Free / Field) as the one I already use in my ordering field. Then I can add it.
10 years ago
0
Level 2
Hi, _jrmo!
Thanks!
I created second field "Standart - Free" and select my table and field. It's working.
Also I changed type of original (first) price fild to int (I don't need to use cents). It need for normal number sorting, otherwise "100" will be before "50" for ASC sorting. For do this check "Alter" chekbox and select type from dropdown list.
Get a VIP membership