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

How can I make a button open Paypal in a new tab (like this code target=”_blank”)

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › How can I make a button open Paypal in a new tab (like this code target=”_blank”)

Tagged: button, buy now, PayPal

  • This topic has 5 replies, 5 voices, and was last updated 9 years ago by admin.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • October 27, 2014 at 4:33 pm #11692
    bertrand kervella
    Member

    Hello,

    On my Optimize Press theme. I use their “exit Popup” to send people to a downsales page.

    The problem is that once getting to the downsales page after the exit popup, any link or button will not open, unless it’s set to open in a new page/tab.

    I tried to find out a way around, but it cannot be changed… any link or button has to be opened in a new tab.

    They recommend to add this code: target=”_blank”

    However, since eStore uses short code like this one: [wp_eStore_buy_now_button id=6], how can I make that button open in a new tab?

    Thanks

    Bertrand

    October 27, 2014 at 9:41 pm #66409
    wzp
    Moderator

    They recommend to add this code: target=”_blank”

    That only works if the button code uses the href attribute. The Buy Now buttons are used to submit POST data directly to the payment gateway.

    If you want to tinker with the Buy Now button code, after first backing up the eStore_misc_functions.php file, you can edit the print_eStore_buy_now_button() function definition.

    October 27, 2014 at 11:21 pm #66410
    wpCommerce
    Moderator

    @bertrand, Alternatively you can create a Buy Now text link and choose to open it in a new window/tab:

    https://support.tipsandtricks-hq.com/forums/topic/estore-how-to-use-a-text-link-to-accommodate-the-purchase-of-a-product

    October 28, 2014 at 4:03 am #66411
    bertrand kervella
    Member

    Thanks, it finally works.

    I added the plugin “eStore Extra Short Codes”, and I put the URL followed by this code ?wp_eStore_buy_now=6

    and it works fine on the image.

    Here the downsales page: [http://mlminaf.com/erreursenmlm/ew9j42/]

    Thanks a lot for your great advices.

    Bertrand

    April 24, 2016 at 10:03 am #66412
    royhenig
    Member

    Hi, how can i make a popup of a subscribe button? what i need is that after 3 minutes of video, the button will appear.

    thanks

    April 26, 2016 at 3:14 am #66413
    admin
    Keymaster

    Thats not something that will come from eStore. You need to see if your video embedder has an option to popup some HTML content or a link after a certain time period. You then put eStore’s purchase/subscription button link in there.

    Think of it this way… eStore allows you to put buttons or links that allows customers to pay for items. You put that button or link where you want to on your site.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 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