We are being asked by one of the company's we show on our site to include a custom code on all of their product pages. Thus far we have not been able to figure out how.
The code is:
<!--/* Channel IQ Authorized Retailer Badging JavaScript tag */--><script type="text/javascript">
if (!window.OX_ads) { OX_ads = []; }
OX_ads.push({ "auid" : "219000", "vars" : {
'PURL' : window.location.href,
'PHST' : window.location.hostname
,'fout' : 'True', 'foutd': 'Right', 'foutb': 'Hover'
,'flip' : 'True'
,'light' : 'False'
,'promo' : 'False'
,'cert' : 'False'
// * Product Page Fields //
,'Brand' : 'XXXXX'.toLowerCase()
,'MPN' :'XXXXX'
,'ProductName' :'XXXXX'
// ,'ProductPrice' : 'XXXXX'
// ,'RetailerSKU' : 'XXXXX'
// ,'Condition' : 'XXXXX'
// ,'StockStatus' : 'XXXXX'
// ,'UPC' : 'XXXXX'
// ,'ISBN' : 'XXXXX'
// ,'StyleNumber' : 'XXXXX'
// ,'CategoryPath' : 'XXXXX'
}});
</script><script type="text/javascript">
document.write('<scr'+'ipt src="
badge.channeliq.com/w/1.0/jstag
"><\/scr'+'ipt>');
</script>
We are only being asked to include the first three fields at this time, which are shown above with red x's.
Two questions...
1) What code do/can we replace the x's with?
2) In which view would we place this code in so that it only appears on the items from this manufacturer?
Thanks...