Back to Shop on product page with View Cart

Home / WooCommerce / Back to Shop on product page with View Cart
28MarBack to Shop on product page with View Cart

add_filter( ‘wc_add_to_cart_message’, ‘my_wc_add_to_cart_message’, 10, 2);

function my_wc_add_to_cart_message( $message, $product_id )
{

$message .= sprintf( ‘%s‘, esc_url( wc_get_page_permalink( ‘shop’ ) ), esc_html__( ‘Continue Shopping ‘, ‘woocommerce’ ) );
return $message;
}

add in function file

Leave a Reply

About

HGSInfotech is the fastest growing and professionally managed Website Designing, Website Development, and Digital Marketing.

Follow Us:

Newsletter

Join our mailing list to receive new Update and announcements

Copyright © 2020 All rights reserved.  HGS Infotech.com

Privacy Policy     |      Terms

denizli escort bayan düzce escort bayan bolvadin escort denizli escort banaz escort escort ısparta escort çankırı afyon escort bayan escort balıkesir escort bolu