[Support request] Change visible fields on Thank You page

Home Forums Support [Support request] Change visible fields on Thank You page

Home Forums Support Change visible fields on Thank You page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1632486
    Łukasz

    Hello
    No my site: “developer.alepizza.pl” on Thank You Page there is no street name defined in Woocommerce as “billing_address_1”
    How to add that field to Thank You page?
    Thank You Page

    #1632996
    David
    Staff
    Customer Support

    Hi there,

    the Woocommerce plugin handles the templates, that content is controlled by this template:

    https://github.com/woocommerce/woocommerce/blob/release/4.8/templates/order/order-details-customer.php

    If you’re not sure about coding this there are several plugins that allow you to customizer the thank you page. If not it would require custom development.

    #1633173
    Łukasz

    I see that order-details-customer.php is not loaded on Thank You page.

    #1633286
    David
    Staff
    Customer Support

    The Thank You template can be found here – if you need to make modifications to it.:

    https://github.com/woocommerce/woocommerce/blob/release/4.8/templates/checkout/thankyou.php

    But this stack overflow provides a method for hooking in the Customer Details into the Thank You page without having to edit those templates:

    https://stackoverflow.com/a/47338937

    Most users opt for using one of the may plugins available for changing these templates.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.