VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

Forum
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Rule evaluate_for_categories for non English words

Rule evaluate_for_categories for non English words 22 May 2017 17:04 #1

  • natalia
  • natalia's Avatar Topic Author
  • Offline
  • Posts: 12
I have created some rules for my categories and their working fine
the rule 1. evaluate_for_categories(Articles, "spirits")>2; NoShipping
has 3 more languages. at English and German is ok,
but at Greek and Russian where the slug of the word spirits is
with other characters, we have problem.
GR= evaluate_for_categories(Articles, "οινοπνευματώδη")>2; NoShipping
RU = evaluate_for_categories(Articles, "алкогольные-напитки")>2; NoShipping

can you suggest other solution from changing the slug of these 2 categories to "spirits" ?

Please Log in or Create an account to join the conversation.

Rule evaluate_for_categories for non English words 26 May 2017 01:50 #2

Dear Natalia,
Thank you for noticing this issue. Non-latin characters in SLUGs indeed causes problems, as WordPress stores all SLUGs as URL-encoded, while our plugin does a verbatim comparison. To make things work, we'll have to URL-decode all SLUGs first...

We'll include the fix in our upcoming version 2.0 of the plugin (which also marks the switch to WooCommerce's shipping zones). The release should happen in the next few days/week. The release candidate is almost ready...

Best regards,
Reinhold

Please Log in or Create an account to join the conversation.

  • Page:
  • 1

VM - Shopping cart

 x 

Cart empty

Login Formular