Uncaught ReferenceError: miniShop2 is not defined ещё раз

Доброго дня! ModX 2.7.3, minishop2-2.5.0
Выскакивает Uncaught ReferenceError: miniShop2 is not defined и
Ошибка карты кода: Error: request failed with status 404
URL ресурса: s20651.h10.modhost.pro/assets/components/themebootstrap/css/bootstrap.min.css
URL карты кода: bootstrap.css.map
Пытался сделать как здесь
https://modx.pro/help/9857
не помогает…
проблема в том что товары добавляются криво: либо половина, либо почему-то плюсуются 1+1 при массовом выборе
скрипт массового выбора
$(document).ready(function(){	
function strip_tags(str) {
    str = str.toString();
    return str.replace(/<\/?[^>]+>/gi, "");
}
$('.product_count').click(function(){
	$(this).val('');
	});
$('#massAdd').click(function(){	
    let perem = 0;
	$('#mse2_results .ms2_product').each(function(index, value) {
	    
        perem = strip_tags($(this).find('input[name="count"]').val()).trim();
        console.log(perem);
	    
        if (perem != 0) { 
            
            $(this).find('button[type="submit"]').click();  
            }     
    }); 
});
});
вызов страницы такой:
[[!mFilter2?
  &class=`msProduct`
    &element=`msProducts`
    &parents=``
    &filters=`
      ms|vendor:vendors
    `
    &tpl=`tpl.msProducts.row.Custom`
&tplOuter=`tpl.mFilter2.outer.Custom`
   &sortby=`sort-norm`
   &sortbyOptions=`sort-norm:asc`
    &ajaxMode=`none`
    &limit=`0`
]]
пример http://s20651.h10.modhost.pro/zamki-navesnyie/
и в журнале ошибок (ERROR @ /home/s20651/www/core/components/pdotools/vendor/fenom/fenom/src/Fenom/Template.php(487): eval()'d code: 6) PHP warning: count(): Parameter must be an array or an object that implements Countable
не знаю что делать уже---всё перечитал и перепробовал
Alexander
21 марта 2020, 10:59
modx.pro
540
0

Комментарии: 1

Alexander
21 марта 2020, 12:22
0
После переустановки товар стал добавляться полностью и корректно, но ошибка не исчезла
    Авторизуйтесь или зарегистрируйтесь, чтобы оставлять комментарии.
    1