Guest User

Embedding the Ecwid store with affiliate ID

a guest
Jul 31st, 2013
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.     $affiliate_id = intval( $_REQUEST['affiliates'] );
  3. ?>
  4. <iframe style="display:none;" src="<?php echo $affiliate_id; ?>"></iframe>
  6. <div id="my-store-XXXXXX">If you your browser does not support JavaScript, please proceed to its <a href="">simple HTML version</a>.</div><div>
  7. <script type="text/javascript" src="" 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>
RAW Paste Data