I want to customize woo-commerce product page.
TOOLSET provide template for single product. Is there anyway I can customize product category page? (Which shows products when click to any category)
If yes please mention the steps.
I followed this tutorial and successfully added a content. Now the issue is I have to display related products that are in that specific category not all products in all categories.
It sounds like you have already created a custom archive for product categories.
This will display all products of the same category (determined by the URL of the page).
So I'm now sure what your intention is to show related products of the same category, because the archive itself displays all of the products of the same category.
The expected context for related products is when you are viewing a single product page. (This is how WooCommerce itself works, if you turn off Toolset and visit the standard WooCommerce shop and product pages, that is what you will see.)
The shortcode available with Toolset for showing related products—wpv-woo-related_products—works on the single product page, not on the archive pages.
You got me wrong! Referring to related products here means I want to show products that are marked to that category on the archive page.
For now it is displaying all the products that are present in "woo-commerce products" in general
It is slightly different depending on whether you are using Layouts or not.
Without Layouts you go to Toolset > Custom Archives and create a custom archive for the product category archive, as shown in the screenshot.
This custom archive will be used when you visit a product category archive URL, e.g. hidden link
At that URL only the products with the product category of accessories would be shown.
If you are using Layouts it is essentially the same, expect you create a new Layout at Toolset > Layouts and assign the Layout to the product category archive. That Layout template will then be used at product category archive URLs. To output the products themselves, your template should include a WordPress Archive cell (which is effectively the same as a custom archive created without Layouts, but where the Loop Selection is set by the Layout—which in this case would be used on the product category archives).
In either case only the products with the category specified by the URL would be shown.
If you are seeing all products you must be doing something differently.
2. I'm using DIVI to show contents like products and other sections (image 1).
3. But I only want show products in 2 column not the whole page.
4. Issue is when I add other section in DIVI it appears in 2 columns (image 2).
You understand the issue? I want to display products in 2 columns not the whole page/sections.
New threads created by Nigel and linked to this one are listed below:
Support policy is to deal with a single issue in a thread, which makes it easier for other users to discover solutions to related problems in the forum, so I've split this ticket off into its own thread and I'll continue there.