Home Forums Basel support forum Price widget problem

Price widget problem

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #19145

    Lightform
    Participant

    Hello
    The price filter widget shows the prices like this: 20.00 – 30.00, 30.00 – 40.00 etc.
    The client has set the prices in the form of 19.90, 29.90 etc and he would like to have the prices in the widget to appear like this.
    Any idea how we can achieve this?

    Screenshot: http://prntscr.com/gjqp0m

    Thanks

    #19151

    Artem Temos
    Keymaster

    Hello,

    The price filter generates links automatically based on the products displayed on the page. And it may need additional code customization to change their values. You can check it in the file inc/widgets/class-widget-price-filter.php. Method name – generate_price_links.

    Regards

    #20171

    Lightform
    Participant

    Hello Again.
    Can you please provide the code we have to change;

    Also for some reason the filter displays up to 80-120 prices as filters though we have shoes which are above this price range ( 140,00 ).

    The filter should show a link for 120+ range f prices for the shoes right? This though is not happening.

    Please see the screenshot.
    http://prntscr.com/gpgq7o

    Thanks!

    #20187

    Artem Temos
    Keymaster

    Hi,

    Could you please provide us your admin and FTP access so we can see what is wrong with the filter?

    Regards

    #20216

    Lightform
    Participant

    Here you go
    Kind Regards
    Stratos

    #20228

    Artem Temos
    Keymaster

    We need your admin access too.

    #20233

    Lightform
    Participant

    Sure. Here you go.

    #20234

    Artem Temos
    Keymaster

    OK, we made changes in the file basel/inc/widgets/class-widget-price-filter.php and you will need to keep this file untouched on theme update since you don’t have a child theme installed.

    #20242

    Lightform
    Participant

    Hello and thanks for your awesome help.

    One question.

    If we install the Child theme we just have to copy this file in order to be able to preserve the changes during updates correct ?

    Thanks again

    #20243

    Artem Temos
    Keymaster

    No, it may need additional work to override it in the child theme. Just contact us and we will help you.

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