Site logo

Archived topic

Woocommerce bugs

2 replies · Started by Krzysztof on April 30, 2021

Viewing posts 1–3 of 3

Hi

I am building a WooCommerce store for my client using GP and I noticed 2 bugs and 1 strange behavior. All of them are in Customize > Layout > Woocommerce.

1. The not-working bit > In the "Single product" section > "Related/Upsell Columns" subsection toggling "Display product meta data" and "Display short description" make no difference. None of them shows in Related / upsells no matter what I choose.

2. The confusing bit > When I toggle "Display short description" In the "Shop" section, the description shows not only in product teasers in categories and tags but also in subcategory descriptions. IMHO there should be a separate setting for that. ATM I want to show descriptions in product teasers but not in subcategory views.

Please see the video in the attachment

Have a nice day
Krzysztof

I found where this category description is hooked up. It is in gp-premium/function/functions.php on line 437

add_action( 'woocommerce_after_subcategory_title', 'generatepress_wc_category_description', 12 );

I added a code to my theme to remove it

function w_wc_setup(){
	remove_action( 'woocommerce_after_subcategory_title', 'generatepress_wc_category_description', 12 );
}

add_action( 'wp', 'w_wc_setup',999 );

After doing that the subcategory descriptions no longer showed.

Other problems from my first post remain though.

Hi there,

Those two options are actually not for the related/upsell products.

They for the single product themselves:
https://www.screencast.com/t/QhUkn5Yzemu

I can see the position of those options can be misleading though.

Will see if we can move them to below the Display product tabs in the future version.

Thanks for the mention!

This archived topic is closed to new replies.