Share via E-Mail
Share on Google Buzz
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Add To Cart and View cart buttons not working



bigcanemiami
member
Posts: 6


As I was adding the add to cart and View cart I checked them and they worked perfectly.Now after everything is in place the buttons don't work any ideas.

Bigcanemiami


#
POSTED ON: October 6, 2009 @ 20:24 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 3483


Could you provide the URL of your page where the buttons are not working, so we can have a look at what might be going on there?


#
POSTED ON: October 7, 2009 @ 14:30 GMT -7




bigcanemiami
member
Posts: 6


The buttons worked perfect until I added the images and text. The URL is http://gmagtv.com/blog/?page_id=47 Thank you for your help.


#
POSTED ON: October 7, 2009 @ 15:14 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 3483


The problem is with part of your View Cart code. This is the relevant portion of standard View Cart code we issue in your Seller Admin:

<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>

...whereas your page has this:

<script type="text/javascript">// <![CDATA[
function EJEJC_lc(th) { return false; }
// ]]></script><br />
<script src="http://www.e-junkie.com/ecom/box.js" type="'text/javascript'"></script>

Using a copy of your page, I was able to get that existing code working by manually adding language="javascript" to the first <script...> tag, and by fixing the nested single-and-double quotes for type="'text/javascript'" in the last <script...> tag, like so:

<script type="text/javascript" language="javascript">// <![CDATA[
function EJEJC_lc(th) { return false; }
// ]]></script><br />
<script src="http://www.e-junkie.com/ecom/box.js" type="text/javascript"></script>


#
POSTED ON: October 7, 2009 @ 16:40 GMT -7




bigcanemiami
member
Posts: 6


Thank you I will do that now.

Bigcanemiami


#
POSTED ON: October 7, 2009 @ 16:59 GMT -7




leon2007
member
Posts: 3


I am facing the same problem, I would really appreciate if someone could help me with this

View Cart Code on E-junkie Dashboard-

<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=90329&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="http://www.e-junkie.com/ej/ej_view_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>

View Cart Code on My Wordpress

<a class="ec_ejc_thkbx" onclick="javascript:return EJEJC_lc(this);" href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=90329&ejc=2" target="ej_ejc"><img src="http://www.e-junkie.com/ej/ej_view_cart.gif" border="0" alt="View Cart" /></a>
<script type="text/javascript">// <![CDATA[
function EJEJC_lc(th) { return false; }
// ]]></script>
<script src="http://www.e-junkie.com/ecom/box.js" type="'text/javascript'"></script>


#
POSTED ON: October 21, 2009 @ 05:16 GMT -7




E-junkieNinja
E-Junkie Crew
Posts: 636


Tyson's steps from above should take care of this issue. Here they are again:


Tyson
Using a copy of your page, I was able to get that existing code working by manually adding language="javascript" to the first <script...> tag, and by fixing the nested single-and-double quotes for type="'text/javascript'" in the last <script...> tag, like so:

<script type="text/javascript" language="javascript">// <![CDATA[
function EJEJC_lc(th) { return false; }
// ]]></script><br />
<script src="http://www.e-junkie.com/ecom/box.js" type="text/javascript"></script>


#
POSTED ON: October 21, 2009 @ 10:46 GMT -7




leon2007
member
Posts: 3




#
POSTED ON: October 21, 2009 @ 10:56 GMT -7




leon2007
member
Posts: 3


Thanks Tyson but that didn't help. I pasted e-junkie's view cart code and saved it in HTML Format without switching to visual format and the code is intact but doesn't work.


#
POSTED ON: October 21, 2009 @ 10:57 GMT -7




E-junkieNinja
E-Junkie Crew
Posts: 636


Technically the plugin should work, our FatFreeCart and E-junkie itself are built very similarly.


#
POSTED ON: October 21, 2009 @ 11:07 GMT -7


You must be logged in to make a post. Please click here to login.

30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam