Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Action on clicking Quick Buy on the Product Page #38

Open
planetoid2001 opened this issue Aug 4, 2020 · 13 comments
Open

No Action on clicking Quick Buy on the Product Page #38

planetoid2001 opened this issue Aug 4, 2020 · 13 comments

Comments

@planetoid2001
Copy link

planetoid2001 commented Aug 4, 2020

Hi Varun,

Hope you are doing well!

I've encountered an issues since a few days wherein on clicking the Quick Buy button, nothing happens. Besides that after clicking on the Quick buy button, all the other buttons on the page stop functioning.

Prior to this the issue I was facing is that on clicking the Quick buy button, the product was getting added to the cart instead of redirecting to the Checkout Page

Could you please help me out with this

Thanks

@welcome
Copy link

welcome bot commented Aug 4, 2020

Thanks for opening your first issue here! Be sure to follow the issue template!

@varunsridharan
Copy link
Owner

@planetoid2001 Can you please check if your site is generating any javascript errors ?

How To Open Browser Console

The Browser Console contains important information on Errors. While most of the errors shown are JavaScript related some server related information can get displayed as well.
Chrome:

Press either CTRL + SHIFT + J to open the “console” tab of the Developer Tools.

Alternative method:

Press either CTRL + SHIFT + I or F12 to open the Developer Tools.
Press ESC (or click on “Show console” in the bottom right corner) to slide the console up.

Note: In Chrome’s dev tools, there is a “console” tab. However, a smaller “slide-up” console can be opened while any of the other tabs is active.

Safari:

Press CTRL + ALT + I to open the Web Inspector.
See Chrome’s step 2. (Chrome and Safari have pretty much identical dev tools.)

Note: Step 1 only works if the “Show Develop menu in menu bar” check box in the Advanced tab of the Preferences menu is checked!

IE9:

Press F12 to open the developer tools.
Click the “console” tab.

Firefox:

Press CTRL + SHIFT + K to open the Web console (COMMAND + SHIFT + K on Macs).

or, if Firebug is installed (recommended):

Press F12 to open Firebug.
Click on the “console” tab.

Opera:

Press CTRL + SHIFT + I to open Dragonfly.
Click on the “console” tab.

@planetoid2001
Copy link
Author

planetoid2001 commented Aug 4, 2020

Hi @varunsridharan

There doesn't seems to be any errors. I just checked the console while on the product Page with the plugin active. No Errors and No warnings.
Capture

Thanks

@ducanhit066
Copy link

I have same problem

@varunsridharan
Copy link
Owner

@ducanhit066 @planetoid2001 i tried to replicate the same issue but working fine for me.

Would you mind sharing your website url where this issue is present ?

@planetoid2001
Copy link
Author

planetoid2001 commented Aug 11, 2020

Hi @varunsridharan

Sorry for the Delay, below is a second site that I made for testing purposes and I am facing the same issue with the quick buy button ...

Also, how exactly do I private reply here? :)
Thanks!

@dvector
Copy link

dvector commented Aug 11, 2020

@planetoid2001 Your ADD TO CART button also appears to be not working. Both buttons work when I remove the following script wp-content/themes/oceanwp/assets/js/third/woo/woo-ajax-add-to-cart.min.js?ver=1.8.6 (seen on line 1029 view-source) So its the theme you are using OceanWP that is loading its own ajax-add-to-cart handler and is conflicting?

@planetoid2001
Copy link
Author

planetoid2001 commented Aug 11, 2020 via email

@varunsridharan
Copy link
Owner

@dvector Thanks for your support :-)

@planetoid2001 can you please share the addtocart ajax plugin download link so i can check & write integration if it requires.

@planetoid2001
Copy link
Author

planetoid2001 commented Aug 12, 2020

@varunsridharan Thanks for looking into this!

There's no separate plugin ... its a feature available in the woocommerce customiser ... WooCommerce -> Single Product -> ENABLE AJAX ADD TO CART. I double checked on this and unchecking this option definitely makes your plugin work. So, the problem seems to be the OceanWP / WooCommerce colab I guess. There is an unrelated conversation on a similar problem with Ajax on the oceanwp support on wordpress.org, pasting the link here just in case it helps
https://wordpress.org/support/topic/what-does-oceanwp-change-in-the-add-to-cart-process/

Looks like there might be more more who have faced this issue but have probably not reported it and may have just disabled Ajax for Add to Cart on Single product (if they figured it out that is) :) or worse may have removed your plugin which is a shame because your plugin is simply amazing.

Just wanted to mention that your support is awesome. Great Going Varun.

Thanks!
Mel

[This thread is closed.] Hi, i have a problem with oceanwp and a plugin called PayPal Plus for Woocommerce. The error occurs when the plugin calls a…

@octoniondesign
Copy link

octoniondesign commented Aug 14, 2020

Hi Varun,

Hope you are doing well!

woocommerce quick buy button not working in IE11.

Could you please help me out with this

Thanks
Mel

@javionniu
Copy link

Hi @varunsridharan

I ran into the same problem, but when I disabled /wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.js through the console, the button resumed its function.

I am using Wordpress 5.5
Woocommerce Quick Buy 2.8.1
image

@varunsridharan
Copy link
Owner

@javionniu
Yes it will work if you disable it. but the isuse dose not occur in all the sites.

It would be great if you can share the site's link so i can check what kind of issue is that. using which i can try to fix it in the next update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants