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:

Is there such a thing as a faulty button?



panicbill
member
Posts: 15


Well, I'm back after experimenting with assorted shopping carts on my WordPress blog. All were a disaster. So I rebuilt product pages and place my e-junkie buttons (which had caused probs in the past). It all went great except for JUST ONE on this page http://panicattackology.net/mentoring. You'll notice after the second ADD TO CART button (for the $79 product) the image that follows it becomes misaligned. Now, if I remove that ADD TO CART button the image goes back in line. It's driving me nutso. Any ideas? Thank You...


#
POSTED ON: December 7, 2009 @ 19:30 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 3486


First, I will refer you to our WordPress help, where you may find some useful tips:
http://www.e-junkie.com/ej/help.site-blog.htm#wordpress

Try adding this to your View Cart code, just before the "// -->" line in the standard code we provide:

function EJEJC_config() {
EJEJC_INITCSS = false;
}

...so your full View Cart code should look like this:

<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=92598&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; }
function EJEJC_config() {
EJEJC_INITCSS = false;
}
// -->
</script>
<script src='http://www.e-junkie.com/ecom/box.js' type='text/javascript'></script>

Also, it's a good idea to remove any other View Cart code remnants from your page; you can find these by looking for "/box.js". You may just want to put the View Cart code in a common template file or header/footer/sidebar region where your regular posting editor can't mess it up.


#
POSTED ON: December 7, 2009 @ 19:52 GMT -7




panicbill
member
Posts: 15


Thanks, Tyson. I'll give 'er a go.


#
POSTED ON: December 7, 2009 @ 20:27 GMT -7




panicbill
member
Posts: 15


Nah...no go. Didn't work. Frankly, it's wearing me out...especially since I'm a shrink, not a coder. May just dump the product below it for now and move on. But I appreciate your help, nonetheless.


#
POSTED ON: December 7, 2009 @ 20:47 GMT -7




ashleykaryl
member
Posts: 113


That's strange, I simply added the same code I use on my sales page button as html in the sidebar for a wordpress blog and everything seemed to work perfectly first time round. I don't know how effective this will be in the long run or if I'll keep it but one piece of code has just created a few hundred more potential shopping carts, since it automatically appears on every page, so with the right levels of traffic it could be very useful in theory.


#
POSTED ON: December 8, 2009 @ 12:45 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 3486


Your WordPress appears to be garbling your code after you paste it in. Make sure you are saving your post directly from the raw HTML-code view after you paste in our code, without switching back to the visual-editor mode first.

In particular, where your page has this:

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

You should change that to this:

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

Note the last line in particular, where type="'text/javascript'" should be changed to type="text/javascript" (remove nested single-quotes inside double-quotes).

If you'd like some expert assistance, we can recommend the competent, E-junkie-experienced developers listed in our directory here:
http://www.e-junkie.com/ej/developer-directory.htm


#
POSTED ON: December 8, 2009 @ 15:42 GMT -7
MODIFIED ON: December 8, 2009 @ 15:43 GMT -7




panicbill
member
Posts: 15


Hi Tyson. Well, hey, I'll give it a go...


#
POSTED ON: December 8, 2009 @ 16:44 GMT -7




panicbill
member
Posts: 15


Valiant effort to be sure. And I appreciate the help. But, no, it ain't happening. No doubt, being fairly new to this blogging biz I've got all sorts of ick in my files. When I have the time and $ I'll get it cleaned up. For now, I gotta' forge ahead. Thank You!


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




E-junkieGuru
E-Junkie Crew
Posts: 3486


If you might consider consulting with an expert to help you sort out matters, we can recommend the competent, E-junkie-experienced developers listed in our directory here:
http://www.e-junkie.com/ej/developer-directory.htm


#
POSTED ON: December 8, 2009 @ 19:56 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