Modify Paypal button to open in new window

Is it possible to modify the buy now button from the checkout page so that it will open Paypal in a new window? I need to run marketpress from within an iframe.

  • Philip John
    • DEV MAN’s Apprentice

    Hi Ilokano!

    You would need to edit the MarketPress files yourself....

    Find this file: /wp-content/marketpress/marketpress-includes/template-functions.php

    You will find the Checkout link appears on lines 664 and 708 of this file. Edit the link from this:
    <a class="mp_checkout_link" href

    to this:
    <a target="_blank" class="mp_checkout_link" href

    That should sort ya!

    Phil

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.