Tagged: cart page
Hi,
I am designing a webshop. When I add products in the cart, a cart icon is popping up at the level of the main menu. When I put the mouse cursor on it I can see which products I put in the cart, which is very good. But the link “See the cart” doesn’t work, when I click on it I go to the home page. I assume it is due to the fact that the expected cart page doesn’t exist and I mixed the woocommerce cart page and the Enfold one. What is the best way to make sure my website consider only a unique cart page?
Kind regards,
Hey Prudent,
Please add following code to Functions.php file in Appearance > Editor
function av_change_cart_link(){
?>
<script>
jQuery(window).load(function(){
jQuery('#top .dropdown_widget .buttons .button:first-child').attr('href','http://kriesi.at');
});
</script>
<?php
}
add_action('wp_footer', 'av_change_cart_link');
Best regards,
Yigit
thanks, can I put this code in the rapid CSS box or only n the functions.php file?