Modify WooCommerce Breadcrumbs for Custom Category Page - wordpress

I want to create a WordPress Page that displays a list of WooCommerce (WC) products from a specific product category. This page will act as a custom Product Category Archive.
The problem I have is using the default WC breadcrumbs. When the viewer is on the Single Product page and they click on the Category name in the WC breadcrumbs, they are brought back to the default WC category archive template and NOT my custom page.
Is it possible to modify the WC breadcrumbs to link back to a custom WordPress page?

you can override woocommerce in your theme and going to theme/woocommerce/global/breadcrumb.php and then modify your code.

Related

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.

Replace defalut woocommerce category view by using plugin

Default whole woocommerce category content and replace it with custom value or replace woocoomerce category page with another just by calling in plugin.
based on this link it seems there is no action for whole shop category page content.
its important to doing this with custom plugin and not any changes on template.
i found a simple answer.
use JS to hide shop loop divs and add my plugin resluts to woocommerce_before_shop_loop.
Attention: this is not a really good solution.

How can I add quantity option for product page in woocommerce?

I'm using WooCommerce 2.6.14 and Storefront theme. I want to add quantity field in product page like this page. I've tried many plugins but it's not 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

Woocommerce shop page only categories

I'm working on Woocommerce and my shop page is showing subcategories AND products.
I've tried ticking check boxes in woocommerce catalog preferences to show only categories but it's not working. Also my theme doesn't have any option to shop only categories.
Any help ?
My site is www.tvaltonen.com/fysiomyynti
Try creating a new page "MyShop" with this code:
[product_categories number="12" parent="0"]

Resources