最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Setting Page Visibility for WooCommerce Default Page Doesn't Work

programmeradmin4浏览0评论

On my site, I don't use the chop page or the cart page of WooCommerce as I directly send people to the checkout page. So, I tried to set the page visibility to "Private" but even after that anyone with the shop URL can visit the shop page and it is showing perfectly fine.

Whereas I created a normal test page and made it Private and when I am checking it from an incognito window it is giving 404. Exactly what I want. But this same thing is not working for WooCommerce default pages.

Does anyone know why? I have already tried all the troubleshooting steps but no result. I got no clue why the WooCommerce default pages are not respective the WordPress settings.

On my site, I don't use the chop page or the cart page of WooCommerce as I directly send people to the checkout page. So, I tried to set the page visibility to "Private" but even after that anyone with the shop URL can visit the shop page and it is showing perfectly fine.

Whereas I created a normal test page and made it Private and when I am checking it from an incognito window it is giving 404. Exactly what I want. But this same thing is not working for WooCommerce default pages.

Does anyone know why? I have already tried all the troubleshooting steps but no result. I got no clue why the WooCommerce default pages are not respective the WordPress settings.

Share Improve this question asked May 5, 2020 at 15:18 iSaumyaiSaumya 93619 silver badges36 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

As per the answer here on the WooCommerce WordPress Support Forum:

The shop “page” isn’t actually a WordPress page. It’s an archive of all the products on the store. Because of that, it doesn’t behave like a typical WordPress page.

You could not assign a page to be the shop. Here’s how to do that:

  • Go to WooCommerce > Settings > Products.
  • At the top in the drop-down for Shop page, clear the field.
  • Save your changes.
发布评论

评论列表(0)

  1. 暂无评论