Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Shopping button and checkout button

Home / Forums / Virtue Theme / Shopping button and checkout button

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
December 6, 2015 at 11:42 am

Hi Ben/Hannah,

Kindly take a look at my cart page the buttons of Continue Shopping and Proceed to checkout was overlap its other

and the font size and box of Continue Shopping button is not same as Proceed to checkout button.

Kindly select and add a product to the cart to view the buttons. Here’s my link

below is the code I used to my child theme to have a Continue Shopping button.

// add button, Continue Shopping, on cart page
add_action( 'woocommerce_proceed_to_checkout', 'kad_keepshopping', 4 );
function kad_keepshopping() {
echo '<a href="'.apply_filters( 'woocommerce_return_to_shop_redirect', get_permalink( wc_get_page_id( 'shop' ) ) ).'">'.__('Continue Shopping', 'woocommerce' ).'</a>';
}

Thank you very much.

  • The forum ‘Virtue Theme’ is closed to new topics and replies.