Forum Replies Created

Viewing 5 replies - 76 through 80 (of 80 total)
  • Thread Starter Arvind

    (@arvindwp)

    Okay, got it!
    Updated Parent Theme and it got fixed!
    Thanks

    Thread Starter Arvind

    (@arvindwp)

    Noted Jan, For future as well. Didn’t know.

    Good!

    Thanks Bas, It is perfect now…
    (I have also been able to fix that header information already sent..– issue…)
    Regards,
    Arvind

    Me too having this trouble: INR symbol not showing.

    Also, messed up with theme once I used some editing in function . php as detailed below. The output is all like this:
    —————–
    Warning: Cannot modify header information – headers already sent by (output started at /home/dishu1/public_html/wp-content/themes/wp-forge/functions.php:835) in /home/dishu1/public_html/wp-content/plugins/opentickets-community-edition/opentickets.php on line 1010

    Warning: Cannot modify header information – headers already sent by (output started at /home/dishu1/public_html/wp-content/themes/wp-forge/functions.php:835) in /home/dishu1/public_html/wp-content/plugins/opentickets-community-edition/opentickets.php on line 1011

    Warning: Cannot modify header information – headers already sent by (output started at /home/dishu1/public_html/wp-content/themes/wp-forge/functions.php:835) in /home/dishu1/public_html/wp-content/plugins/opentickets-community-edition/opentickets.php on line 1012

    Warning: Cannot modify header information – headers already sent by (output started at /home/dishu1/public_html/wp-content/themes/wp-forge/functions.php:835) in /home/dishu1/public_html/wp-content/plugins/opentickets-community-edition/inc/core/my-account-takeover.class.php on line 84
    —————–

    Code that I added (from this forum discussion)
    —————-
    add_filter( ‘woocommerce_currencies’, ‘add_inr_currency’ );
    add_filter( ‘woocommerce_currency_symbol’, ‘add_inr_currency_symbol’ );

    function add_inr_currency( $currencies ) {
    $currencies[‘INR’] = ‘INR’;
    return $currencies;
    }

    function add_inr_currency_symbol( $symbol ) {
    $currency = get_option( ‘woocommerce_currency’ );
    switch( $currency ) {
    case ‘INR’: $symbol = ‘Rs.’; break;
    }
    return $symbol;
    }

    ———————–

    Please guide…

    Regards

    Arvind

Viewing 5 replies - 76 through 80 (of 80 total)