Share via E-Mail
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:

Shopping Cart target window?



welshbaloney
member
Posts: 6


Hello,
I have a simple web site with an iFrame over a background graphic. The shopping cart pretty much fills the entire iFrame and I end up with iFrame scroll bars as well as shopping cart scroll bars - ugly!

Is there any way I can force the cart to appear outside the iFrame in the parent window?

Thanks
Tony.


#
POSTED ON: December 18, 2008 @ 17:40 GMT -7




Stefanie
member
Posts: 115


Hi Tony,

You could have the cart open in it's own window by using the non-javascript version of the button code.

Also, depending on your requirements, you could also make changes to the appearance of the cart (the height and width). Take a look at our cart customization help page for information:
http://www.e-junkie.com/ej/help.custom-cart.htm


#
POSTED ON: December 19, 2008 @ 13:57 GMT -7




welshbaloney
member
Posts: 6


Hello, thanks for the reply.

I replaced the button code with non-javascript, however the window still pops up inside the iFrame.

I tried changing the Target for the buttons from ej_ejc to _top, then _parent and _blank, but the cart still opens inside the iFrame.

Any other suggestions?
Thanks
Tony.


#
POSTED ON: December 19, 2008 @ 14:35 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4343


Did you remember to Refresh/Reload your page before testing it again? If you're using Internet Explorer, hold the Ctrl key while you click Refresh (or just hit Ctrl-F5, same thing) to really-for-sure force the browser to load a fresh copy of the pages from your server.

If that doesn't resolve things for you, please reply with the URL of your shop page, so we can have a look for ourselves.


#
POSTED ON: December 21, 2008 @ 13:16 GMT -7




welshbaloney
member
Posts: 6


Thanks Tyson.
Yes I did refresh.

I'm afraid you'll have to go through a form submission to get to the View/Add To Cart buttons as follows:

Please go to this URL: http://www.yourpetstale.com/yourpetstale/index2.htm
Please click on Products button in the left nav
Click on any of the Order Now buttons and enter "test" in the required fields (test@blah.com in the email field) to get past the form validation.

Thanks for your help
Tony.


#
POSTED ON: December 24, 2008 @ 14:57 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4343


I followed your instructions for ordering the "YourPetsTale Xmas Bundle (Book + Calendar Single Pet Version)" product, and after submitting test info in your form, the page that came up with our View/Add to Cart buttons was still using our standard JavaScript-enhanced button codes. Note that on your Get Button Codes screens in Seller Admin, you would need to UNCHECK the box indicated to convert the codes to their non-JS version, then copy and paste the resulting codes into your page in place of any button code you may have currently. BTW, I noticed you are using some cart-customization lines; those only work with the standard overlay-style cart display and will not work for a non-JS cart in a popup window/tab.


#
POSTED ON: December 24, 2008 @ 17:20 GMT -7




welshbaloney
member
Posts: 6


Sorry about that Tyson. I yanked the code and forgot to put it back for your test.

I've replaced the two buttons for the Xmas Bundle with Javascript this time - the window is still popping up inside the iFrame...

Thanks again.
Tony.


#
POSTED ON: December 24, 2008 @ 20:13 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4343


The page I looked at (for the "2009 Calendar - Single Pet Version" product) still showed the standard JavaScript version of our button codes, which is displaying the cart inside your iframe. You need to be using the NON-JavaScript version of our button codes, which you can obtain by UNCHECKing the box indicated on your Get Button Codes screen for each product. You need to copy the resulting codes and use those to replace all the existing button codes currently pasted into your site pages.


#
POSTED ON: December 28, 2008 @ 19:47 GMT -7




welshbaloney
member
Posts: 6


Hi Tyson,
Yes, I only updated one of the forms - the one you originally tested (Xmas Bundle). This is using non-javascript buttons; the others are still using the javascript.

Thanks
Tony.


#
POSTED ON: December 28, 2008 @ 21:39 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4343


You still have some leftover JavaScript View Cart code in the page; you need to remove these lines yet:

<script language="javascript" type="text/javascript">
<!--
function EJEJC_lc(th) { return false; }
function EJEJC_config() {
// Add this line if you want PayPal checkout to open in a new window:
EJEJC_CPOP = true;
// Will call EJEJC_shown function (next section below) after the cart has rendered:
EJEJC_POSTCALL=true;
// Change the width of the cart window:
EJEJC_WIDTH = 680;
// Change the height of the cart window:
EJEJC_HEIGHT = 370;

}
function EJEJC_shown() {
// Will change "Ship to Country" to "Your Country":
jQuery("#country1").attr("innerHTML", "Your Country");
// Will change "Ship to ZIP/postal Code" to "Your ZIP/Postal Code":
jQuery("#state1").attr("innerHTML", "Your ZIP Code");
// Will change "Discount Code" to "Something Else":
jQuery("#dscnt_cd").attr("innerHTML", "YourPetsTale Discount Code");
}
// -->
</script>
<script src='http://www.e-junkie.com/ecom/box.js' type='text/javascript'></script>


#
POSTED ON: December 29, 2008 @ 12:46 GMT -7




welshbaloney
member
Posts: 6


Thanks Tyson. All sorted out now. Your patience is to be commended :)

Tony.


#
POSTED ON: December 31, 2008 @ 13:21 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