【问题标题】:Woocommerce My Account Navigation not WorkingWoocommerce 我的帐户导航不起作用
【发布时间】:2017-11-01 03:43:56
【问题描述】:

登录到 Woocommerce 我的帐户页面按计划进行,但是当我将鼠标悬停在垂直导航上时 - Woocommerce 没有将“/my-account/”添加到端点的前缀中。

例如。

当前链接:blahblahblah.com/customer-logout/

应该是什么:blahblahblah.com/my-account/customer-logout/

我尝试研究更改端点,但我认为这不是解决方案。这是我缺少的设置吗?

【问题讨论】:

    标签: php wordpress woocommerce


    【解决方案1】:

    猜你已经知道了,但这里有一个有用的链接:https://docs.woocommerce.com/document/woocommerce-endpoints-2-1/

    我遇到了同样的问题,并且能够通过分配“我的帐户页面”来解决。在我们的实例中它之前是空白的,这导致默认链接指向 /orders/ 和 /lost-password/ 而不是 /my-account/orders/ 和 /my-account/lost-password/。

    设置可以在 WooCommerce > 设置 帐户选项卡 帐户页面 - “我的帐户页面”是要编辑的字段。

    可以在类似于 https://www.yoururl.com/wp-admin/admin.php?page=wc-settings&tab=account 的 URL 字符串中找到它

    截图:WooCommerce > Settings > Accounts > Account pages

    【讨论】:

    • 请在答案中包含参考链接的必要部分
    猜你喜欢
    • 1970-01-01
    • 2019-11-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-09-20
    • 1970-01-01
    • 2023-04-04
    相关资源
    最近更新 更多