Support only during business hours : Monday to friday, from 8:30 am – 5:30 pm CEST

Due to the decrease in our staff due to vacations, our response time may be longer.

Be sure we're doing our best to manage your topic as soon as possible.

Price x profile field

This topic is resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • alex
    Participant
    • 81 Topics
    • 259 Posts
    @abourne

    Do you have suggestions on how to use a price field $00.00 for example. Not as a ‘range’ or as a ‘decimal’ but a field which utilises the number pad and not the standard qwerty keyboard on devices.

    Small request, but have been wondering about it 🙂

    Themosaurus
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 1675 Posts
    @themosaurus

    Hi @abourne,

    As BP Profile Search uses the type selected for your XProfile field to create its search filters, it seems best to use the “Number” field type. It will allow you to create a BP Profile Search filter with a “ranging from… to…” type of mechanism. Usually, it’s the way price values are used on e-commmerce website or on freelancer hiring websites.

    To display your price field as a currency, you could consider using one of the following jQuery plugin to format your input values:
    https://github.com/igorescobar/jQuery-Mask-Plugin
    https://github.com/RobinHerbots/Inputmask

    In the event that you wish to write a jQuery snippet for your website, please use the following code template:

    function gwangi_custom_jquery_script() {
    ?>
        <script type="text/javascript">
            (function($) {
              // Paste jQuery code here...
            })(jQuery);
        </script>
    <?php
    }
    add_action( 'wp_footer', 'gwangi_custom_jquery_script', 1000 );

    You can add your code snippet using Code Snippets (https://wordpress.org/plugins/code-snippets/), like you did previously.

    It should do the trick. ?

    Regards,

    alex
    Participant
    • 81 Topics
    • 259 Posts
    @abourne

    Applied your ‘range’ solution.

    No text input appears on home search text fields when being entered.

    It is set to ‘range’. When enter text, nothing shows. But when press search button, it applies the filter.

    Why does no text appear when typing, but result as an applied filter?

    Is it cause no members have a set price range within the subject entered price? Or is something else broken.

    Please help.

    Themosaurus
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 1675 Posts
    @themosaurus

    Hi @abourne,

    If we’re not mistaken, the Range controls from BP Profile Search are simple text fields that will receive user inputs. BP Profile Search is not building its controls by selecting the price values registered by your members.

    Maybe, an option that you’ve been missing exists. It’s best to ask to the plugin author for further help.

    Otherwise, changing the way these controls are built will require custom development if you wish to enhance user experience.

    Regards,

    alex
    Participant
    • 81 Topics
    • 259 Posts
    @abourne

    Thanks, makes perfect sense. Will just use as adv serch filter and not home page filter.

    Themosaurus
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 1675 Posts
    @themosaurus

    OK, seems fine that way too. ?

    Yours,

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Price x profile field’ is closed to new replies.

Troubleshooting Demo Imports

You're trying to setup your theme but you're experiencing errors when importing the demo content? Or you've just followed the setup guide but your website doesn't look exactly like our demo? These are common issues for which you can find easy and quick fixes.

Happy With our Support So Far?

Feel free to review our theme on Themeforest! It helps us making our products more known to new potential customers, which allow us more time to improve the quality and develop new features. #SharingIsCaring ❤️

Discover MatchPress

Skip • Like • Super-Like

Add powerful matching features like Member likes, skips, super likes, conditional private messaging and much more.

Setup Your Cera or Gwangi powered Community Website and Turn it into an iOS and Android App

15% discount for Cera users

To unleash the full power of your Cera or Gwangi theme, we have partnered with the Zipline team. Your community website can now be fully setup and turned into your very own custom app for iOS and Android.

Whether you've newly acquired the theme or already got your site up and running, Zipline got you covered. And we got you an incredible discount.

Holiday, Weather & Festive effects
to pimp your WordPress Site