[OFFER ALERT!] This Halloween, Get Any Premium Theme for Just $19 [GET IT NOW]
Jump to content

[WooCart] Turkish Shopping And Currency


Recommended Posts

Hi there,

 

Your system seems amazing. Thats really great. I just want to learn about shopping templates. We're from Turkey and our currency is "TL". What about the themes or plugins to make selling without problem with your great themes?

 

Of course we must test something but i just want to learn about that you ever made any translating or currency works before.

 

Thanks for this great community.

Link to comment
Share on other sites

  • 3 weeks later...

I'm Albanian and our Currency is Lek with the symbol L is not listet on the woo commerce. 
I have this filter that I used with my previous theme and worked fine but I dont know where to put it on my woo cart theme

the filter is 

add_filter( 'woocommerce_currencies', 'add_my_currency' );
 
function add_my_currency( $currencies ) {
     $currencies['ABC'] = __( 'Albanian Lek', '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 = 'L'; break;
     }
     return $currency_symbol;
}
 
Thank you
Link to comment
Share on other sites

  • Support

Hello,

 

The code you have provided can be added in the functions.php file at the end, before ?> if that line exists at the end. If you need further assistance, kindly create a separate thread and we'll accommodate you from there.

 

Thank you.


🏁Rank #1 on Google With our WordPress SEO Plugin.

Score a 💯on PageSpeed and Dominate Search Rankings.

✏ Editing theme files? Please create a child theme to make your changes update-proof.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...