>> Check out our new theme: Benous - Elementor MultiPurpose WordPress Theme <<
If you can't submit the support ticket here, please use the contact form at THEMELOGI profile page on ThemeForest

Tickets › Tickets › Roneous › How to change URL of header cart icon.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #281

    Hi,
    Please I want to know how can I change the URL of the header cart icon. Because when I click on the icon, it opens the home page instead cart page.

    Thanks.

    #284
    Danny
    Supporter

    Hi criroman,

    Thanks for writing in!

    Normally the header cart icon should point to the cart page. In this case, you can try to reset the site permalink by going to Dashboard > Settings > Permalink, and click on Save button.

    Also, please check the Cart Page option in Dashboard > WooCommerce > Checkout.

    In case you want to manual edit the header cart icon, please open up the inc-cart.php file in themes/roneous/templates/header folder, and find the code below(around line 3):

    <a href="<?php echo esc_url($woocommerce->cart->get_cart_url()); ?>" class="cart-icon">

    … and change it into your new URL:

    <a href="http://yousite.com/cart" class="cart-icon">

    If the problem persists, please send your site URL and the admin account via private reply so I can help you out.

    Best regards,
    Danny

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