• Resolved alexzaragoza21

    (@alexzaragoza21)


    Hello Support Team,

    Is there a way to edit the Price range field? I want to have my own custom price range information.

    Instead of that one–https://snipboard.io/cyAkoT.jpg

    I want it to be like:

    Below P1000
    Between P2000-P3000
    Above P4000
    Between P5000-P6000

    Thank you so much in advance. Hope there is a way. ??

Viewing 1 replies (of 1 total)
  • Plugin Support Rafiz Sejim

    (@rafizsejim)

    Hello @alexzaragoza21

    We are sorry for the delayed response.

    Please add the following snippet in Appearance > Theme Editor > functions.php

    function set_custom_pricerange() {
        wp_enqueue_script( 'jquery' );
    	?>
     <script>
    
    jQuery(document).ready(function($){
    
      $("option[value='skimming']").text("Below P1000");
      $("option[value='moderate']").text("Between P2000-P3000");
      $("option[value='economy']").text("Above P4000");
      $("option[value='bellow_economy']").text("Between P5000-P6000");
    
    });
    
    </script>
    <?php
    }
    add_action( 'wp_footer', 'set_custom_pricerange');

    I hope that helps.

    Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Edit Price Range Field with custom options’ is closed to new replies.