• Resolved michaelmmanga

    (@michaelmmanga)


    i want?to redirect to a thank you page after checkout on my woocommerce divi site, I’ve tried adding a plugin and php but it still has the same message, the following is the code of the message it gives me can you asses to see if you can find where can change this: “<div class=”woocommerce-order”><p class=”woocommerce-notice woocommerce-notice–success woocommerce-thankyou-order-received”>Thank you. Your order has been received.&lt;br&gt;&lt;table class=&quot;mamopay_orderstatus&quot;&gt;&lt;tr&gt;&lt;td&gt;Order Id: &lt;/td&gt;&lt;td&gt;1093347&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Order Status: &lt;/td&gt;&lt;td&gt;processing&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Payment Status: &lt;/td&gt;&lt;td&gt;captured&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Transaction Id: &lt;/td&gt;&lt;td&gt;MPB-CHRG-3C62D7C6EE&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan = &quot;2&quot;&gt;&lt;i&gt;Please note your Order id and Transaction id for future reference.&lt;/i&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</p></div>”

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Saif

    (@babylon1999)

    Hello @michaelmmanga,

    Thank you for reaching out!

    i want to redirect to a thank you page after checkout on my woocommerce divi site, I’ve tried adding a plugin and php but it still has the same message, the following is the code of the message it gives me can you asses to see if you can find where can change this

    You should be re-directed to the order-received page by default once the order is placed. Could you please attach a few screenshots of what you’re seeing instead?

    If you don’t already have a screenshot service installed, here are a few free options:?
    https://snipboard.io
    https://skitch.com/
    https://getcloudapp.com/

    Also, please attach a copy of your system status. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support” (after you scroll down a bit)”. Once done, please paste it here in your reply or via a text-sharing service like https://gist.github.com/.

    Look forward to hearing back from you.

    Thread Starter michaelmmanga

    (@michaelmmanga)

    Above is a screenshot

    Here is the status report: "

     WordPress Environment
    
    WordPress address (URL): https://dev1.equisouq.com<br>Site address (URL): https://dev1.equisouq.com<br>WC Version: 8.2.1<br>REST API Version: ? 8.2.1<br>WC Blocks Version: ? 11.1.2<br>Action Scheduler Version: ? 3.6.3<br>Log Directory Writable: ?<br>WP Version: 6.3.2<br>WP Multisite: –<br>WP Memory Limit: 256 MB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: en_US<br>External object cache: – Server Environment
    
    Server Info: Apache<br>PHP Version: 8.0.30<br>PHP Post Max Size: 128 MB<br>PHP Time Limit: 120<br>PHP Max Input Vars: 1000<br>cURL Version: 7.68.0<br>OpenSSL/1.1.1f
    
    SUHOSIN Installed: –<br>MySQL Version: 10.3.38-MariaDB-0ubuntu0.20.04.1<br>Max Upload Size: 128 MB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ? Database
    
    WC Database Version: 8.2.1<br>WC Database Prefix: 1XHDOK_<br>Total Database Size: 128.23MB<br>Database Data Size: 120.91MB<br>Database Index Size: 7.32MB<br>1XHDOK_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>1XHDOK_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>1XHDOK_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>1XHDOK_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>1XHDOK_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>1XHDOK_woocommerce_order_itemmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB<br>1XHDOK_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>1XHDOK_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>1XHDOK_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>1XHDOK_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>1XHDOK_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>1XHDOK_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>1XHDOK_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>1XHDOK_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>1XHDOK_actionscheduler_actions: Data: 1.02MB + Index: 0.50MB + Engine InnoDB<br>1XHDOK_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>1XHDOK_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>1XHDOK_actionscheduler_logs: Data: 1.20MB + Index: 0.27MB + Engine InnoDB<br>1XHDOK_berocket_termmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>1XHDOK_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>1XHDOK_comments: Data: 0.05MB + Index: 0.09MB + Engine InnoDB<br>1XHDOK_easywpsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>1XHDOK_easywpsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>1XHDOK_fsmpt_email_logs: Data: 0.11MB + Index: 0.00MB + Engine InnoDB<br>1XHDOK_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>1XHDOK_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>1XHDOK_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>1XHDOK_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>1XHDOK_nextend2_section_storage: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>1XHDOK_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>1XHDOK_nextend2_smartslider3_sliders: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>1XHDOK_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>1XHDOK_nextend2_smartslider3_slides: Data: 0.05MB + Index: 0.11MB + Engine InnoDB<br>1XHDOK_options: Data: 6.02MB + Index: 0.45MB + Engine InnoDB<br>1XHDOK_postmeta: Data: 7.27MB + Index: 3.23MB + Engine InnoDB<br>1XHDOK_posts: Data: 103.39MB + Index: 0.69MB + Engine InnoDB<br>1XHDOK_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>1XHDOK_termmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>1XHDOK_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>1XHDOK_term_relationships: Data: 0.11MB + Index: 0.08MB + Engine InnoDB<br>1XHDOK_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>1XHDOK_usermeta: Data: 0.08MB + Index: 0.03MB + Engine InnoDB<br>1XHDOK_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>1XHDOK_user_registration_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>1XHDOK_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB<br>1XHDOK_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB<br>1XHDOK_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>1XHDOK_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>1XHDOK_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>1XHDOK_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>1XHDOK_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>1XHDOK_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>1XHDOK_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>1XHDOK_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>1XHDOK_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>1XHDOK_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>1XHDOK_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>1XHDOK_wc_product_attributes_lookup: Data: 0.06MB + Index: 0.05MB + Engine InnoDB<br>1XHDOK_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>1XHDOK_wc_product_meta_lookup: Data: 0.08MB + Index: 0.11MB + Engine InnoDB<br>1XHDOK_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>1XHDOK_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>1XHDOK_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>1XHDOK_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>1XHDOK_woof_query_cache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>1XHDOK_woof_sd: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>1XHDOK_woof_sd_presets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>1XHDOK_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB<br>1XHDOK_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>1XHDOK_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>1XHDOK_wpf_filters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>1XHDOK_wpf_meta_keys: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>1XHDOK_wpf_meta_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>1XHDOK_wpf_meta_values_bk: Data: 0.02MB + Index: 0.02MB + Engine InnoDB Post Type Counts
    
    attachment: 899<br>br_product_filter: 1<br>brand: 1<br>custom_css: 1<br>customize_changeset: 2<br>et_body_layout: 127<br>et_footer_layout: 1<br>et_header_layout: 1<br>et_pb_layout: 79<br>et_template: 224<br>et_theme_builder: 3<br>nav_menu_item: 72<br>page: 29<br>post: 7<br>product: 128<br>product_variation: 260<br>product-brand: 8<br>revision: 2311<br>shop_order: 27<br>user_registration: 3<br>wcpcsu-custom-post: 3<br>wp_global_styles: 2<br>wp_navigation: 1 Security
    
    Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (14)
    
    FluentSMTP: by FluentSMTP & WPManageNinja Team – 2.2.6<br>All-in-One WP Migration Unlimited Extension: by ServMask – 2.53<br>All-in-One WP Migration: by ServMask – 7.79<br>Mamo Business: by Mamo Limited – 1.2.1<br>Code Snippets: by Code Snippets Pro – 3.5.0<br>Custom Currency For WooCommerce: by I am Programmer – 7.2.0<br>Custom Post Type Widgets: by thingsym – 1.5.2<br>LiteSpeed Cache: by LiteSpeed Technologies – 5.7<br>Max Mega Menu - Pro Addon: by megamenu.com – 2.2.9.1<br>Max Mega Menu: by megamenu.com – 3.2.4<br>Variation Swatches for WooCommerce: by CartFlows – 1.0.7<br>Checkout Field Editor for WooCommerce: by ThemeHigh – 1.9.1<br>HUSKY - Products Filter Professional for WooCommerce: by realmag777 – 1.3.4.4<br>WooCommerce: by Automattic – 8.2.1 Inactive Plugins (4)
    
    Advanced Google reCAPTCHA: by WebFactory Ltd – 1.0.15<br>Easy WP SMTP: by Easy WP SMTP – 2.1.2<br>HubSpot All-In-One Marketing - Forms, Popups, Live Chat: by HubSpot – 10.2.5<br>Thank You Page for WooCommerce: by Nitin Prakash – 4.0.2 Dropin Plugins (1)
    
    maintenance.php: maintenance.php Settings
    
    API Enabled: –<br>Force SSL: –<br>Currency: AED (AED)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)
    
    Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: ?<br>HPOS feature screen enabled: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – WC Pages
    
    Shop base: #39 - /shop/<br>Cart: #40 - /cart/<br>Checkout: #41 - /checkout/<br>My account: #42 - /my-account/<br>Terms and conditions: ? Page not set Theme
    
    Name: Divi<br>Version: 4.22.2<br>Author URL: https://www.elegantthemes.com<br>Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme<br>WooCommerce Support: ? Templates
    
    Overrides: – Admin
    
    Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-variation-management<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page
    
    Disabled Features: customize-store<br>minified-js<br>new-product-management-experience<br>settings<br>async-product-editor-category-field
    
    Daily Cron: ? Next scheduled: 2023-10-19 14:33:46 +04:00<br>Options: ?<br>Notes: 99<br>Onboarding: skipped Action Scheduler
    
    Canceled: 1<br>Oldest: 2023-09-18 17:10:34 +0400<br>Newest: 2023-09-18 17:10:34 +0400
    
    Complete: 1,184<br>Oldest: 2023-09-18 05:45:34 +0400<br>Newest: 2023-10-19 00:11:23 +0400
    
    Failed: 45<br>Oldest: 2023-07-04 18:35:55 +0400<br>Newest: 2023-10-18 23:08:56 +0400
    
    Pending: 5<br>Oldest: 2023-10-19 23:08:56 +0400<br>Newest: 2023-10-23 14:02:11 +0400 Status report information
    
    Generated at: 2023-10-19 00:14:00 +04:00<br>
    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @michaelmmanga

    Thank You for sharing additional information.

    It looks like you want to modify or redirect to a custom “Thank you” page after a customer completes a checkout. But the code you’ve used is the output HTML of the “Order Received” page.

    You can certainly achieve this in a different way! You can use custom code, a plugin, or even override WooCommerce templates to accomplish it.

    If you want to do it by modifying the template file in WooCommerce that generates this page. This file is typically located in wp-content/plugins/woocommerce/templates/checkout/thankyou.php.

    You can override this template by copying it to your theme’s folder under /woocommerce/checkout/thankyou.php and then making the changes you want. For instance, you could add a JavaScript redirect at the top of the file to redirect to a different page.

    If you’re looking to use custom code to redirect to a custom thank you page, you can use the snippet shared on this guide: https://www.businessbloomer.com/resolved-woocommerce-redirect-custom-thank-page/.

    On the other hand, if you prefer using a plugin to customize your thank you page, consider using the Custom Thank You and Success Pages, Custom Thank You Pages, or Thank You Page for WooCommerce.

    I hope this helps! Please let us know how it goes or if you need further assistance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Checkout Thankyou Page’ is closed to new replies.