Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mina888

    (@mina888)

    THANK YOU THE MOST

    Best regards!

    Thread Starter mina888

    (@mina888)

    add_filter( ‘woocommerce_currencies’, ‘add_my_currency’ );

    function add_my_currency( $currencies ) {
    $currencies[‘ABC’] = __( ‘Srpski Dinar’, ‘woocommerce’ );
    return $currencies;
    }

    add_filter(‘woocommerce_currency_symbol’, ‘add_my_currency_symbol’, 10, 2);

    function add_my_currency_symbol( $currency_symbol, $currency ) {
    switch( $currency ) {
    case ‘ABC’: $currency_symbol = ‘RSD’; break;
    }
    return $currency_symbol;
    }

    ………………….
    Hope this is good

    Thank you in advance

    Best regards!

    Thread Starter mina888

    (@mina888)

    Hi,

    saw it, even watched a step by step video.

    When i add the (adapted) code the site crushes…

    Thank you in advance for further instructions if any ideas

    Best regards

Viewing 3 replies - 1 through 3 (of 3 total)