[Woocommerce] Fix not adding items to cart for Vietnamese language

During the recent update of the version of Woocommerce, I saw a lot of you posting questions on hoidap.TechtipsNReview.com about the error of not being able to add items to the cart if the auto-redirect feature to the cart page is enabled when using Vietnamese language.

After many times of searching for a solution, I was also answered by WooThemes and pointed out the error here.

As the author replied, the problem is with the string “%s has been added to your cart” is translated into Vietnamese. And when there are Vietnamese characters here, it accidentally conflicts with the feature to remove special characters inside. this code. Besides, it’s also due to a translation error that they lack words s in the character pair %s.

Therefore, while waiting for Woocommerce to issue a patch, if you want to fix this error, simply edit the Vietnamese string of the word.

[Woocommerce]  Fix not adding items to cart for Vietnamese language 15

The way to do it is to install the plugin Loco Translate enter. Then go to Loco Translate -> Manage translations and find the Vietnamese language of Woocommerce.

fix-woocommerce-cart-01

Then find the string “added to your cart” then select string “%s has been added to your cart” and change it to “%s has been added to cart

fix-woocommerce-cart-02Finally, press the Save button at the top and finish.

[Woocommerce]  Fix not adding items to cart for Vietnamese language 15

Good luck.

Rate this content


Source: [Woocommerce] Fix not adding items to cart for Vietnamese language
– TechtipsnReview

, , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *