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

Very Basic Problem

by

Tips and Tricks HQ Support Portal › Forums › Simple PayPal Shopping Cart › Simple Shopping Cart Tweaks › Very Basic Problem

  • This topic has 5 replies, 2 voices, and was last updated 13 years, 4 months ago by amin007.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • November 10, 2009 at 5:37 am #406
    Henry Baum
    Member

    Problem is it’s not working. Here’s the page with the add to cart button:

    http://www.theamericanbookofthedead.com/buy-the-book/

    Clicking it just refreshes the same page.

    Instead of coming here: http://www.theamericanbookofthedead.com/100 which shows up fine in preview.

    Thanks.

    November 10, 2009 at 8:36 am #15902
    amin007
    Participant

    @Henry, the simple shopping cart does not have “Automatic Redirection to checkout page” option. When you click the “Add to cart” button it’s actually adding the product to the shopping cart.

    November 10, 2009 at 3:28 pm #15903
    Henry Baum
    Member

    (?) OK, then I’ll have to find something else. Is there a hack for this or does the full version offer a redirect? Because without it people won’t know it’s been processed.

    November 10, 2009 at 11:47 pm #15904
    amin007
    Participant

    The WP eStore has this option and yes you can hack it very easily on the free version too. All you have to do is add a line of PHP code that redirects to the checkout page after “Add to cart” button is clicked.

    November 11, 2009 at 12:07 am #15905
    Henry Baum
    Member

    Which is and where? I’m not very PHP-literate. Really like the plugin and its simplicity except for the redirect part.

    November 11, 2009 at 7:42 am #15906
    amin007
    Participant

    Find the following bit of code in the “wp_shopping_cart.php” file:

    if ($_POST)

    once you find it you will need to add the following at the end of that if statement block:

    $checkout_url = "www.your-checkout-url.com/checkout");
    $redirection_parameter = 'Location: '.$checkout_url;
    header($redirection_parameter);

    Please note that a bit of PHP knowledge is required to be able to do this modification (I can’t really teach you PHP).

  • 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 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
  • WP PDF Stamper Documentation
  • WP Photo Seller 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
  • WP Photo Seller Video Tutorial

Our Other Plugins

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

Copyright © 2023 | Tips and Tricks HQ