Bassman's Posted August 12, 2013 Share Posted August 12, 2013 Hi everybody! I am developing a new theme from the existing default one. At the moment I am "fighting" with quantity value in cart block. Default value is something like 1x Product 20,00 €. I am focused on that 1x. I need to change that 1x to 1-krat (that expresses number of products in Slovenian). I have replaced every x with -krat in blockcart.tpl and ajax-cart.js but now ofcourse it is used in every language. How can I make this to depend on selected language? I have tried to get front office language with $this->context->language->iso_code; but with this line of code page stays blank and this will only work for .tpl file i guess. Any ideas on this one? Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now