Skip to content

Instantly share code, notes, and snippets.

@ibndawood
Created May 28, 2020 17:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ibndawood/1ed67129c7261df550d5c22f84280668 to your computer and use it in GitHub Desktop.
Save ibndawood/1ed67129c7261df550d5c22f84280668 to your computer and use it in GitHub Desktop.
Electro v2 - Integration with YITH WooCommerce Points and Rewards
add_filter( 'yith_par_messages_class', 'ec_child_remove_messages_class' );
function ec_child_remove_messages_class( $classes ) {
return array(
'woocommerce-cart-notice',
'woocommerce-cart-notice-minimum-amount',
'alert alert-warning'
);
}
.ywpar_apply_discounts .form-row {
margin-bottom: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment