Cyber Monday & Friday 40% Deals Return Coupon code: Friday2025

Color variation not showing on cateory page

Mateo Mateo

Hello,

I’ve created my colors variation for the product:
https://www.studio-comunik.fr/CLIENTS/100POUR100PERSONNALISATION/product/tshirt-manches-courtes/

The colors variation are not displayed on the category page:
https://www.studio-comunik.fr/CLIENTS/100POUR100PERSONNALISATION/product-category/tee-shirts/tee-shirts-courts/

It seems that there is a conflict between the theme and the plugin.
Can you check ? Thanks.

Here are the credentials: ***Added in Site Access area

 

Hakik Zaman

Hi Mateo,

Thanks for reaching out to us.

I have added a plugin called Code Snippets and added the following snippet using the plugin:

add_shortcode( 'wvs_show_archive_variation_ob_version', function(){
ob_start();
echo do_shortcode('[wvs_show_archive_variation]');
return ob_get_clean();
} );
add_filter( 'wp_calculate_image_srcset_meta', '__return_null' );

Then add the shortcode inside your product category template block- https://paste.pics/RQVYV

Now it displays like this- https://paste.pics/RQW0K

Please check now and before checking don’t forget to clear your caches like browser cache, caching plugin cache, and server-side cache.

Hope to hear from you soon.

Thank You

Hakik Zaman

Hi Mateo,

Unfortunately, the <p> is added by the block editor you are using.

You will get more discussion about this on the WordPress.org trac- https://core.trac.wordpress.org/ticket/58366

You can try the following CSS at Appearance > Customize > Additional CSS

.porto-section.product-content p {
display: none;
}

By the way, we get excited & honored when you use our plugin on your site.

If you found my support helpful, could you please leave your valuable review here: https://wordpress.org/support/plugin/woo-variation-swatches/reviews/?filter=5

Your rating keeps us inspired.

Thank You

Mateo Mateo

Hello,

Thanks a lot for your help and quick reply.

Greeeeeatly appreciated 😉

Best regards.

Mateo