This topic has 4 replies, 3 voices, and was last updated 2 years, 11 months ago ago by Olga Barlow
Hi kindly support me how to do the following
setup category page to contain subcategories and products how to control products appears under subcategories like this link
Hello,
Theme Options > WooCommerce > Product catalog > Shop Page Display. Also, you can show custom content as a Shop banner using static blocks, for example, https://xstore.8theme.com/demos/2/marseille03/shop/ Enable WPBakery for static blocks – https://www.8theme.com/documentation/xstore/plugins/wpbakery-page-builder/ , create a block with the desired content, then go to Theme Options > WooCommerce > Shop > Shop page layout > https://prnt.sc/24ncl2t
Regards
Hi
thanks for your support pls advice how to do the following in the page of link
1. let rows contain only categories or products as u see first line has 2 category and one product which is wrong
2. need categories rows full width without product filter beside it and products filters appear start from products rows
3. how let page has 3 category in row and 4 products in products row
4. why their is a product has buy now product in this page
5. how to edit and remove this 2 block from page https://prnt.sc/24sfomv
6. what is the use of “Per page variants separated by commas ”
thanks
Hello,
1), 2) There is no such option in WooCommerce by default. So, it’s possible by additional customization only. For example added below code to child theme functions.php
// remove the subcategories from the product loop
remove_filter( 'woocommerce_product_loop_start', 'woocommerce_maybe_show_product_subcategories' );
// add subcategories before the product loop (yet after catalog_ordering and result_count -> see priority 40)
add_action( 'woocommerce_archive_description', 'et_show_product_subcategories', 40 );
function et_show_product_subcategories() {
$subcategories = woocommerce_maybe_show_product_subcategories();
if ($subcategories) {
echo '<ul class="subcategories">',$subcategories,'</ul>';
}
}
Check now.
3) There is no such option, unfortunately.
4) Because that is an Affiliate product https://woocommerce.com/document/managing-products/#section-17
5) Go to Appearance > Widgets > remove Static Block widget from After the products widget area. Or edit that static block if you want to change content of the block.
6) That option allows you to manage the Show element https://prnt.sc/24y7i9t
Regards
Tagged: category, persuasive, products, setup, themes, woocommerce, wordpress
The issue related to '‘how to setupcategory page to contain categories and products’' has been successfully resolved, and the topic is now closed for further responses