Thank you for any help in advance!



I am having trouble getting a message to show up in my shopping cart. This site is built in WordPress.



Here is the code as I have it. I have removed the HTTPS, i was not sure if that was private info. I also have left the default message from the tutorial just to see if it would work before entering my message.



<a href="" target="ej_ejc" 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; }

function EJEJC_config() {

EJEJC_POSTCALL=true;

}

function EJEJC_shown() {

// Add custom text or HTML next to checkout buttons in the cart:

jQuery("#tdPmnt").attr("innerHTML",

"Any <b>HTML</b> you want to show");

}

// -->

</script>

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



Is this correct? What am I doing wrong?



Again thank you so much for any direction or help!

  • created

    Feb '13
  • last reply

    Feb '13
  • 1

    reply

  • 1.0k

    views

  • 2

    users

  • 4

    links

I can't tell what the problem may be without having a link to your page to examine, but I do have a good guess at what might be going on:



If your site is already using jQuery, that may be conflicting with the jQuery our cart uses for cart customization; fortunately, we have a workaround for that scenario -- see this help page for details:

2http://www.e-junkie.com/ej/trouble.custom-cart.jquery.htm2