The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Help! Paypal Shopping cart Opening in new window
Leesha
post Mar 24 2007, 06:06 PM
Post #1





Group: Members
Posts: 2
Joined: 24-March 07
Member No.: 2,311



Hi! I am trying to get a website up to sell some things, and I'm using paypal as a sopping cart. the website makes the code for you to copy/paste it onto your site page, so that when a person clicks the "add to cart" button, they are transfered to another page through paypal that shows there basket. The problem I am having is that my website is a pop-up page, and when you click add to cart, it opens the link in a new tab rather than a different browser window, and that resizes my page (which i dont want).
here is the code-

<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but22.gif"
border="0" name="submit" alt="Make payments with PayPal - it's fast, free and
secure!" width="87" height="23"><br>
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif"
width="1" height="1"><br>
<br>
<input type="hidden" name="add" value="1"><br>
<input type="hidden" name="cmd" value="_cart"><br>
<input type="hidden" name="business" value="email"><br>
<input type="hidden" name="item_name" value="item name"><br>
<input type="hidden" name="amount" value="4.25"><br>
<input type="hidden" name="no_shipping" value="0"><br>
<input type="hidden" name="no_note" value="1"><br>
<input type="hidden" name="currency_code" value="USD"><br>
<input type="hidden" name="lc" value="US"><br>
<input type="hidden" name="bn" value="PP-ShopCartBF"><br>
</font></p><br>
</form>

if any of you can help me out, let me know! i have already tried Target:"_Blank", and new, and all, btu i may have put it in the wrong part of the code.
Thanks!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Peter1968
post Mar 24 2007, 08:05 PM
Post #2


Serious Coder
*****

Group: Members
Posts: 448
Joined: 23-September 06
Member No.: 213



What's the URL of your website? Keep in mind that trying to open a new browser window/tab will annoy some people and it won't work at all for people whose browsers (or popup blockers) can disable it (i.e most of them nowadays).
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Leesha
post Mar 25 2007, 02:09 AM
Post #3





Group: Members
Posts: 2
Joined: 24-March 07
Member No.: 2,311



members.cox.net/discodolliesbows/

i know, but before the problem was that my layout was too big, and people with a lower resolution couldnt see the navigation at the bottom of the layout. i suppose i could just resize the layout and have it on a regular page and then the tab thing woudlnt be a big deal.. :/
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Peter1968
post Mar 25 2007, 03:46 AM
Post #4


Serious Coder
*****

Group: Members
Posts: 448
Joined: 23-September 06
Member No.: 213



members.cox.net/discodolliesbows/
404 Not Found
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 27th April 2024 - 06:17 AM