-
-
Save renrax/0743c3a57e104bb0cd3250a18ef47a53 to your computer and use it in GitHub Desktop.
Electro v2 - Show rating in grid view
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'init', 'ec_child_add_rating' ); | |
function ec_child_add_rating() { | |
remove_action( 'woocommerce_after_shop_loop_item_title', 'electro_template_loop_rating', 70 ); | |
add_action( 'woocommerce_after_shop_loop_item_title', 'electro_template_loop_rating', 140 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Для изменения элементов продукта в цикле магазина для добавления оценок потребуется специальное кодирование.
Вот пользовательский код для добавления рейтинга в виде сетки