Hello,
Try to replace the function that displays new button with this one
function replace_add_to_cart() {
global $product;
$link = $product->get_permalink();
echo '<a href="'. esc_attr($link) .'" class="button">Read more</a>';
}
Regards
Hello,
Try to replace the function that displays new button with this one
function replace_add_to_cart() {
global $product;
$link = $product->get_permalink();
echo '<a href="'. esc_attr($link) .'" class="button">Read more</a>';
}
Regards