How to create nested url on WooCommerce? - woocommerce

I want to have nested url on my wordpress site, having woocommerce:
site.com/shop/hair/shampoo
shop - shop page,
hair - category page,
shampoo - product page
after I changed the permalink settings, it partially worked:
If I go to page category, I get 404 error
site.com/shop/hair

Related

How to remove product-category from urls in Woocommerce?

I'm new to woocommerce and I'm struggling to remove product-category from the category url.
I've read the solution provided on WooCommerce- How to remove product & product-category from urls? but I'm not sure if it still works.
Woocommerce shop entry page
https://floridapsychics.org/shop/
A product page, it doesn't show any product-category so it's perfectly fine
https://floridapsychics.org/shop/tarot-cards/dionysus-classic-design-tarot-cards-deck-with-guidebook
If you click on Tarot Cards in the breadcrumb it will lead to
https://floridapsychics.org/product-category/tarot-cards
I want above url to be
https://floridapsychics.org/shop/tarot-cards
How to do it?
Here are my permalink settings
Permalinks settings
I tried tweaking permalink settings but none seem to work.

Customize WordPress product page

I have the Astra plugin installed in wordpress.
I would like to edit the product page which is opened when the a product is clicked.
Not sure where to go to find that product page to edit.
The list all pages doesn't list the product page.
Thanks.

Wordpress: the category page display a 404 error when I change the Permalink settings

Each post of my wordpress blog is in a category and I added a Categories widget in my blog. I changed my permalink settings from Plain to Post Name. Now I have an issue:
When I configure my permalink with post name to have friendly URL the page that displays all the posts of a category or when I go to myblog/category/name-category, I have a 404 error. But when I have plain permalinks, each category page display all the posts.
Take an example of what I would like. If I have a category Typing and I put the posts: Post1 and Post4 in this category. I would like to have a page Typing where I can see a list with Post1 and Post4.
Is it because the id can't be translate in friendly URL for the category? Someone know how to configure properly wordpress to display these pages?
I found the solution, some permalink plugins blocked the Post Name permalinks settings so I deactivated them and the category pages are working.

Hide WooCommerce shop page

I am developing a site and using WooCommerce. My purchased theme is supporting WooCommerce.
by Default WooCommerce make a shop page where it shows the archives of products and other page that i have made is Packages where all the packages are showing with categories.
Now i want to completely hide this page and block it in SEO
www.abc.com/shop/
I just want to show this page
www.abc.com/packages
Well i figured it out.
Basically there are 2 pages
1) shop - which is working as an archive page to list down products.
2) Packages - which is custom designed and showing products in different category
Now I don't want users to view (shop) page so I installed a plugin which redirects the user to second page (packages)
In your dashboard go
WooCommerce -> Settings -> Products
Change the Product Archive / Shop Page from Shop to packages and save the changes
Next
Go to the Settings tab on your dashboard -> Permalinks
Scroll to the bottom of the page
Change Product permalink base to Shop base
Save those changes and going to www.abc.com/packages should show the products

Woo Commerce - does anyone know how to show Product Categories as main Shop landing page?

I read a similar post asking about how to display a top level Shop page with only "Product Categories" - not subcategories, no products.
I have selected the settings on WooCommerce - Settings | Catalog -
x Show subcategories on category pages
x Show subcategories on the shop page
x When showing subcategories, hide products
I still only see my products, not any categories.
Any suggestions?
Show subcategories on the shop page should do the trick, have you tried disabling any other plugins and using the default theme?
Some themes & plugins might interfere.

Resources