Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password?

Search the Forum

Tips and Tricks HQ Forum » Simple PayPal Shopping Cart

paypal form in new window

(14 posts) (4 voices)
  • Started 2 years ago by webwitch
  • Latest reply from amin007
  • Related Topics:
    1. No address information from PayPal
    2. Paypal redirect to a form
    3. Checkout redirection window to paypal
    4. Send Paypal IPN Information to a Different Site
    5. Difficulty Setting up WP Affiliate Platform for Paypal Subscription Buttons

Tags:

  • form action
  • open new window
  • target="_blank"
« Previous12
  1. bostonchicklet8
    Member

    That didn't work, here is the page http://seniorcareonline.net/products/products/

    The shopping cart still appears at the bottom and I copied your code into notepad and then into the plug-in editor in WP panel.

    Posted 1 year ago #
  2. amin007
    Key Master

    There seem to be a bit of communication gap here.

    The title of this forum thread is "PayPal form in new window" and the goal is:

    "After hitting the checkout button, I'd like to open the paypal form in a new window if possible"

    Now if you click on the "Checkout button" from the shopping cart you will see it opens the a new window for the paypal payment. So from my point of view it's doing what I thought you wanted it do.

    But now you just posted:

    "The shopping cart still appears at the bottom"

    The shopping cart is going to sit where you want it/place it on a page. So my question to you is what are you after?

    Posted 1 year ago #
  3. bostonchicklet8
    Member

    I don't want the shopping cart to appear on the bottom of the page at all, it makes people have to scroll down to see it. When they click add to cart I'd like another tab/window to open. :)

    Posted 1 year ago #
  4. Ivy
    Administrator

    Hi, Then you need to take the shortcode you are using out of the page or post it should be one of the following:

    [wp_eStore_cart] Display the shopping cart on a post or page

    [wp_eStore_cart_when_not_empty] Display the shopping cart on a post or page but the
    cart is visible only when there are items in the cart

    Then you will need to check the "Automatic redirection to checkout page" checkbox in the main settings page of the eStore and specify a check out page URL in the "Checkout Page" field.

    Posted 1 year ago #
  5. amin007
    Key Master

    All you have to do is use the shortcode that displays the shopping cart at the top of the page... this way when someone adds a product it will be displayed at the top of the page.

    If you want the page to open a new window when someone hits the "Add to Cart" button then search for the following in the "wp_shopping_cart.php" file:

    $replacement = '<object><form method="post" action=""

    once you find the line replace it with the following:

    $replacement = '<object><form method="post" action="" target="_blank" style="display:inline" onsubmit="return ReadForm(this, true);">';

    Posted 1 year ago #

RSS feed for this topic

« Previous12

Reply

You must log in to post.

Tips and Tricks HQ Forum is proudly powered by bbPress

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin