Hi,
I am using Rentalhive. Rentalhive relies on Woocommerce on the backend. As most know, Wocommerce has a few default pages:
- Cart
- Shop
- Checkout
- My account
The issue is that users (website visitors) who know Wordpress and Woocommerce can access the Woocommerce pages just typing the correct URL.
For example, if a visitor types www.website.com/shop, he will see the backend Woocommerce page with all my products (listings), which is totally unwanted. I have managed as a website visitor even to book a listing for a reduced price just accessing the Cart page and deleting items.
This issue is too extensive to detail case by case, but here is one:
- If a registered user has bought a package and knows how to access the orders (placed orders) pages, he will see the payment details for the package he bought (Example: #Listings Package x1…30USD). The package displays as a hyperlink, and clicking on it takes me to the backend Woocommerce page for that product, which again is unwanted and could be used with wrong intentions.
I can tell you what does NOT work:
- Trashing the default Woocommerce pages: this breaks the website flow completely and no bookings can be made. Besides, the Shop page is a special one and even in the trash, it still appears if you type the URL www.website.com/shop
- Not assigning default pages: visitors can still type the correct page URL (example www.website.com/cart) and will have access
- Changing the name of the default pages: could help temporarily until a user figures out the name. Not a very elegant solution.
What DOES work as a workaround:
- Using CSS to hide items, delink hyperlinks, and hide full page content, or using plugins that block content to certain user roles.
But this is a cat and mouse game, and I recently discovered another way users can see Woocommerce pages that they should not. In fact, after installing Woocommerce I think we should not have to touch anything there (which I don’t, but have to use workarounds).
It would be really helpful if you could address this. In short, no user should have any chance to get to a Woocommerce page