wordpress 如何从 woocommerce 2.1.5 的工具菜单中安装缺少的 woocommerce 页面
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/22290352/
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
How to install missing woocommerce pages from tools menu in woocommerce 2.1.5
提问by aishazafar
I have recently installed WooCommerce 2.1.5 that skipped logout and change password links during pages install.
我最近安装了 WooCommerce 2.1.5,它在页面安装过程中跳过了注销和更改密码链接。
In WooCommerce documentation, the WooCommerce team mentioned that there is a feature to add missing pages from tools menu but when I go to the tools menu, I don't see any button to install missing pages.
在 WooCommerce 文档中,WooCommerce 团队提到有一个功能可以从工具菜单中添加缺失的页面,但是当我进入工具菜单时,我没有看到任何用于安装缺失页面的按钮。
How can I get it done?
我怎样才能完成它?
Is there any step I have missed?
有没有我错过的步骤?
Do I need to install a plugin in order to get that button showing in the tools menu?
我是否需要安装插件才能在工具菜单中显示该按钮?
回答by Howli
This can be done by:
这可以通过以下方式完成:
- Go to the "System Status" tab on Woocommerce
- Click on the "Tools" tab at the top of the page
- On that page, the ninth option down is called "create pages".
- Clicking that will "install all the missing WooCommerce pages. Pages already defined and set up will not be replaced."
- 转到 Woocommerce 上的“系统状态”选项卡
- 单击页面顶部的“工具”选项卡
- 在该页面上,向下的第九个选项称为“创建页面”。
- 单击它将“安装所有丢失的 WooCommerce 页面。已经定义和设置的页面将不会被替换。”
回答by OpenWebWar
install missing woocommerce pages Woocommerce->Status -> Tools ->Install WooCommerce Pages
安装缺少的 woocommerce 页面 Woocommerce->Status -> Tools ->Install WooCommerce Pages
Install pages Note: This tool will install all the missing WooCommerce pages. Pages already defined and set up will not be replaced.
安装页面 注意:此工具将安装所有缺少的 WooCommerce 页面。已经定义和设置的页面不会被替换。
WooCommerce > 2.1.x Shortcodes:
WooCommerce > 2.1.x 简码:
[woocommerce_cart] – shows the cart page
[woocommerce_checkout] – shows the checkout page
[woocommerce_order_tracking] – shows the order tracking form
[woocommerce_my_account] – shows the user account page
WooCommerce < 2.1.x Shortcodes:
WooCommerce < 2.1.x 简码:
[woocommerce_edit_account] – Edit account pages
[woocommerce_change_password] – shows the change password page
[woocommerce_view_order] – shows the user account view order page
[woocommerce_logout] – shows the logout page
[woocommerce_pay] – shows the checkout pay page
[woocommerce_thankyou] – shows the order received page
[woocommerce_lost_password] – shows the lost password page
[woocommerce_edit_address] – shows the user account edit address page
回答by Thammy Nduduzo Zulu
This is what worked for me regarding missing cart or 404 error message when clicking view cart and how I fixed it.
对于单击查看购物车时缺少购物车或 404 错误消息以及我如何修复它,这对我有用。
Step 1.
第1步。
Create new page and call it Cart. If cart page already exist WP will automatically call it cart-2 or whatever.
创建新页面并将其命名为 Cart。如果购物车页面已经存在,WP 将自动将其命名为 cart-2 或其他任何内容。
Step 2 Add [woocommerce_cart] shortcode on the page.
步骤 2 在页面上添加 [woocommerce_cart] 短代码。
Step 3. Publish this page.
步骤 3. 发布此页面。
Step 4. Now go to woocommerce-->settings--->checkout---> look for check out pages--->under cart looku for cart page . Now save changes.
第 4 步。 现在去 woocommerce--> 设置---> 结帐---> 查找结帐页面---> 在购物车下查找购物车页面。现在保存更改。
Problem solved.
问题解决了。
回答by David
Make sure your old pages have been deleted from the pages trashcan. I was having the same problem reinstalling. I checked the trashcan and my old pages were there. I emptied the trash bin and was able to reinstall.
确保您的旧页面已从页面垃圾箱中删除。我在重新安装时遇到了同样的问题。我检查了垃圾桶,我的旧页面在那里。我清空了垃圾箱并能够重新安装。
回答by Roy Zafar
It is a hard job to uninstall woocommerce plugin, when you have products in it.
当您有产品时,卸载 woocommerce 插件是一项艰巨的工作。
The easiest way to have your woocommerce pages back, is;
恢复 woocommerce 页面的最简单方法是;
- Install woocommerce on some other instance, say on a sub-domain of the same site and configure it. woocommerce pages will be installed.
- Install WordPress Import/Export Plugin.
- From WordPress Tools menu select Export->Pages->All and download the file, that will be in xml format.
- Now, restore this xml file on your original domain thru WordPress Tools menu by selecting Import->Wordpress.
- 在其他实例上安装 woocommerce,比如在同一站点的子域上并配置它。woocommerce 页面将被安装。
- 安装 WordPress 导入/导出插件。
- 从 WordPress 工具菜单中选择导出->页面->全部并下载文件,该文件将为 xml 格式。
- 现在,通过选择“导入”->“Wordpress”,通过 WordPress 工具菜单在您的原始域中恢复此 xml 文件。
and that is.
那就是。
Your woocommerce pages are back.
您的 woocommerce 页面又回来了。
GoodLuck!
祝你好运!