WPML / Woocommerce Code Hack Fix
-
Hi,
I love the plugin but was having a lot of problems with integrating it with Woocommerce and WPML.
The reason is the SQL query for the products is totally wrong. If you dont use a WordPress query the WPML filter wont take effect and you will receive mixed language results.
I hacked at the code and it works perfectly now although not in an elegant way.
If anyone can find any use for my hacked code I am displaying it…
A lot of variables are hard programmed so change the code if you want it to work with your WPML / Woocommerce website…
[Large code excerpt removed by moderator per forum rules. Please use the pastebin for all large code excerpts. It works better anyway.]
The topic ‘WPML / Woocommerce Code Hack Fix’ is closed to new replies.