‘View Cart’ on Product Page is instead linking to Checkout
-
This applies on any product page.
When you click ‘View Cart’ it instead takes you to the checkout. Additionally, if you enable the below setting, it will also take you to the checkout. This was just for testing purposes, I dont enable this.
“Navigate to WooCommerce > Settings > Products.
Look for the option “Redirect to the cart page after successful addition”.”
I also used the following code to get woocommerce to print what it thinks is the Cart URL to the bottom of the page:
add_action(‘wp_footer’, ‘debug_wc_cart_url’, 100); function debug_wc_cart_url() { echo ‘<pre>’; var_dump(wc_get_cart_url()); // Debug the cart URL echo ‘</pre>’; }
it printed: string(42) “https://www.fragrancefractions.co.uk/cart/”
So that suggests it’s not woocommerce that’s experiencing the issue.
The main reason I believe this is a Codesigner issue because it goes away if i deactivate Codesigner and Codesigner Pro. Several hours of testing every plugin installed led me to this conclusion.
It’s not a code snippet, i’ve tested disabling my snippets plugin.
I am a Pro subscriber.
Can you make any guesses as to what might be causing this? I’m baffled.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.