Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author PriceListo

    (@pricelisto)

    Hello @gokhan87,

    In that case you’d have to change the template file you’re using.

    For example, if you’re using the “Colorful” menu template, you would edit the following file:

    /wp-content/plugins/best-restaurant-menu-by-pricelisto/templates/func-temp/colorful.php

    Replace this:
    $item->price

    With this:
    number_format($item->price, 2, ',', '.')

    Hope that helps.

    Thread Starter gokhan87

    (@gokhan87)

    thank you for your answer

    i have in the minimialist.php only this lines with “item->price

    <div class=”brm-item-details”>
    <div class=”brm-item-name”><?php echo esc_html( stripslashes( $item->name ) ); ?></div>
    <div class=”brm-item-price”><?php echo esc_html( stripslashes ( $item->price . ‘ ‘ . $currency ) ); ?></div>
    <div class=”brm-item-description”><?php echo nl2br( esc_html( stripslashes( $item->description) ) ); ?></div>
    </div>`

    Plugin Author PriceListo

    (@pricelisto)

    @gokhan87

    Yes that follows the same logic.

    Replace this part:
    $item->price

    With this:
    number_format($item->price, 2, ',', '.')

    So that line becomes something like this:
    <div class="brm-item-price"><?php echo esc_html( stripslashes ( number_format($item->price, 2, ',', '.') . ' ' . $currency ) ); ?></div>

    Everything else should remain the same. Hope that helps. Thanks!

    • This reply was modified 3 years, 5 months ago by PriceListo.
    • This reply was modified 3 years, 5 months ago by PriceListo.
    Thread Starter gokhan87

    (@gokhan87)

    thank you

    • This reply was modified 3 years, 5 months ago by gokhan87.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Making from 14.90 € to 14,90€’ is closed to new replies.