Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #338850

    leastweasel
    Participant

    I’m trying to lightly modify the “Your Order” summary block at the bottom of the WooCommerce checkout page. Specifically I would like to:
    1) change the heading “Your Order” to my own custom wording
    2) change “Product” to say “Plan”

    See Screenshot Here:
    https://www.dropbox.com/s/1m5eoyat5bkkxem/Your-Order.jpg?dl=0

    I believe WooCommerce refers to this block as woocommerce_checkout_order_review

    I searched through the WooCommerce documentation and my understanding is that there is supposed to be a file called review-order.php in the /themes/x/woocommerce/checkout/ directory however I don’t see that file. Is this something that X handles differently?

    Is there any way you can help me determine how to edit that block?
    Thanks! (site details on next post)

    #338851

    leastweasel
    Participant
    This reply has been marked as private.
    #339056

    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in!

    You can copy these files wp-content/plugins/woocommerce/templates/checkout/form-checkout.php and wp-content/plugins/woocommerce/templates/checkout/review-order.php into your X theme folder wp-content/themes/x/woocommerce/checkout/. You can find all the text you want to edit in those files.

    Since what you are trying to accomplish requires a template customization, we would like to suggest that you use a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, you can place the files in the child theme’s folder wp-content/themes/x-child/woocommerce/checkout/ instead.

    Hope this helps.

    #339083

    leastweasel
    Participant

    worked great. thank you!

    #339186

    Paul R
    Moderator

    You’re welcome! 🙂