<?xml version="1.0" encoding="windows-1251"?> <torg_price date="2018-01-01 00:01"> <shop>
<name>Интернет-магазин</name>
<company>ООО "Магазин"</company>
<url>https://www.magazin.ru/</url>
<currencies> ... </currencies>
<categories> ... </categories>
<offers> ... </offers>
</shop> <currencies>
<currency id="RUR"/>
<currency id="RUB"/>
<currency id="UAH"/>
<currency id="KZT"/>
</currencies> <categories>
<category id="1" parentId="0">Кондиционеры</category>
<category id="2" parentId="1">Настенные кондиционеры</category>
</categories> <offers>
<offer> ... </offer>
<offer> ... </offer>
...
</offers> <offer id="1" available="true">
<url> ... </url>
<price> ... </price>
<currencyId> ... </currencyId>
<categoryId> ... </categoryId>
<picture> ... </picture>
<typePrefix> ... </typePrefix>
<vendor> ... </vendor>
<model> ... </model>
...
</offer> <url>https://www.magazin.ru/offers/?offer=1</url> <price>10000</price>
<currencyId>RUR</currencyId> <categoryId>1</categoryId> <picture>https://www.magazin.ru/pictures/model1.jpeg</picture> <typePrefix>Ноутбук</typePrefix> <vendor>HP</vendor> <model>Pavilion 15-n064sr</model> <name>Ноутбук HP Pavilion 15-n064sr</name> <oldprice>15000</oldprice> <description>Супер предложение!</description>
<!-- Rating@Mail.ru counter dynamic remarketing appendix -->
<script type="text/javascript">
var _tmr = _tmr || [];
_tmr.push({
type: 'itemView',
productid: 'VALUE',
pagetype: 'VALUE',
list: 'VALUE',
totalvalue: 'VALUE'
});
</script>
<!-- // Rating@Mail.ru counter dynamic remarketing appendix --> <html>
<body>
<!-- Rating@Mail.ru counter -->
<script type="text/javascript">
var _tmr = window._tmr || (window._tmr = []);
_tmr.push({id: "ID счетчика", type: "pageView", start: (new Date()).getTime(), pid: "USER_ID"});
(function (d, w, id) {
if (d.getElementById(id)) return;
var ts = d.createElement("script"); ts.type = "text/javascript"; ts.async = true; ts.id = id;
ts.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//top-fwz1.mail.ru/js/code.js";
var f = function () {var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ts, s);};
if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); }
})(document, window, "topmailru-code");
</script>
<noscript><div>
<img src="//top-fwz1.mail.ru/counter?id=ID счетчика;js=na" style="border:0;position:absolute;left:-9999px;" alt="" />
</div></noscript>
<!-- //Rating@Mail.ru counter -->
<!-- Rating@Mail.ru counter dynamic remarketing appendix -->
<script type="text/javascript">
var _tmr = _tmr || [];
_tmr.push({
type: 'itemView',
productid: 'VALUE',
pagetype: 'VALUE',
list: 'VALUE',
totalvalue: 'VALUE'
});
</script>
<!-- // Rating@Mail.ru counter dynamic remarketing appendix -->
</body>
</html> <script type="text/javascript">
var _tmr = _tmr || [];
_tmr.push({
type: 'itemView',
productid: '12345',
pagetype: 'product',
totalvalue: '1000.89',
list: '1'
});
</script> <script type="text/javascript">
var _tmr = _tmr || [];
_tmr.push({
type: 'itemView',
productid: ['1234','5678','9012'],
pagetype: 'cart',
totalvalue: '15000.45',
list: '1'
});
</script> <script type="text/javascript">
var _tmr = _tmr || [];
_tmr.push({
type: 'itemView',
productid: ['1234','5678','9012'],
pagetype: 'purchase',
totalvalue: '15000.45',
list: '1'
});
</script> <input type="button" id="addToCart" value="Добавить в корзину">
<script type="text/javascript">
jQuery('#addToCart').on('click', function() {
var _tmr = _tmr || [];
_tmr.push({
type: 'itemView',
productid: '1234',
pagetype: 'cart',
list: '1'
});
return true;
});
</script> <input type="button" onclick="var _tmr = window._tmr || (window._tmr = []); _tmr.push({ type:'itemView', productid:'1234', pagetype:'cart', list:'1' }); return true;" value="Добавить в корзину">