Quantcast
Channel: WordPress.org Forums » [WooCommerce] Support
Viewing all articles
Browse latest Browse all 104029

IgniteWoo.com Team on "[Plugin: WooCommerce - excelling eCommerce] Redirect after checkout in WooCommerce"

$
0
0

You could modify the "Thank you" page template to include a simple redirect via javascript. The page is titled "Order Received" by default. The template file itself is in the woocommerce plugin directory unless your theme has a set of checkout page templates.

Look in your theme directory for this file:

woocommerce/checkout/thankyou.php

If it exists, edit that to include a javascript redirect.

If it doesn't exist, copy it from

wp-content/plugins/woocommerce/templates/checkout/thankyou.php

to

wp-content/themes/YOUR_THEME/woocommerce/checkout/thankyou.php

Add something like this:

<script>
window.location = 'http://redirect-to-this-page'
</script>

Viewing all articles
Browse latest Browse all 104029

Trending Articles