bilten Posted October 12, 2016 Share Posted October 12, 2016 On my topic now when you go to the product page of obviously something wrong. I read that should be the basis to show products in a grid. On my stre is alwys first list. Client is angry because he wants to be first displayed grid. Switching between views is working okay.How to fix the products basically no grid sheet.In the configuration theme i dont have that. were is set that.how i could fix that in tpl file TX Link to comment Share on other sites More sharing options...
roja45 Posted October 12, 2016 Share Posted October 12, 2016 I don't think you can do that from the template. In global.js, search for function bindGrid() This line defaults it to list when it finds no other value, i.e. first time you browse if (!view && (typeof displayList != 'undefined') && displayList) view = 'list'; change it to 'grid' global.js is specific to the theme, if you have a third party theme it;s possible not of this is ture. and tell your client not to get so angry about such things... Link to comment Share on other sites More sharing options...
bilten Posted October 12, 2016 Author Share Posted October 12, 2016 yes not help much dont have global.js ok i search all java script and not find that or similar function some were on other js file i also try to copy globla from defoult theme and chaenge tihsi all same ok tx for help 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