Home Forums WoodMart support forum Price From – To dash char

Price From – To dash char

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #680663

    Besir
    Participant

    Hi dears,
    Good day,

    When I enabled ‘Hide “to” price’ option , the dash between From and To still showing on product cards,
    Im sure it wasnt like this in previouse verison , could you please check ,\

    Screenshot attached

    Thanks and regards

    Attachments:
    You must be logged in to view attached files.
    #680672

    Hello,

    I have tested this on our test site, and the option is working as expected without leaving a dash. To investigate further, could you please share your WordPress login details so I can check the issue directly on your website?

    Best Regards

    #680679

    Besir
    Participant

    Hi ,
    Thank you for your reply,

    it is really strange , I have WoodMart 7.6 on one of my stagings and the price is showing without dash !
    My wooocommerce versions is 9.7.1

    I was able to fix the problem using the following snippet ,

    add_filter( 'woocommerce_format_price_range', function( $price, $from, $to ) {
        return wc_price( $from ) . ' ' . wc_price( $to );
    }, 10, 3 );
    #680681

    Hello,

    Please try to update the new version of the theme “WOODMART WordPress NEW: 8.2.7 RELEASED”, update the required plugin, and check the issue: https://xtemos.com/docs-topic/update-the-theme/

    If the issue still remains with the latest version, share the wp logins of your staging site so i will further check on your site and give you a possible solution.

    Best Regards

    #680682

    Besir
    Participant

    Hi ,

    Actually the problem is on the latest update of woodmart and wordpress,
    On older version of WoodMart there is no problem,
    It might be related to Woocommerce version , I have to test

    Thanks and regards,

    #680782

    Hello,

    We haven’t noticed this issue on our test environment with the latest versions of WoodMart, WordPress, and WooCommerce. Since you mentioned it was not present in older versions, it could indeed be related to a compatibility change introduced in recent updates.

    Feel free to test the issue and if you have any questions related to the theme feel free to contact us.

    Best Regards

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