Нашел код который отвечает за вывод. Но если удалять все строки с надписью popup то не работает добавление само.
код не дает выложить сюда гад
[CODE](function (window) {
if (!!window.JCCatalogSection)
{
return;
}
var BasketButton = function(params)
{
BasketButton.superclass.constructor.apply(this, arguments);
this.nameNode = BX.create('span', {
props : { className : 'bx_medium bx_bt_button', id : this.id },
style: typeof(params.style) === 'object' ? params.style : {},
text: params.text
});
this.buttonNode = BX.create('span', {
attrs: { className: params.ownerClass },
style: { marginBottom: '0', borderBottom: '0 none transparent' },
children: [this.nameNode],
events : this.contextEvents
});
if (BX.browser.IsIE())
{
this.buttonNode.setAttribute("hideFocus", "hidefocus");
}
};
BX.extend(BasketButton, BX.PopupWindowButton);
window.JCCatalogSection = function (arParams)
{
this.productType = 0;
this.showQuantity = true;
this.showAbsent = true;
this.secondPict = false;
this.showOldPrice = false;
this.showPercent = false;
this.showSkuProps = false;
this.basketAction = 'ADD';
this.showClosePopup = false;
this.useCompare = false;
this.visual = {
ID: '',
PICT_ID: '',
SECOND_PICT_ID: '',
QUANTITY_ID: '',
QUANTITY_UP_ID: '',
QUANTITY_DOWN_ID: '',
PRICE_ID: '',
DSC_PERC: '',
SECOND_DSC_PERC: '',
DISPLAY_PROP_DIV: '',
BASKET_PROP_DIV: ''
};
this.product = {
checkQuantity: false,
maxQuantity: 0,
stepQuantity: 1,
isDblQuantity: false,
canBuy: true,
canSubscription: true,
name: '',
pict: {},
id: 0,
addUrl: '',
buyUrl: ''
};
this.basketMode = '';
this.basketData = {
useProps: false,
emptyProps: false,
quantity: 'quantity',
props: 'prop',
basketUrl: '',
sku_props: '',
sku_props_var: 'basket_props',
add_url: '',
buy_url: ''
};
[/CODE]