Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6982183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:15:16+00:00 2026-05-27T18:15:16+00:00

I know this is extremely basic, but I am editing a wordpress plugin for

  • 0

I know this is extremely basic, but I am editing a wordpress plugin for my site and I want to know how to send the user to the thankyou.php page once they click the place_order
button. I tried changing the value of the input to thankyou.php but that didn’t work.

Thanks in advance, here’s my php file. (The input is at the bottom of the code)

<?php
/**
 * Pay for order form template
 *
 * DISCLAIMER
 *
 * Do not edit or add directly to this file if you wish to upgrade Jigoshop to newer
 * versions in the future. If you wish to customise Jigoshop core for your needs,
 * please use our GitHub repository to publish essential changes for consideration.
 *
 * @package    Jigoshop
 * @category   Checkout
 * @author     Jigowatt
 * @copyright  Copyright (c) 2011 Jigowatt Ltd.
 * @license    http://jigoshop.com/license/commercial-edition
 */
?>

<?php global $order; ?>
<form id="order_review" method="post">

    <table class="shop_table">
        <thead>
            <tr>
                <th><?php _e('Product', 'jigoshop'); ?></th>
                <th><?php _e('Qty', 'jigoshop'); ?></th>
                <th><?php _e('Totals', 'jigoshop'); ?></th>
            </tr>
        </thead>
        <tfoot>
            <tr>
                <td colspan="2"><?php _e('Subtotal', 'jigoshop'); ?></td>
                <td><?php echo $order->get_subtotal_to_display(); ?></td>
            </tr>
            <?php if ($order->order_shipping>0) : ?><tr>
                <td colspan="2"><?php _e('Shipping', 'jigoshop'); ?></td>
                <td><?php echo $order->get_shipping_to_display(); ?></small></td>
            </tr><?php endif; ?>
            <?php if ($order->get_total_tax()>0) : ?><tr>
                <td colspan="2"><?php _e('Tax', 'jigoshop'); ?></td>
                <td><?php echo jigoshop_price($order->get_total_tax()); ?></td>
            </tr><?php endif; ?>
            <?php if ($order->order_discount>0) : ?><tr class="discount">
                <td colspan="2"><?php _e('Discount', 'jigoshop'); ?></td>
                <td>-<?php echo jigoshop_price($order->order_discount); ?></td>
            </tr><?php endif; ?>
            <tr>
                <td colspan="2"><strong><?php _e('Grand Total', 'jigoshop'); ?></strong></td>
                <td><strong><?php echo jigoshop_price($order->order_total); ?></strong></td>
            </tr>
        </tfoot>
        <tbody>
            <?php
            if (sizeof($order->items)>0) : 
                foreach ($order->items as $item) :
                    echo '
                        <tr>
                            <td>'.$item['name'].'</td>
                            <td>'.$item['qty'].'</td>
                            <td>'.jigoshop_price( $item['cost']*$item['qty'] ).'</td>
                        </tr>';
                endforeach; 
            endif;
            ?>
        </tbody>
    </table>

    <div id="payment">

        <div class="form-row">
            <?php jigoshop::nonce_field('pay')?>
            <input type="submit" class="button-alt" name="pay" id="place_order" value="<?php _e('Pay for order', 'jigoshop'); ?>" />

        </div>

    </div>

</form>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:15:17+00:00Added an answer on May 27, 2026 at 6:15 pm

    You’re not specifying the action of the form. The action is the file where the data collected with the form is send to be processed. The following line:

    <form id="order_review" method="post">
    

    Should be:

    <form id="order_review" method="post" action="tankyou.php">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Know this might be rather basic, but I been trying to figure out how
I know this is an extremely simple question... but I do not know the
My apologies for the extremely basic question, I think I know the answer but
I know this sounds extremely newbieish, but even after going through some of the
I know this might be a no-brainer, but please read on. I also know
I know this isn't strictly a programming question but y'all must have experienced this.
I know this is a broad question, but I've inherited several poor performers and
I know this site is written using ASP.Net MVC and I do not see
I know this is not programming directly, but it's regarding a development workstation I'm
I know this rather goes against the idea of enums, but is it possible

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.