How to add button next to add button in shop page in woo-commerce?

Add button next to add button in shop page in woo-commerce.

add_action( ‘woocommerce_after_shop_loop_item’, ‘view_product_button_shop’, 10 );

function view_product_button_shop() {

global $product;

$link = $product->get_permalink();

echo ‘View Product‘;

}

The post How to add button next to add button in shop page in woo-commerce? appeared first on wpcodekit.

Leave a Reply

Your email address will not be published. Required fields are marked *