adibranch Posted October 22, 2013 Share Posted October 22, 2013 (edited) anyone know the check to see which multistore iis being used in a template? Ie in checkout, I want to hide the 'extra comments' box, but only in one of the multistores (they both use the same template). Edited October 25, 2013 by adibranch (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted October 22, 2013 Share Posted October 22, 2013 you can use variable in php hook function: $this->context->shop->id Link to comment Share on other sites More sharing options...
adibranch Posted October 22, 2013 Author Share Posted October 22, 2013 thanks, but ideally I want something that can be put in a tpl file, to save messing about with core files. Link to comment Share on other sites More sharing options...
vekia Posted October 22, 2013 Share Posted October 22, 2013 i use {$cart->id_shop} usually - this variable returns shop id Link to comment Share on other sites More sharing options...
adibranch Posted October 25, 2013 Author Share Posted October 25, 2013 that works fine, thanks Link to comment Share on other sites More sharing options...
Recommended Posts