hi all,
A couple woocommerce questions.
1: when the cart is empty and you go to this page: http://staging.eyemagic.net/cart/, how do you change the “Return to Shop” link?
2: when an item is added to the cart and the “Continue shopping” button appears, how do you change that link?
Thanks again for all your help…you guys are the best!
Dave
Hey Dave!
Please add following code to Quick CSS
1-
p.return-to-shop a {
background: red!important;
color: black!important;
font-size: 16px!important;
}
2-
a.button.wc-forward {
background: red!important;
color: orange!important;
font-size: 14px;
}
Regards,
Yigit
Hi Yigit, thank you for the response. I was referring to the actual destination URL, not the styling.
Hey Dave,
Please add following code to Functions.php file in Appearance > Editor and change the link as needed
function add_custom_link(){
?>
<script>
jQuery(window).load(function(){
jQuery('p.return-to-shop a').attr('href','LINK GOES HERE');
});
</script>
<?php
}
add_action('wp_footer', 'add_custom_link');
Cheers!
Yigit
Thank you!!