Hi Everyone !
In the header.tpl we have those lines to connect whmcs with WP...
{php}
require('../wp-load.php');
{/php}
Well, I've s duplicated WP in a different language, and a cart that's goes to: cart.php?a=add&pid=3&language=Portuguese-br¤cy=3
So, Portuguese language, Brazilian Real Currency. The correct wp-load supposed to be: ../br/wp-load.php to make the menus , footer and any others header/footer elements matches the whmcs current content page.
I don't know how to read in the php what is the current language or currency. Any lights ?
ty !