- This topic has 1 reply, 2 voices, and was last updated 9 years, 10 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
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.
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