more commerce settings

This commit is contained in:
2019-10-07 20:26:23 +02:00
parent 0437964793
commit 10c2bb8d13
9 changed files with 184 additions and 13 deletions

View File

@ -46,8 +46,13 @@ import 'theme/assets/styles/main.scss'
}
function checkNoVuePages(){
return drupalDecoupled.sys_path != '/cart'
&& drupalDecoupled.sys_path.indexOf('checkout') != 1;
// return drupalDecoupled.sys_path != '/cart'
// && drupalDecoupled.sys_path.indexOf('checkout') != 1;
if( drupalDecoupled.route_name.indexOf('commerce') == -1 ){
return true;
}else{
return false;
}
}
function initVues(){