DEJANC Posted September 9, 2014 Share Posted September 9, 2014 Hi, I want to install adsense on my presta 1.6 in the left column but I cant. I try htnlbox, content box, try to install in theme,.... Is there somewhere some guide how to do that? I enable left column but there I want only adsense nothing else. I possible to have adsense on all pages? Please help me. Thanks. Link to comment Share on other sites More sharing options...
astterx Posted September 9, 2014 Share Posted September 9, 2014 you can create a module and using hook displayLeftColumn you can display adsense code Link to comment Share on other sites More sharing options...
vekia Posted September 9, 2014 Share Posted September 9, 2014 perhaps problems arent in modules you mentioned but in code that you're trying to apply? also, in some cases prestashop features blocks contents to appears can you describe your problems? please? Link to comment Share on other sites More sharing options...
DEJANC Posted September 10, 2014 Author Share Posted September 10, 2014 Thanks Vekia to quick reply. Here is the code I want to apply: <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- SMART LIFE --> <ins class="adsbygoogle" style="display:inline-block;width:300px;height:600px" data-ad-client="ca-pub-2539560196053988" data-ad-slot="8005253678"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> OR <script type="text/javascript"><!-- google_ad_client = "ca-pub-2539560196053988"; /* SMART LIFE */ google_ad_slot = "8005253678"; google_ad_width = 300; google_ad_height = 600; //--> </script> <script type="text/javascript" src="//pagead2.googlesyndication.com/pagead/show_ads.js"> </script> With default theme configurator dont work, because it says code is invalit or something like that. With contect box shows only code in footer..... Can you please explain my what is easiest way to integrate code in left column and how to do that? Step by step? I use presta 1.6.0.9. Thanks in advance. Dejan Link to comment Share on other sites More sharing options...
vekia Posted September 10, 2014 Share Posted September 10, 2014 okay so try to use module like contentbox or htmlbox and paste your code there. save it. then open your website and verify what kind of code your shop contain, it changed somehow? Link to comment Share on other sites More sharing options...
DEJANC Posted September 10, 2014 Author Share Posted September 10, 2014 I use contenbox now: Link to picture: http://shrani.si/f/3W/8q/10bTYYoj/presta.jpg If you can check I also can give you admin BO. Link to comment Share on other sites More sharing options...
prestafun Posted September 16, 2014 Share Posted September 16, 2014 I use contenbox now: Link to picture: http://shrani.si/f/3W/8q/10bTYYoj/presta.jpg If you can check I also can give you admin BO. Does that actually show up on your site?? Like that? Link to comment Share on other sites More sharing options...
ualiens Posted October 22, 2014 Share Posted October 22, 2014 Can anyone tell me how to put google ad in prestashop 1.6 step by step? I'm a very beginner . Please help me. My site : www.yantratraders.com Link to comment Share on other sites More sharing options...
vekia Posted October 22, 2014 Share Posted October 22, 2014 everything depends on where exactly you want to display google adsense block. Link to comment Share on other sites More sharing options...
dzaix Posted February 23, 2015 Share Posted February 23, 2015 Does that actually show up on your site?? Like that? Hi, Yes I have the same problem like DEJANC! I would like to show google adsense on main homepage as well as under each product... I see only code on page, not ads - like on DEJANC screenshot. I tried contentbox and HTMLbox also.... Could you please help? Dzaix. Link to comment Share on other sites More sharing options...
Recommended Posts