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

Reply To: WP Cart – PayPal form in new window

by

Tips and Tricks HQ Support Portal › Forums › Simple PayPal Shopping Cart › WP Cart – PayPal form in new window › Reply To: WP Cart – PayPal form in new window

March 7, 2010 at 12:17 am #17410
amin007
Participant

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);”>’;

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