<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>Woocommerce: Redirect to Custom Thank you Page &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/woocommerce-redirect-to-custom-thank-you-page/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/woocommerce-redirect-to-custom-thank-you-page/feed/</link>
		<description></description>
		<lastBuildDate>Sat, 11 Oct 2025 06:52:51 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/woocommerce-redirect-to-custom-thank-you-page/#post-135637</guid>
					<title><![CDATA[Woocommerce: Redirect to Custom Thank you Page]]></title>
					<link>https://theme.co/archive/forums/topic/woocommerce-redirect-to-custom-thank-you-page/#post-135637</link>
					<pubDate>Fri, 31 Oct 2014 05:21:12 +0000</pubDate>
					<dc:creator>Bruce</dc:creator>

					<description>
						<![CDATA[
						<p>If your interested in setting up a custom thank you page after someone makes a purchase from your store, (bypassing the standard &#8216;order received&#8217; page. Simply place the following snippet in your child theme functions php section.</p>
<pre><code>// Redirect custom thank you
 
add_action( &#039;woocommerce_thankyou&#039;, &#039;redirectcustom&#039;);
 
function redirectcustom( $order_id ){
    $order = new WC_Order( $order_id );
 
    $url = &#039;http://yoursite.com/my-cool-thank-you-page&#039;;
 
    if ( $order-&gt;status != &#039;failed&#039; ) { 
        echo &quot;&lt;script type=&#039;text/javascript&#039;&gt;window.location = &#039;&quot; . $url . &quot;&#039;&lt;/script&gt;&quot;;
    }
}</code></pre>
<p>I searched everywhere to do something like this, hope it helps you as it did me 🙂</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/woocommerce-redirect-to-custom-thank-you-page/#post-135789</guid>
					<title><![CDATA[Reply To: Woocommerce: Redirect to Custom Thank you Page]]></title>
					<link>https://theme.co/archive/forums/topic/woocommerce-redirect-to-custom-thank-you-page/#post-135789</link>
					<pubDate>Fri, 31 Oct 2014 12:05:49 +0000</pubDate>
					<dc:creator>Cousett</dc:creator>

					<description>
						<![CDATA[
						<p>Thank you for your contribution. I am sure this will help out many looking for this feature. </p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

