Skip Navigation

[Resolved] Classifieds Reference Site – Max Price parameter doesn’t work

This thread is resolved. Here is a description of the problem and solution.

Problem:
Classifieds Reference Site - Max Price parameter doesn't work

Solution:
Please make sure that the query filters for your added max price filter is added correctly.

You can find proposed solution, in this case, with the following reply:
https://toolset.com/forums/topic/classifieds-reference-site-max-price-parameter-doesnt-work/#post-620353

Relevant Documentation:

This support ticket is created 6 years, 9 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

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

This topic contains 2 replies, has 2 voices.

Last updated by PaulS4783 6 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#620337

I am trying to:
use the custom search box created by the Parametric Ads Search View.
The site has just been installed running the standard "Classifieds" installer package for WPML.
NO MODIFICATIONS have been made to it.

Link to a page where the issue can be seen:
hidden link

I expected to see:
Cars whose price is below the "Max Price" to be displayed input filter

Instead, I got:
NO CARS were displayed!

I've looked at the Views configuration but I don't understand this:

Select items with field:
_cred_post_expiration_time is a number greater than or equal TODAY()
AND
Price is a number lower than or equal URL_PARAM(price)
AND
Price is a string equal to URL_PARAM(price)

How can the "Price" field be BOTH a number AND a string?

#620353

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - I see that the Query filter you shared is wrong here.

Could you please try to delete following query filter and try to resolve your issue - it should work:

Price is a string equal to URL_PARAM(price)
#620373

Thanks. That seems to have fixed the problem.
You should check the installer package so that other people don't contact you about the same problem.