Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

implementing external search widget on webpage

By
joachim grubelnik
on 9/3/15, 10:21 AM 646 views

I tried to just test a script from amazon for their affiliate program

i just implemented it at the basic HTML editor on homepage for a short test. put this in between a div where i want to load this lil window.

<script charset="utf-8" type="text/javascript">

amzn_assoc_ad_type = "responsive_search_widget";

amzn_assoc_tracking_id = "widgetsamazon-20";

amzn_assoc_link_id = "5H3NR6KLIMLLKOOL";

amzn_assoc_marketplace = "amazon";

amzn_assoc_region = "US";

amzn_assoc_placement = "";

amzn_assoc_search_type = "search_widget";

amzn_assoc_width = "auto";

amzn_assoc_height = "auto";

amzn_assoc_default_search_category = "";

amzn_assoc_default_search_key = "";

amzn_assoc_theme = "light";

amzn_assoc_bg_color = "FFFFFF";

</script>

<script src="//z-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&Operation=GetScript&amp;ID=OneJS&amp;WS=1&amp;MarketPlace=US"></script>

it works well,

but my question ist how do i have to do it correctly. Because every time i safe the website again if i change anything on it, it doubles the search widget on the website. why does this happen ? 

cheers joe

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/3/15, 10:21 AM
Seen: 646 times
Last updated: 9/3/15, 8:57 PM