-
AuthorPosts
-
July 23, 2015 at 8:36 pm #338850
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=0I 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)July 23, 2015 at 8:37 pm #338851This reply has been marked as private.July 24, 2015 at 1:11 am #339056Hello There,
Thanks for writing in!
You can copy these files
wp-content/plugins/woocommerce/templates/checkout/form-checkout.php
andwp-content/plugins/woocommerce/templates/checkout/review-order.php
into your X theme folderwp-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.
July 24, 2015 at 1:44 am #339083worked great. thank you!
July 24, 2015 at 3:58 am #339186You’re welcome! 🙂
-
AuthorPosts