J-B Posted May 25, 2022 Share Posted May 25, 2022 Hello, i need the variable to get the countrycode in ClientAreaPageCart. Does anyone know how to get the country in the shopping cart via a hook script? function ($vars) { if ($vars['templatefile']=='viewcart'){ ... if ($vars['viewcart']['country'] === 'Deutschland') { ... } } } add_hook("ClientAreaPageCart", 1,); 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.