more commerce settings
This commit is contained in:
@ -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(){
|
||||
|
Reference in New Issue
Block a user