The buy now button not redirecting

[ad_1]

Hi @emanuelhud ,

Thanks for reaching out!

I understand that the code you have shared does not redirect to the checkout page, yes?

Although custom code is outside our scope of support, I have added this exact code to my test site, and it appears to be working as expected.

I went ahead and activated the Hello Elementor theme to be sure that the issue was not a result of the theme, and the results were the same, it redirected to the Checkout page without any issues. Here is a screencast for visual reference.

It’s possible that you have conflicting custom code, or otherwise plugins, on your site that may be overriding the behavior of this code.

I’d suggest checking this and perhaps performing a conflict test to see if any plugins are causing the issue here.

Additionally, you can try clearing your browser cache and refreshing your Permalinks by heading to Dashboard Settings Permalinks, and resave your existing settings, without making any changes to the settings.

Hope this helps!

Thank you, the plugin that makes this conflict is Quantity Plus Minus Button for WooCommerce by CodeAstrology. any suggestion how to achieve -1+ on the quantity side on WooCommerce

Like in the attached below:

https://pasteboard.co/T838GrwLsn4e.png

  • This reply was modified 44 minutes ago by emanuelhud.
  • This reply was modified 43 minutes ago by emanuelhud.
  • This reply was modified 43 minutes ago by emanuelhud.

https://pasteboard.co/T838GrwLsn4e.png

  • This reply was modified 45 minutes ago by emanuelhud.
  • This reply was modified 45 minutes ago by emanuelhud.

https://pasteboard.co/T838GrwLsn4e.png

  • This reply was modified 44 minutes ago by emanuelhud.

Hi @emanuelhud ,

Glad to hear you have identifed the culprit!

Regarding the quantity button, this seems to display, by default, with the Hello Elementor theme and no plugin should be required.

This being said, since this forum is dedicated to support related to the WooCommerce core plugin, you’ll need to reach out to Elementor support for further help with this specific issue.

Here is a direct link to their dedicated forum.

Hope this points you in the right direction!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer