wpdwc_buy_now_button_link

/** Function to change the Connect for WooCommerce 'buy now' button link */
function acme_buy_now_link( $newbuybtn ) {
    $newbuybtn = '<a href="'. get_permalink() .'" class="button wpd-connect-btn buy-now">Buy Now</a>';
    return $newbuybtn;
}
add_filter( 'wpdwc_buy_now_button_link', 'acme_buy_now_link' );