Guest User

Embedding the Ecwid store with affiliate ID

a guest
Jul 31st, 2013
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.62 KB | None | 0 0
  1. <?php
  2.     $affiliate_id = intval( $_REQUEST['affiliates'] );
  3. ?>
  4. <iframe style="display:none;" src="http://example.com/?affiliates=<?php echo $affiliate_id; ?>"></iframe>
  5.  
  6. <div id="my-store-XXXXXX">If you your browser does not support JavaScript, please proceed to its <a href="http://example.ecwid.com">simple HTML version</a>.</div><div>
  7. <script type="text/javascript" src="http://app.ecwid.com/script.js?XXXXXX" charset="utf-8"></script><script type="text/javascript"> xProductBrowser("categoriesPerRow=3","views=grid(3,3) list(10) table(20)","categoryView=grid","searchView=list","style=","id=my-store-XXXXXX");</script>
  8. </div>
Add Comment
Please, Sign In to add comment