Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › manual page after confirming order
- This topic has 13 replies, 4 voices, and was last updated 14 years, 5 months ago by Ivy.
-
AuthorPosts
-
May 30, 2010 at 12:26 pm #1279eugene17Member
how can i make my manual page redirect without having to go the the small box input?
after entering the details, then redirect to specified page.
May 30, 2010 at 3:17 pm #21081amin007ParticipantLook for the following line of code in the “eStore_payment_submission.php” file:
echo '<div id="success">';
once you find it, add the following lines just before it:
header('Location: www.example.com/thank-you-page-url');
exit;Replace the example link with the URL where you want to redirect and you should be good.
May 30, 2010 at 3:23 pm #21082eugene17Memberas always, thank you very much amin! i know its 12am in australia already thank you very much!
May 30, 2010 at 3:48 pm #21083eugene17Memberwhoopss got this amin.
Warning: Cannot modify header information – headers already sent by (output started at C:inetpubvhoststhepantrycookeryschool.comhttpdocswpwp-contentpluginswp-cart-for-digital-productsvieweStore_shipping_details_view.php:2) in C:inetpubvhoststhepantrycookeryschool.comhttpdocswpwp-contentpluginswp-cart-for-digital-productseStore_payment_submission.php on line 398
there was also an unexpected ; but i removed it from the code. hope you can help
May 31, 2010 at 2:35 am #21084amin007ParticipantThere is an error in the example code I gave you (there is an extra semi-colon). Try the following:
header('Location: http://www.example.com/thank-you-page-url');
exit;May 31, 2010 at 10:11 am #21085eugene17Memberhi amin,
when i removed it the error appeared.
Warning: Cannot modify header information – headers already sent by (output started at C:inetpubvhoststhepantrycookeryschool.comhttpdocswpwp-contentpluginswp-cart-for-digital-productsvieweStore_shipping_details_view.php:2) in C:inetpubvhoststhepantrycookeryschool.comhttpdocswpwp-contentpluginswp-cart-for-digital-productseStore_payment_submission.php on line 398
May 31, 2010 at 1:50 pm #21086amin007ParticipantI tested that code on my test server and it works fine so not sure what is going on in your case.. can you post the exact code that you are using? Please include 2 lines before and after too.
May 31, 2010 at 4:10 pm #21087eugene17Memberhi amin,
here’s the code
else
{
//Not an affiliate conversion
}
}
reset_eStore_cart1();
header(‘Location: http://localhost/wordpress/contact/’);
exit;
echo ‘<div id=”success”>’;
echo “
“.ESTORE_ORDER_COMPLETE;echo ‘
Please click here to return to the Store.
‘;echo “</div>”;
exit;
June 1, 2010 at 12:39 am #21088amin007ParticipantThe code looks fine… I have no idea why it’s giving you that warning.
One thing is that you seem to be using it on your local host? Is it possible for you to test this out on a real server? Lets put it this way.. the local host is really good to test stuff out but not everything works the exact same way on local hosts.
June 1, 2010 at 2:41 am #21089eugene17Memberhi amin. tried it in my test server http://found25.com/pantry/2010/05/vietnamese-i/ add to basket.
the error still persists
Warning: Cannot modify header information – headers already sent by (output started at /home/eugene17/public_html/pantry/wp-content/plugins/wp-cart-for-digital-products/view/eStore_shipping_details_view.php:2) in /home/eugene17/public_html/pantry/wp-content/plugins/wp-cart-for-digital-products/eStore_payment_submission.php on line 399
my code
else
{
//Not an affiliate conversion
}
}
reset_eStore_cart1();
header(‘Location: http://found25.com/pantry/contact’);
exit;
echo ‘<div id=”success”>’;
echo “
“.ESTORE_ORDER_COMPLETE;echo ‘
Please click here to return to the Store.
‘;echo “</div>”;
June 1, 2010 at 3:07 am #21090amin007ParticipantTry removing the following bit of code:
echo '<div id="success">';
echo "
".ESTORE_ORDER_COMPLETE;
echo '
Please click here to return to the Store.
';
echo "</div>";June 1, 2010 at 5:03 am #21091eugene17Memberhi amin. sadly it’s still like that
{
//Not an affiliate conversion
}
}
reset_eStore_cart1();
header(‘Location: http://found25.com/pantry/contact’);
exit;
exit;
}
}
//echo “<html>n”;
Warning: Cannot modify header information – headers already sent by (output started at /home/eugene17/public_html/pantry/wp-content/plugins/wp-cart-for-digital-products/view/eStore_shipping_details_view.php:2) in /home/eugene17/public_html/pantry/wp-content/plugins/wp-cart-for-digital-products/eStore_payment_submission.php on line 399
June 10, 2010 at 10:16 pm #21092rbarbieriMemberI’m having this same problem. Did it get resolved?
June 11, 2010 at 1:24 am #21093IvyMemberI have answered this forum post on your original post here: https://support.tipsandtricks-hq.com/forums/topic/headers-already-sent-on-manual-checkout
-
AuthorPosts
- You must be logged in to reply to this topic.