Help with woocommerce checkout thankyou page. No thank you page
-
I don’t know why but after checking out it redirects back to an empty cart, without any comformation or (default woocommerce) thank you page. So its potentially confusing whether or not the submit button worked.
I’m fairly new to code and been working fixing this (so that it goes to a thank you for your order page, and a conformation that the order’s been sent) for a few days and tried many things such as
insert code into function.php to redirect to custom pageadd_action( ‘template_redirect’, ‘wc_custom_redirect_after_purchase’ );
function wc_custom_redirect_after_purchase() {
global $wp;if ( is_checkout() && ! empty( $wp->query_vars[‘order-received’] ) ) {
wp_redirect( ‘https://www.yoururl.com/your-page/’ );
exit;
}
}and, another
which was a specific re-direct from each product which I found in the forums here.
I cannot find what the code was.but neither worked.
I’d like to be able to thank our customers, and notify them that the order has been placed, so help to resolve this issue would be greatly appreciated.
website: astroluminary.com
-
You should look into the gateway you’re using and ensure its not doing a redirect.
Also, some users get this problem if they set the wrong cart and checkout pages in WC > Settings > Checkout
can you explain to me how to check the gateway to make sure its not doing a redirect?
This is our current settings for cart and checkout pages
in WC > Settings > Checkouthttps://astroluminary.com/wp-content/uploads/2016/05/Capture.jpg
Don’t set ‘cart’ to be the parent page for ‘checkout’.
I’ve taken the ‘checkout’ page out of ‘cart’.
Yet it still goes back to ‘my-cart’ after cheking out instead of a thankyou page.Post your status report here.
### WordPress Environment ### Home URL: https://astroluminary.com Site URL: https://astroluminary.com WC Version: 2.5.5 Log Directory Writable: ? WP Version: 4.5.2 WP Multisite: – WP Memory Limit: 168 MB WP Debug Mode: – Language: en_US ### Server Environment ### Server Info: Apache PHP Version: 5.4.35 PHP Post Max Size: 32 MB PHP Time Limit: 60 PHP Max Input Vars: 1000 SUHOSIN Installed: ? MySQL Version: 5.5.45 Max Upload Size: 32 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 2.5.5 : woocommerce_sessions: ? woocommerce_api_keys: ? woocommerce_attribute_taxonomies: ? woocommerce_termmeta: ? woocommerce_downloadable_product_permissions: ? woocommerce_order_items: ? woocommerce_order_itemmeta: ? woocommerce_tax_rates: ? woocommerce_tax_rate_locations: ? ### Active Plugins (28) ### 404 Redirected: by Weberz Hosting – 1.3.2 Akismet: by Automattic – 3.1.10 All In One SEO Pack: by Michael Torbert – 2.3.4.2 All In One WP Security: by Tips and Tricks HQ Peter Ruhul Ivy – 4.0.8 WordPress SEO Comments Plugin: by David Law – 2.2.1 ChimpMate - WordPress MailChimp Assistant: by Voltroid – 1.2.8 Code Snippets: by Shea Bunge – 2.6.1 Contact Form Maker: by WebDorado – 1.8.30 Exclude Pages from Navigation: by Simon Wheatley – 1.92 Google XML Sitemaps: by Arne Brachhold – 4.0.8 Webmaster Spelling Notifications: by GoUrl.io – 1.1.1 Jetpack by WordPress.com: by Automattic – 4.0.2 MCE Table Buttons: by Jake Goldman 10up Oomph – 3.2 Our Team Showcase: by SmartCat – 3.0.0 Reveal IDs: by Oliver Schl?be – 1.4.6.1 Scroll to Anchor: by Bego Mario Garde – 0.3.5 Simple WordPress Membership: by smp7 wp.insider – 3.2.5 Page Builder by SiteOrigin: by SiteOrigin – 2.4.6 SiteOrigin Widgets Bundle: by SiteOrigin – 1.5.11 Stripe WooCommerce Addon: by Syed Nazrul Hassan – 1.0.6 TinyMCE Advanced: by Andrew Ozz – 4.3.10.1 Woo Checkout Field Editor Pro: by ThemeHiGH – 1.0.9 WooCommerce: by WooThemes – 2.5.5 WP Editor: by Benjamin Rojas – 1.2.5.3 WP-Polls: by Lester 'GaMerZ' Chan – 2.73 WP Video Lightbox: by Tips and Tricks HQ Ruhul Amin – 1.7.9 Yet Another Related Posts Plugin: by Adknowledge – 4.3.1 Easy Forms for MailChimp by YIKES: by YIKES – 6.0.5.5 ### Settings ### Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 ### API ### API Enabled: – API Version: 3.1.0 ### WC Pages ### Shop Base: #332 - /astrostore/ Cart: #339 - /my-cart/ Checkout: #342 - /check-out/ My Account: #334 - /my-account/ ### Taxonomies ### Product Types: external (external) grouped (grouped) simple (simple) variable (variable) ### Theme ### Name: SKT White Version: 1.7.0 Author URL: https://www.sktthemes.net Child Theme: ? – If you're modifying WooCommerce on a parent theme you didn't build personally then we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: –
Disable redirection plugins like 404 Redirected
okay, will try that and let you know of the outcome.
Thanks for being patient with this & myself.
thank you, made the change and it worked!
is there a way I can change the message of ‘thank you your order has been placed’?
I am facing the same problem. I am not being redirected to the Thank you page. I am using PayUIndia for Credit/Debit card payments. After the payment is successful it takes me to My Account page. The system status report is provided below. Pls help.
### WordPress Environment ### Home URL: https://right2vote.in Site URL: https://right2vote.in WC Version: 2.6.4 Log Directory Writable: ? WP Version: 4.6.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_US ### Server Environment ### Server Info: Apache/2.4.7 (Ubuntu) PHP Version: ? 5.5.9-1ubuntu4.20 - We recommend a minimum PHP version of 5.6. See: How to update your PHP version PHP Post Max Size: 8 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.35.0 OpenSSL/1.0.1f SUHOSIN Installed: – MySQL Version: 5.7.11 Max Upload Size: 2 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 2.6.4 : woocommerce_sessions: ? woocommerce_api_keys: ? woocommerce_attribute_taxonomies: ? woocommerce_downloadable_product_permissions: ? woocommerce_order_items: ? woocommerce_order_itemmeta: ? woocommerce_tax_rates: ? woocommerce_tax_rate_locations: ? woocommerce_shipping_zones: ? woocommerce_shipping_zone_locations: ? woocommerce_shipping_zone_methods: ? woocommerce_payment_tokens: ? woocommerce_payment_tokenmeta: ? MaxMind GeoIP Database: ? ### Active Plugins (21) ### Adminer: by Frank Bültge – 1.4.5 Dynamic Featured Image: by Ankit Pokhrel – 3.5.2 Google Analytics by MonsterInsights: by MonsterInsights – 5.5.3 Hide Admin Bar From Non-admins: by Stranger Studios – 1.0 If Menu: by Andrei Igna – 0.6 Jetpack by WordPress.com: by Automattic – 4.3.2 WPBakery Visual Composer: by Michael M - WPBakery.com – 4.7.4 WP REST API: by WP REST API Team – 1.2.5 PHP Code Widget: by Otto – 2.3 Quizz: by 13 Llama Studio – 1.03 Right 2 Vote API: by 13 Llama Studio – 1.0.1 Revolution Slider: by ThemePunch – 4.6.93 TablePress: by Tobias B?thge – 1.7 W3 Total Cache: by Frederick Townes – 0.9.4.1 Whoathemes Portfolio: by Whoathemes – 1.0 WooCommerce PayU India (PayUmoney & PayUbiz): by _KDC-Labs – 2.0.10 WooCommerce: by WooThemes – 2.6.4 Yoast SEO: by Team Yoast – 3.7.0 WP-Members: by Chad Butler – 3.1.5.2 WP Smush: by WPMU DEV – 2.4.5 WPCustom Category Image: by Eduardo Stuart – 2.1.8 ### Settings ### Force SSL: – Currency: INR (?) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 ### API ### API Enabled: ? ### WC Pages ### Shop Base: #1166 - /shop/ Cart: ? Page not set Checkout: #9778 - /checkout-5/ My Account: #1169 - /my-account/ ### Taxonomies ### Product Types: external (external) grouped (grouped) simple (simple) variable (variable) ### Theme ### Name: Launch Version: 1.0.4 Author URL: https://themeforest.net/user/whoathemes Child Theme: ? – If you're modifying WooCommerce on a parent theme you didn't build personally then we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: –
I also have same issue, setup included. If soneone could help that would be great.
### WordPress Environment ### Home URL: https://mydomain.fi Site URL: https://mydomain.fi WC Version: 2.6.12 Log Directory Writable: ? WP Version: 4.7.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: fi ### Server Environment ### Server Info: nginx/1.10.0 PHP Version: 5.6.29-1+deb.sury.org~xenial+1 PHP Post Max Size: 100 MB PHP Time Limit: 300 PHP Max Input Vars: 1000 cURL Version: 7.47.0 OpenSSL/1.0.2g SUHOSIN Installed: – Max Upload Size: 100 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Et?l?hetys/ Remote Post -toiminto: ? Et?nouto/ Remote Get -toiminto: ? ### Database ### WC Database Version: 2.6.12 : woocommerce_sessions: ? woocommerce_api_keys: ? woocommerce_attribute_taxonomies: ? woocommerce_downloadable_product_permissions: ? woocommerce_order_items: ? woocommerce_order_itemmeta: ? woocommerce_tax_rates: ? woocommerce_tax_rate_locations: ? woocommerce_shipping_zones: ? woocommerce_shipping_zone_locations: ? woocommerce_shipping_zone_methods: ? woocommerce_payment_tokens: ? woocommerce_payment_tokenmeta: ? MaxMind GeoIP Database: ? ### Active Plugins (41) ### WP Hide & Security Enhancer: -- Nsp Code – 1.3.8 Above The Fold Optimization: -- PageSpeed.pro – 2.7.10 Async JavaScript: -- Clough I.T. Solutions – 1.16.12.12 Autoptimize: -- Frank Goossens (futtta) – 2.1.0 Cookie Notice: -- dFactory – 1.2.37 Menu Duplicator: -- Swayam Tejwani – 1.0 Custom Thank You Page for WooCommerce: -- CloudSkyrocket.com – 2.0 WOO Product Page for Visual Composer: -- SiteSao Team – 1.8.12 Google Tag Manager for WordPress: -- Thomas Geiger – 1.5.1 Enhanced E-commerce for Woocommerce store: -- Tatvic – 1.0.19 Google Analytics Dashboard for WP: -- Alin Marcu – 4.9.5 Improved Sale Badges for WooCommerce: -- Mihajlovic Nenad – 2.2.0 Instock Email Alert for Woocommerce: -- Laszlo Kruchio – 1.1.2 WPBakery Visual Composer: -- Michael M - WPBakery.com – 4.12 Loco Translate: -- Tim Whitlock – 2.0.11 MainWP Child: -- MainWP – 3.2.6 MakeCommerce for WooCommerce: -- Maksekeskus AS – 2.0.0 Nginx Helper: -- rtCamp – 1.9.9 CF Page or Post Duplicator: -- Carlos Fazenda – 0.1 PayPal for WooCommerce: -- Angell EYE – 1.3.1 Post Views Counter: -- dFactory – 1.2.4 Product Enquiry for WooCommerce: -- WisdmLabs – 1.4 Redis Object Cache: -- Till Krüss – 1.3.5 Regenerate Thumbnails (Luo pikkukuvat uudelleen): -- Alex Mills (Viper007Bond) – 2.2.6 Remove WordPress Overhead: -- Omnisite – 1.1.0 RT-Theme 19 | Extensions Plugin: -- RT-Themes – 2.0 Simple Instagram Embed: -- Mattias Hedman – 2.1.1 Social Icons Widget: -- Daniel Nisbet – 16.07 Tawk.to Live Chat: -- Tawkto – 0.2.2 Composium - Visual Composer Extensions: -- Tekanewa Scripts – 3.4.5 UpdraftPlus - Backup/Restore: -- UpdraftPlus.Com DavidAnderson – 1.12.30 WooCommerce Direct Checkout: -- Terry Tsang – 1.1.2 WooCommerce Payment Methods: -- vendocrat – 1.1.2 WOOF - WooCommerce Products Filter: -- realmag777 – 1.1.6.1 WooCommerce Stock Manager: -- Vladislav Musílek – 1.1.3 WooCommerce: -- WooThemes – 2.6.12 Wordfence Security: -- Wordfence – 6.2.10 Yoast SEO: -- Yoast -tiimi – 4.0.2 WP Maintenance Mode: -- Designmodo – 2.0.9 WP Meta and date remover: -- Prasad Kirpekar – 1.2.2 WP-TopBar: -- Bob Goetz – 5.36 ### Settings ### Force SSL: ? Currency: EUR (€) Currency Position: right_space Thousand Separator: Decimal Separator: , Number of Decimals: 2 ### API ### API Enabled: ? ### WC Pages ### Kaupan polkutunnus: #6 - /kauppa/ Ostoskori: #7 - /ostoskori/ Kassa: #8 - /tilaus/ Oma tili: #9 - /asiakastili/ ### Taxonomies ### Product Types: external (external) grouped (grouped) simple (simple) variable (variable) ### Theme ### Name: RT-Theme 19 Version: 2.0.2 Author URL: https://themeforest.net/user/stmcan Child Theme: ? – Suositus: jos muokkaat WooCommercen is?nt?teemaa jota et itse ole tehnyt suosittelemme k?ytt?m??n lapsiteemaa. Katso: Kuinka luodaan lapsiteema WooCommerce Support: ? ### Templates ### Overrides: rttheme19/woocommerce/archive-product.php rttheme19/woocommerce/cart/mini-cart.php rttheme19/woocommerce/checkout/form-checkout.php rttheme19/woocommerce/content-product.php rttheme19/woocommerce/content-product_cat.php rttheme19/woocommerce/content-single-product.php rttheme19/woocommerce/global/breadcrumb.php rttheme19/woocommerce/global/wrapper-end.php rttheme19/woocommerce/global/wrapper-start.php rttheme19/woocommerce/loop/add-to-cart.php rttheme19/woocommerce/loop/loop-end.php rttheme19/woocommerce/loop/loop-start.php rttheme19/woocommerce/loop/price.php rttheme19/woocommerce/single-product/product-image.php rttheme19/woocommerce/single-product/related.php rttheme19/woocommerce/single-product/tabs/additional-information.php rttheme19/woocommerce/single-product/tabs/tabs.php rttheme19/woocommerce/single-product/up-sells.php
-
This reply was modified 8 years, 2 months ago by
jemmasta.
-
This reply was modified 8 years, 2 months ago by
- The topic ‘Help with woocommerce checkout thankyou page. No thank you page’ is closed to new replies.