Skip to content

Instantly share code, notes, and snippets.

@hakikz
Last active April 22, 2021 06:30
Show Gist options
  • Save hakikz/6f5776350b7749a123a57f923376da43 to your computer and use it in GitHub Desktop.
Save hakikz/6f5776350b7749a123a57f923376da43 to your computer and use it in GitHub Desktop.
<?php
function wvs_noo_mebla_theme_support() {
remove_action( 'woocommerce_after_shop_loop_item', 'wvs_pro_archive_variation_template', 30 );
add_action( 'woocommerce_after_shop_loop_item_title2', 'wvs_pro_archive_variation_template', 10 );
add_action( 'woocommerce_after_shop_loop_item_title', 'wvs_pro_archive_variation_template', 10 );
add_action( 'woocommerce_after_shop_loop_item_title2', 'woocommerce_template_loop_add_to_cart', 11 );
// remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10);
}
add_action( 'init', 'wvs_noo_mebla_theme_support' );
.noo-loop-cart {
display: none;
}
<?php wc_product_class( ' ', $product ); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment