Добавление товара в корзину функция ajaxCart.add( в файле /themes/default-bootstrap/js/modules/blockcart/ajax-cart.js, вот сюда добавляйте свою переменную $textrez
/*/for product page 'add' button... */
$(document).on('click', '#add_to_cart button', function(e){
e.preventDefault();
ajaxCart.add( $('#product_page_product_id').val(), $('#idCombination').val(), true, null, $('#quantity_wanted').val(), null);
});
в строке 277
add : function(idProduct, idCombination, addedFromProductPage, callerElement, quantity, whishlist, instructions, instructions_id)
строка 315
data: 'controller=cart&add=1&ajax=true&qty=' + ((quantity && quantity != null) ? quantity : '1') + '&id_product=' + idProduct + '&token=' + static_token + ( (parseInt(idCombination) && idCombination != null) ? '&ipa=' + parseInt(idCombination): ''),