This topic has 16 replies, 2 voices, and was last updated 6 years, 5 months ago ago by Rose Tyler
Hi,
When the cart is empty the sentence is not translated : “YOUR CART IS CURRENTLY EMPTY”
I am using WPML plugin and when I go for translations, the system seems to propose the auto translated sentence, but it doesn’t work. So I fill in mine, but it doesn’t work either…
Any idea ?
As a follow up to my above questions.
I went to Theme options >> Shop and checked that the cart sentence is written there. But this section only accepts one language. I cannot show the same sentence in 2 languages.
If I delete this sentence then no message appears in the front end.
Hello,
Go to WPML > String translation and a list of the strings in the theme will be available. Choose the string you need to translate and select the translation link to add translations to languages.
Regards
Thanks for your response.
I already followed the steps you shared and still it didn’t translate the text. Kindly check the screenshot here – https://www.dropbox.com/s/7ocde7i2zzn7df6/image003.jpg?dl=0.
The text highlighted in yellow is the translation suggested by WPML plugin. This translation didn’t work so I added my own translation which didn’t show either.
Could you, please, provide temporary wp-admin access in the Private Content area so we can take a closer look?
Regards
Hi,
I have added the details below:
Hello,
The credentials to wp-admin panel are incorrect. Please check them.
Regards
My apologies. I have added the correct details now.
Thanks. Please provide temporary FTP access also.
Regards
Kindly refer to the details below:
Hello,
We’ve removed
<h2>Your cart is currently empty</h2>
<p>You have not added any items in your shopping cart</p>
from Theme Options, and added a little customization in your child theme (woocommerce/cart/cart-empty.php and functions.php files).
Now the text loads from woocommerce – http://prntscr.com/jxgvm5
You can also add this code in custom css
.empty-cart-block i {
margin-bottom: 10px;
}
Regards
Thanks Ross. I appreciate all the help
You’re welcome!
Regards
Hi Rose,
There’s a new issue which has come.
I added a product in the cart and when I clicked checkout, it says the shopping cart is empty. https://www.dropbox.com/s/3m2lfq2zl7ikjxp/shoppint-cart.jpeg?dl=0
Kindly ignore, I’ll share the above concern in a separate thread.
Hello,
Ok.
Regards
You must be logged in to reply to this topic.Log in/Sign up