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

(FF) On Cart Page – 'Return to Shop' Button

Home / Forums / Virtue Theme / (FF) On Cart Page – 'Return to Shop' Button

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
October 15, 2014 at 1:25 pm

Add/Move “Return to Shop” Button on Cart page
—————————

Would it be possible to move the ‘Return to Shop’ Button on the Cart page to one of the positions indicated in the image here:
Cart page example image:

The R2S button was added using the code snippet below:
/* add button, Return to Shop, on cart page */
add_action( 'woocommerce_after_cart_table', 'kad_keepshopping', 40 );
function kad_keepshopping() {
echo '<p class="return-to-shop"><a class="button kad-btn-primary wc-backward" href="'.apply_filters( 'woocommerce_return_to_shop_redirect', get_permalink( wc_get_page_id( 'shop' ) ) ).'">'.__('Return To Shop', 'woocommerce' ).'</a></p>';
}

Site link (not live):

Thanks
~ Ann

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