php 按照从 woocommerce 收到的页面的顺序更改文本

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/38895867/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-26 01:45:09  来源:igfitidea点击:

Change text in order received page from woocommerce

phpwordpresstemplateswoocommercehook-woocommerce

提问by tovishalck

This is probably super easy, but I cannot find where to change this text here in the woocommerce check out page:

这可能非常简单,但是我在 woocommerce 结帐页面中找不到更改此文本的位置:

See this screenshot:enter image description here

看这个截图:在此处输入图片说明

How can I achieve that?

我怎样才能做到这一点?

Thanks.

谢谢。

回答by tovishalck

You can refer to: enter image description here

你可以参考: 在此处输入图片说明

This is where each piece of text comes on the Thank you page. This is part of a detailed post I wrote at: https://www.tychesoftwares.com/how-to-customize-the-woocommerce-thank-you-page/.

这是每段文字出现在感谢页面上的地方。这是我写的详细帖子的一部分:https: //www.tychesoftwares.com/how-to-customize-the-woocommerce-thank-you-page/

I hope this helps.

我希望这有帮助。

回答by Swapnali

You can find Order-details page here -

您可以在此处找到订单详细信息页面 -

Go to this path

走这条路

wp-content -> plugins -> woocommerce -> templates -> order -> order-details.php.

wp-content -> plugins -> woocommerce -> templates -> order -> order-details.php.

into this page you can get Order Details.

进入这个页面你可以得到订单详情

回答by Dinesh

Go to this path.

走这条路。

wp-content -> plugins -> woocommerce -> templates -> checkout

On this location you can get all the files for checkout page.

在此位置,您可以获得结帐页面的所有文件。

回答by Darryl

Having just looked this up, I can confirm the correct location is:

刚刚查了一下,我可以确认正确的位置是:

plugins/woocommerce/templates/checkout/thankyou.php