Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ersineser

    (@ersineser)

    for testing ;
    WC settings ( /wp-admin/admin.php?page=wc-settings )
    / set Currency to Turkish Lira or Türk Liras?
    check your shop, you will not see Turkish Lira currency sign after or before price.
    it was working WC 2.1 and before.

    It is a fon issue I guess.
    As a quick-fix/turn-around;
    I tried to change that sign in the code where it defines the Turkish Liras symbol.

    woocommerce/includes/wc-core-functions.php
    line 346

    case 'TRY' : $currency_symbol = '₺'; break;

    with

    case 'TRY' : $currency_symbol = 'TL'; break;

    Basically, I delete the fonts symbol with just the “TL” characters.

    But it will be back to default after an update.

    Btw, there is a little free extension made by Woo for Turkish Liras symbol:
    WooCommerce TL Birimi
    https://www.ads-software.com/plugins/woocommerce-tl-birimi/

    It works and the symbol displays well.

    ======================================================================
    [TR]
    Font g?sterimi ile ilgili bir sorun gibi g?rünüyordu, ben de kodda ilgili sat?r? silip, de?i?tirdim.
    Bu arada, Woo’nun ücretsiz bir ilavesi var, ?imdi onu kurdum, gayet güzel ?al???yor
    ??
    ======================================================================

    Thread Starter ersineser

    (@ersineser)

    thank you Manish.
    its resolved now.

    if you add this snippet to your functions file you will get TL back. (Bu kodu eklerseniz TL olarak tekrar g?rünür olur. E?er simgeyi kullanmak istiyorsan?z arkada??n dedi?i eklentiyi kurun).

    add_filter('woocommerce_currency_symbol', 'tlyi_geri_getir', 10, 2);
    
    function tlyi_geri_getir( $currency_symbol, $currency ) {
         switch( $currency ) {
              case 'TRY': $currency_symbol = 'TL'; break;
         }
         return $currency_symbol;
    }
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Turkish Lira Currency Sign Not Shown ( Türk Liras? Simgesi )’ is closed to new replies.