Home Forums Theme Support Dokan Price 0

This topic is: resolved

This topic contains 6 replies, has 3 voices, and was last updated by  Sk 4 years, 5 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #32877

    Corrado
    Member
    Post count: 14

    Hallo, when I leave blank the price field in the website I read GRATIS. How can I found this word? I would change with PRICE ON REQUEST.

    Thank you very much

    #32882

    towhid
    Participant
    Post count: 4505

    Hello Corrado,

    I did not understand your question. Can you please send me a screenshot with elaborate more. I am here to help you.

    Thank You ๐Ÿ™‚

    #32885

    Corrado
    Member
    Post count: 14

    Here the screenshot, I would to change Gratis with another phrase (like
    Price on request).
    Thank you

    Il 23/12/2014 12:55, weDevs Team ha scritto:

    Mirza Twhidul Imran wrote:

    Hello Corrado,

    I did not understand your question. Can you please send me a screenshot with
    elaborate more. I am here to help you.

    Thank You :)

    #32887

    towhid
    Participant
    Post count: 4505

    Hello Corrado,

    Please allow me some time to reproduce this issue. Hope I will be back to you with a right solution.

    Thank You ๐Ÿ™‚

    #32888

    towhid
    Participant
    Post count: 4505

    Hello Corrado,

    Please create a child theme and paste below code to functions.php file.

    add_filter( 'woocommerce_free_price_html', 'dokan_free_price', 2, 10 );
    function dokan_free_price ( $price, $this ) {
        $price = __( 'Price in request', 'woocommerce' );
        return $price;
    }

    Let me know the result.

    Thank You ๐Ÿ™‚

    #32945

    Corrado
    Member
    Post count: 14

    Something is wrong.

    Il 23/12/2014 13:36, weDevs Team ha scritto:

    `add_filter( ‘woocommerce_free_price_html', ‘dokan_free_price', 2, 10 );
    function dokan_free_price ( $price, $this ) {
    $price = __( ‘Price in request', ‘woocommerce' );
    return $price;
    }`

    #32958

    Sk
    Moderator
    Post count: 371

    Hello Corrado,
    Please try the following code:
    [php]
    add_filter( ‘woocommerce_free_price_html', ‘dokan_free_price', 10, 2 );
    function dokan_free_price ( $price, $this ) {
    $price = __( ‘Price in request', ‘woocommerce' );
    return $price;
    }
    [/php]

    Thank you… ๐Ÿ™‚

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

The topic ‘Price 0’ is closed to new replies.