4 / 4
Sep 2013

Hi all;



Sorry to bring yet another Add to Cart issue. I read through previous postings but still couldn't figure it out.



The Add to Cart buttons that have functioned since 2008 seem to have stopped!



http://sweater101.com/



I tried in Firefox and Safari and couldn't add to the cart, let alone see inside the cart. Somebody else tried three times and had one add to the shopping cart...Sooo they might be functioning intermittently?



Thoughts?



I tried doing a new button below the old. No dice. I updated wordpress for good measure.



Impacting business. Please help.

  • created

    Sep '13
  • last reply

    Sep '13
  • 3

    replies

  • 1.2k

    views

  • 3

    users

  • 6

    links

The problem is with the View Cart code in your page. This should be your full View Cart code:



<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=150982&ejc=2" target="ejejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="http://www.e-junkie.com/ej/ejview_cart.gif" border="0" alt="View Cart"/></a>

<script language="javascript" type="text/javascript">

<!--

function EJEJC_lc(th) { return false; }

// -->

</script>

<script src='http://www.e-junkie.com/ecom/box.js' type='text/javascript'></script>



However, the code in your page is missing that last line. To fix this, you can either add the missing final line (which will allow the cart to display as an overlay "inside" your own page), or remove the remaining script-related lines above it (which would allow the cart to display in a new window/tab).



I noticed your site is built in WordPress, so we would recommend using the Raw HTML plugin to prevent WordPress from altering your button code after you paste it in:

http://wordpress.org/plugins/raw-html/

Thank you E-junkieGuru. Your explanation is clear and concise. It works perfectly now.



Cheryl