Skip to content

Instantly share code, notes, and snippets.

@ibndawood
Last active July 29, 2023 22:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ibndawood/46c6f84a59280c66b5091651a17e9c16 to your computer and use it in GitHub Desktop.
Save ibndawood/46c6f84a59280c66b5091651a17e9c16 to your computer and use it in GitHub Desktop.
Electro v2 - Enable wishlist and compare count
add_filter( 'electro_show_wishlist_count', '__return_true' );
add_filter( 'electro_show_compare_count', '__return_true' );
@renrax
Copy link

renrax commented Jul 29, 2023

Hi, how to add a condition to display if the counter >0
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment