Add "continue shopping" in mini-cart menu

Hi to all

First I want to apologize because my English is not quite good.

I’m newby in flatsome and the wordpress world. Almost everything is working fine but my first customer developing a Woocommerce site is asking me for add a “continue shopping” button in the mini-cart menu showed after an item is added to the cart.

Can anyone help me???

Thanks in advance.


you can try by adding the following code in (woocommerce/cart/)cart.php (position where you would like to display):

<a class="button-continue-shopping button primary is-outline"  href="<?php echo esc_url( apply_filters( 'woocommerce_continue_shopping_redirect', wc_get_page_permalink( 'shop' ) ) ); ?>">
        ← <?php echo __( 'Continue shopping', 'woocommerce' ) ?>

Note: please keep a backup before doing any update.