Translate, and currency switcher probelm
-
Hello,
I bought the pro version, and I need to translate the “items” and the “your cart is empty” text to on the admin “text” panel. In php I can modify but you know it would be good on the admin panel too.
My next question is: I use the woocommerce booster plugin, and this plugin has a multi currency switcher. So I can change the price to euro, or dollar or what I want on the frontend. The problem with the cart is, if my base shop currency is for example Ft and I change to Euro and I add the product to cart, the cart show the item price in ft with the Euro symbols. For example:
The product in euro is 8, but in FT is 2590.The cart in this case looks like this:
————————
Your Shopping Cart
Subtotal: 8 € (1 items)
————————picture – Product name – 1 x 2.590 €
—————
|Subtotal: 8 € |
—————
———— ———-
|View Cart | |Checkout|
———— ———-
————————The subtotal is Ok, only the product price is the problem.
Thank you for your help.
Those cart where is ok, they use this code to get the item price:
$product_price = apply_filters( ‘woocommerce_cart_item_price’, WC()->cart->get_product_price( $_product ), $cart_item, $cart_item_key );
- The topic ‘Translate, and currency switcher probelm’ is closed to new replies.