Như tit, code có chức năng thay thế chữ liên hệ khi giá trỗng trong Woocommerce . Thêm vào file function.php của theme

add_filter('woocommerce_empty_price_html', 'custom_call_for_price');

function custom_call_for_price() {
return 'Liên hệ';
}
2 CommentsClose Comments

2 Comments

  • thanhtu
    Posted 24/05/2017 at 1:18 chiều 0Likes

    cái nào không để giá thay bằng liên hệ làm thế nào admin

Leave a comment