Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

WP eStore Buy Button Doesn't Work When Opened in a New Tab

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Buy Button Doesn't Work When Opened in a New Tab

Tagged: new tab, PayPal, shortcode

  • This topic has 3 replies, 2 voices, and was last updated 13 years, 9 months ago by admin.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • September 12, 2011 at 12:45 am #4286
    hyperink
    Member

    Hi,

    A customer tried to purchase an item using the [wp_eStore_buy_now_custom_button] button.

    The problem is he used CTRL+CLICK to open it in a new tab and it took him to the Paypal homepage.

    How can I fix this?

    Thanks!

    September 12, 2011 at 1:12 am #36506
    admin
    Keymaster

    Buttons are not like normal HTML links. I will give you an easier example so you can understand the difference. Do you “CTRL + Click” on the submit button of a contact form or when you submit a comment?

    A button needs to be submitted by clicking on it (not open a in new tab). Got the idea?

    If you want to do open a new tab don’t use a button… use a HTML link. WP eStore also has ability to make links for a product rather than a standard button. This allows your customers to purchase a product by clicking on a HTML Link (use a link to purchase an item). Check the extra shortcodes documentation for this.

    September 12, 2011 at 1:16 am #36507
    hyperink
    Member

    Thank you for the quick response. I understand the difference but was hoping there was a way to have a button and still satisfy this use case.

    The reality is sometimes our team wants to use buttons and people will want to open it in a new tab. How would you handle it?

    September 12, 2011 at 1:28 am #36508
    admin
    Keymaster

    If you are asking what I would do then I wouldn’t handle it because its a standard behavior of a HTML Button and it is not upto me to change how it behaves (the guys who defined these behaviors knows what they are doing). You can expect a user to know that he/she knows how to browse the web and how different elements of the web behave. Yes, some new users will make mistakes but humans are really good at learning quickly from their mistakes. If you get a lot of new web users on your site then you can maybe add a “How to order from us” guide on your site (many sites use this technique to teach their users how to order from their site).

    With that said, you can also do the following:

    Use an image (that looks like a button) as the anchor of a purchase link. This way you are using a link rather than a button and it will work for both situations (normal click or open in a new tab).

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ