E-Junkie Forum http://www.e-junkie.com/bb/ E-Junkie Forum RSS en-us Copyright 2012, 19.5 Degrees. All rights reserved. webmaster@e-junkie.com webmaster@e-junkie.com Mon, 5 Oct 2009 13:49:31 GMT Fri, 10 Feb 2012 18:00:43 GMT 681 E-JUNKIE 5 E-Junkie Forum http://www.e-junkie.com/bb/ http://www.e-junkie.com/ej/logo.gif 290 104 Post #9 http://www.e-junkie.com/bb/topic/3738/pg/0#post11714 http://www.e-junkie.com/bb/topic/3738/pg/0#post11714 Mon, 5 Oct 2009 13:49:31 GMT
Thanks bud, that worked. I had to insert that code on every page where the cart in the sidebar appeared (Basically every single page). But that fixed it and the cart now works properly. Thanks for the patience and all of the help.

Kevin]]>
E-junkie Discussions; MoboMan
Post #8 http://www.e-junkie.com/bb/topic/3738/pg/0#post11714 http://www.e-junkie.com/bb/topic/3738/pg/0#post11714 Sun, 4 Oct 2009 23:32:16 GMT
<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>

For instance, you could paste those lines in the main HTML content area of your page (they don't actually show anything visible in the page by themselves), and then you could paste the Add to Cart and View Cart buttons into your sidebar widget. This would be the rest of your View Cart code that displays the button itself:

<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=83132&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="http://www.getyourmobo.com/storage/Button_View_Cart.png" border="0" alt="View Cart"/></a>]]>
E-junkie Discussions; E-junkieGuru
Post #7 http://www.e-junkie.com/bb/topic/3738/pg/0#post11714 http://www.e-junkie.com/bb/topic/3738/pg/0#post11714 Sun, 4 Oct 2009 20:17:37 GMT
Here is what is going on:

I am using the shopping cart code in a widget that allows HTML to be used in the sidebar navigation of my site. When the cart code is inserted there, it displays the cart in a separate window when clicked.

When the same exact code is inserted in a HTML page in the main content area of the site, the cart displays as desired (pop up window over screened back site).

Is there any way to get the cart to display correctly in the HTML sidebar widget?

Thanks in advance.]]>
E-junkie Discussions; MoboMan
Post #6 http://www.e-junkie.com/bb/topic/3738/pg/0#post11714 http://www.e-junkie.com/bb/topic/3738/pg/0#post11714 Sat, 3 Oct 2009 23:12:14 GMT <a class="ec_ejc_thkbx" onclick="javascript:return EJEJC_lc(this);" href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=83132&ejc=2" target="ej_ejc"><img src="http://www.getyourmobo.com/storage/Button_View_Cart.png" border="0" alt="View Cart" /></a> <div id="deferred_script_4775846_1"><div class="deferred-widget">Loading..</div></div><script type="text/javascript">window.setTimeout("__dfv_4775846_0=document.createElement('script');__dfv_4775846_0.type='text/javascript';el=document.getElementById('deferred_script_4775846_1');el.innerHTML='';el.appendChild(__dfv_4775846_0);",1);</script>
<!--
function EJEJC_lc(th) { return false; }
// -->

Here is the standard code:

<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl= 83132&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>

I would suggest trying the standard code, with no modifications and see if it works like that.

As for #3 if you are now using an E-junkie purchase button for this page, try the standard code that is above and see if the cart comes up in the overlay window.]]>
E-junkie Discussions; E-junkieNinja
Post #5 http://www.e-junkie.com/bb/topic/3738/pg/0#post11714 http://www.e-junkie.com/bb/topic/3738/pg/0#post11714 Fri, 2 Oct 2009 13:50:11 GMT
I have even recreated my product buttons to generate new code, with the same results. I do not write code (I think that's pretty obvious), so I cannot determine what is missing. Is it possible that your code generator is providing me incomplete code (specifically, the line referencing your box.js cart script)?

I really want to use e-junkie's cart solution and I feel like I am 94.235% there. If I could just get the cart to display correctly (not open in separate window) I would be home free.

Regarding #3: I was using PayPal's Buy Now Button code for the specially priced trial unit purchase, since it was working fine and we currently have an e-blast campaign that is driving people to that page, I didn't want to mess with it until I could get e-junkie carts straightened out. I created a product with variables in e-junkie for my bulk/case orders. I then placed that shopping cart code on the same page.

I have now added the trial unit as a product in e-junkie, along with the bulk/case cart. The cart now opens, but it still opens in a separate window.

Any help you could provide is most appreciated.

BTW, thanks for the comments on the product. Even though the trial unit pricing is for potential distributors, I would be happy to let you have a Mobo at the trial price, if you want to try one. Thanks in advance.]]>
E-junkie Discussions; MoboMan
Post #4 http://www.e-junkie.com/bb/topic/3738/pg/0#post11714 http://www.e-junkie.com/bb/topic/3738/pg/0#post11714 Fri, 2 Oct 2009 02:11:54 GMT
Make sure you obtain your complete View Cart code from your Seller Admin and paste that into your page source, then if you wish, modify the buttons' appearance however you require; this page gives tips for replacing our standard button images:
http://www.e-junkie.com/ej/help.custom.purchase-buttons.htm

#3: This page is only using PayPal's own button code, although part of an E-junkie View Cart button link is also stuck in there uselessly.

BTW, nice product -- it's pretty much the sort of setup I'm already using, albeit mine is rather cobbled up from improvised odds'n'ends and not a proper "solution" like you've devised. :^)]]>
E-junkie Discussions; E-junkieGuru
Post #3 http://www.e-junkie.com/bb/topic/3738/pg/0#post11714 http://www.e-junkie.com/bb/topic/3738/pg/0#post11714 Thu, 1 Oct 2009 04:28:27 GMT
For #1 & 2: www.getyourmobo.com (click add to cart button on right)

For#3: www.getyourmobo.com/aca-promo

Thank you in advance for the help!]]>
E-junkie Discussions; MoboMan
Post #2 http://www.e-junkie.com/bb/topic/3738/pg/0#post11714 http://www.e-junkie.com/bb/topic/3738/pg/0#post11714 Wed, 30 Sep 2009 22:42:30 GMT E-junkie Discussions; E-junkieNinja Post #1 http://www.e-junkie.com/bb/topic/3738/pg/0#post11714 http://www.e-junkie.com/bb/topic/3738/pg/0#post11714 Wed, 30 Sep 2009 21:38:04 GMT
2) When the continue shopping button is pressed, it sends the shopping cart window back behind the active website window (Usually directly behind, where it is completely hidden). Then when the view cart button or the add to cart button is pressed, it appears that nothing happens. This is because the shopping cart window is still open behind the current window and it does not automatically come to the front.

3) I set up another button, using variables, for my product in bulk. When the add to cart button is clicked, it opens the PayPal account login page in the open window (replacing the current web page). So, not only does it NOT take you to a shopping cart, it requires you to hit the history button to navigate back to the website where I am trying to sell.

Help please!]]>
E-junkie Discussions; MoboMan