Lost income due to COVID-19? E-junkie is providing 1 year free accounts to sell anything, anywhere. Click Here for more details.

E-junkie Help >

Selling on SharePoint Online

Using E-junkie to sell downloads and tangible goods with SharePoint Online

First, make sure you allow users to run custom script on your SharePoint site. If you don't have access to this feature, you will need to obtain the non-javascript version of our cart button code.

Yu can use SharePoint Online's Embed Code tool to paste your E-junkie button code like so:

  1. Browse to the web page where you want to add or edit the code.
  2. From the Page tab, choose Edit;
  3. Place your cursor where you want the inserted code to appear;
  4. From the Insert tab, click Embed Code;
  5. An Embed panel will appear, where you can paste the button code you have copied from E-junkie Seller Admin;
  6. When finished, click the Insert button.

That takes care of your View Cart or Buy Now code, but for pasting our Add to Cart code, there's one hitch: SharePoint's Embed Code tool looks for a <script> tag in the pasted code and, if there isn't one, it removes all traces of javascript from the pasted code, which is necessary for our Add to Cart buttons to display the overlay-style cart in your page (note this does not affect the non-javascript version of our cart button code). We've found a couple different approaches you can use to make the SharePoint Online page editor save your pasted Add to Cart code as-is without modifications:

  1. If you use the Embed Code tool, you can paste our Add to Cart code, but then you should manually add <script></script> in front of our standard code before you click Insert, like so:

    <script></script><a href="https://www.e-junkie.com/ecom/gb.php?c=cart&ejc=2&cl=20545&i=100100" target="ej_ejc" class="ec_ejc_thkbx" onclick="return EJEJC_lc(this);"><img src="https://www.e-junkie.com/ej/ej_add_to_cart.gif" border="0" alt="Add to Cart"></a>

    ...or...
  2. Just use the Script Editor Web Part editor under the Insert tab > Web Part > Media and Content > Script Editor to paste and insert your button codes; however, this Web Part tool may not be available to you depending on your SharePoint settings and access permissions.