I don’t know if this is a WP/Enfold problem, or a apache problem, but our Cart link (either from the cart icon in the menu, or View Cart after adding an item) goes to random pages …. earlier clicking on View Cart from the order page, or from the cart icon was redirecting us back to the product page … now it is redirecting us to a different page …. why would the link change?
Hey pack10natural!
Please try deactivating all active plugins except for WooCommerce and check if that helps. You have currently many plugins installed and activated.
Cheers!
Yigit
With all of the Plug-ins disabled, except for WooCommerce, the result is the same.
While hovering over the “cart” icon, the page-id of the cart always changes to the current page being viewed.
Hey!
I’m not sure why WooCommerce doesn’t return the right cart url on your server but I tested the cart widget with the TwentyThirteen theme (standard wordpress theme) and I noticed the same error. Thus it’s not something we can fix on our end and you must contact the plugin developers: http://www.woothemes.com/support/
To temporarily fix it open up wp-content/plugins/woocommerce/templates/cart/mini-cart.php and replace:
<a href="<?php echo WC()->cart->get_cart_url(); ?>" class="button wc-forward"><?php _e( 'View Cart', 'woocommerce' ); ?></a>
with
<?php
$cart_page_id = wc_get_page_id( 'cart' );
$url = get_permalink($cart_page_id);
?>
<a href="<?php echo $url; ?>" class="button wc-forward"><?php _e( 'View Cart', 'woocommerce' ); ?></a>
Regards,
Peter