WordPress.org

Forums

Currencyr
currency converter (1 post)

  1. nirat
    Member
    Posted 9 months ago #

    hello
    i am using this plugin
    i want to show Indian price under united states price.i have tried to do like this:
    <?php
    $order_total = $product->get_price_html();
    $amount = str_replace("$", "", $order_total);
    echo currencyr_exchange( array( 'amount' =>'$amount', 'to' => 'inr' ) );
    ?>
    but shows 0.00 at this page:http://pridetrend.com/?product=yellow-georgette-party-wear-saree
    tell me right way to show indian price .
    thank you

    https://wordpress.org/plugins/currencyr/

Reply

You must log in to post.

About this Plugin

About this Topic