- This topic has 5 replies, 5 voices, and was last updated 8 years, 7 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
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”)
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
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.
@bertrand, Alternatively you can create a Buy Now text link and choose to open it in a new window/tab:
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
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
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.