Skip Navigation

[Closed] Display values is used as URL parameter instead of the actual values

This support ticket is created 4 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 5 replies, has 2 voices.

Last updated by Raja Mohammed 4 years, 2 months ago.

Assisted by: Raja Mohammed.

Author
Posts
#1832027

Tell us what you are trying to do?
Browse inventory query results filter by wpcf-equipment-category using URL parameter.
The ideal if Commercial Bus is selected would be.
hidden link

Instead it goes to:
hidden link

wpv-wpcf-equipment-category values are numbers 1,2,3,4,6

For some reason, it's filtering out wpv-wpcf-equipment-category using the display value in this case "Commercial Bus", it should just set it to 2.

Is there any documentation that you are following?
No

Is there a similar example that we can see?
hidden link

#1833173

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello there,

Thanks for the access, The display style of the select option in the filter is overridden by a different plugin or theme which renders the options in dropdown format that uses only the Display value as the option value which is causing the issue.

Screenshot : hidden link

By inspecting the source it seems like the style override is coming from the theme, If there is any option in the theme settings to disable the select style give a try, If not kindly check with the theme support for further assistance.

Kind regards
Raja

#1833255

Yes, I can see what you mean.
I have looked on the theme settings and nothing to disable with the override. I will try their support and see what they suggest. Please don't close the ticket.

#1833971

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Thanks for your understanding,

Kindly note that the ticket will be automatically closed if there is no reply for more than a week.
In case if the ticket is closed and you need further assistance, you can open a new ticket referring to this thread, We will be happy to help you.

#1837105

HI Raja,

We're not getting any response from the theme developer yet.
I wonder if there's anything we can tweak on the plugin side so it doesn't get affected by the theme?

Thanks

#1838363

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I am afraid there nothing can be done from our end, Since the styles are loaded on the fly please try the Javascript snippet that might help , However you might have to add some styling to the drop down to make it look better

The code hides the override done by the theme , Try adding the Snippet the the theme option js section or you can also add that in the view custom js section

(function($) {
    // here $ would be point to jQuery object
    $(document).ready(function() {
        $('.stm_select').removeClass('stm_select') ;
        $('.stm-select__val, .stm_select__dropdown').hide();
    });
})(jQuery);

Regards
Raja

The topic ‘[Closed] Display values is used as URL parameter instead of the actual values’ is closed to new replies.