Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #844745

    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,

    #845786

    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

    #845790

    thanks, can I put this code in the rapid CSS box or only n the functions.php file?

    #845795

    Hey!

    Please add it to the bottom of functions.php file :)

    Regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.