javascript - How to add custom code to prestashop -
i trying add following code prestashop site able display google trusted site badge:
<!-- begin: google trusted stores --> <script type="text/javascript"> var gts = gts || []; gts.push(["id", "store_id"]); gts.push(["badge_position", "bottom_right"]); gts.push(["locale", "english_australia"]); gts.push(["google_base_offer_id", "item_google_shopping_id"]); gts.push(["google_base_subaccount_id", "item_google_shopping_account_id"]); gts.push(["google_base_country", "item_google_shopping_country"]); gts.push(["google_base_language", "item_google_shopping_language"]); (function() { var gts = document.createelement("script"); gts.type = "text/javascript"; gts.async = true; gts.src = "https://www.googlecommerce.com/trustedstores/api/js"; var s = document.getelementsbytagname("script")[0]; s.parentnode.insertbefore(gts, s); })(); </script> <!-- end: google trusted stores -->
i need visible on every page , no matter do, cant display badge.
most need installing module add custom html.
here 1 add on bottom/footer area.
http://www.prestashop.com/forums/topic/165066-free-prestashop-module-easy-footer/
can add custom html content on footer area , visible whole website.
Comments
Post a Comment