Tagged: x
-
AuthorPosts
-
November 29, 2016 at 11:22 am #1274877
Nina MParticipantSo I want to add this code to my functions php – I’m a little nervous about changing it up – if I want the ‘keep shopping’ button to link to http://www.miachocolates.com/the-mia-store/ how exactly would I put that in the below code –
Thank you!
// add Continue Shopping button next to Proceed to CheckOut button
// =============================================================================
add_action(‘woocommerce_proceed_to_checkout’, ‘themeprefix_back_to_store’);
function themeprefix_back_to_store() { ?>
“><?php _e( ‘Continue Shopping’, ‘woocommerce’ ) ?>
<?php
}
// =============================================================================November 29, 2016 at 11:26 am #1274890
Nabeel AModeratorHi there,
Thanks for writing in! I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
Then you can add the above code in your Child Theme’s functions.php file.
Let us know how this goes!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1274877 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
