Woocommerce should load 5 additional script files onto a site, however I'm unable to find out why one in particular will not load.
The files that should load are:
add-to-cart.min.js
jquery.blockUI.min.js
woocommerce.min.js
jquery.cookie.min.js
cart-fragments.min.js
However, add-to-cart.min.js does not load. I have attempted to re-install Woocommerce, and also disable my theme and go back to the default TwentyTwenty theme. I've also disabled all plugins apart from WC. No luck with any of these.
Has anybody come across this issue?
In case this comes up fro anyone else, it appears the add-to-cart.min.js only loads if 'Enable AJAX add to cart buttons on archives' is enabled in the WC settings.
Related
When i try to edit with elementor on my site, the page content is visible for about 3 seconds and then disappears. Elementor buttons dont work as well and updates dont reflect on main site.
I have cleared cache, increased wp memory limit and tried upgrading elementor.
Depending on the cache plugins you're using check if css and js files are being mimified/combined, sometimes it can create conflicts.
Also check elementor system requirements here:
What are Elementor’s system requirements?
You can go to Elementor > System info in your dashboard to see if all the requirements are met.
If trying all the above didn't solve the issue, I'd recommend disabling all plugins except Elementor and see if now the issue is resolved.
If it is resolved then it's a plugin causing the conflict, reactivate the plugins one by one to find the one causing the issue.
If disabling all plugins didn't solve the issue you could try switching to a different theme and see if that solves it.
If anything of these solutions resolved the issue you could enable debug log on your wordpress and see what pops up in the debug log file: Debugging in WordPress
Depending on the error shown you could look it up to find a solution or contact your hosting provider's support.
My website islamabad.ginyaki.com.
The issue I am facing is that I have customized plugins Foodonlineforwoocomerce, Advanced custom fields. I have disabled plugin and WordPress updates Manually, in functions.php and in wp-config.php but the customized code gets reversed after a few days and starts working as the old or original plugin, I need to know why that's happening and how can i achieve the solution to this problem.
after reading many similar topics, I still can’t solve this problem; the quantities in the cart don’t update with the new values once the “update cart” button is clicked.
I’ve already tried disabling themes and plugins, but even as the only extension installed and with default theme (tried both StoreFront & Twenty Twenty-one), the WooCommerce cart continues to behave this way. I have also enabled the WordPress debugging logs and I can’t find anything there, just like in the console.
Someone already run a debug on my cart and think that I am a victim of a code conflict, he found this error :
Element.querySelectorAll: '\' is not a valid selector
I don't know where to look for the source of this error or what procedure to follow to recover the expected behavior...
You can try the bug here.
Mini-update : I created a new Wordpress project and installed WooCommerce. I then transferred all the files of this new WooCommerce on my site and the problem still persists.
I also noticed that the columns of the woocommerce_sessions table were not updated when the quantity was changed. I assume that the script responsible for writing to this database could be the cause of this bug.
As I could not find the source of the problem, I started from scratch by changing my hosting solution. Once the files were uploaded on the new server and the configuration files were adapted, the shopping cart works normally again.
I hope you can help.
I've installed Woocommerce for Wordpress and have the following problem.
When a user goes into the page to edit billing address it logs the user out - refreshing the page or saving the new address takes you back into the login screen.
I have no idea how to debug or fix this.
Any help would be much appreciated.
Thanks
Mark
The best way to debug this is to
Change to one of the default WordPress themes. If you are not using a default WordPress theme, deactivate and activate one of the default ones (i.e. Twenty Twelve)
Deactivate any additional plugins (other than WooCommerce).
If it is working that means there's a conflict with either the theme or with one (or more) of the other plugins you are using.
First, re-activate the theme you were using and check. If the error continues, then probably the theme is creating the problem.
If it works fine with the theme, move to the plugins. Start activating one at the time and test. See which plugin is causing the problem.
I've made a clean install of Wordpress on my server and added WooCommerce plugin. Now, some of the pages in the admin panel doesn't display correctly (Dashboard, Media, WooCommerce, etc.).
This is a clean install, only WooCommerce plugin is active.
Do you have any idea why this is happening?
Thanks
Ok so there is VERY little information to go on here so here is the general "Wordpress Broke" debugging guide.
Disable WooCommerce and see if Wordpress goes back to normal. If this is the case then you have to Reinstall WooCommerce. This is where http://docs.woothemes.com/document/known-conflicts would come in handy
If it is still broken without any plugins then you have to check your directory permissions, file structure, and URL Structure.
99% of the time chrome devtools will be your best friend for debuging these problems. It looks like you are not loading some of the core CSS files so lets look to see if you have a a 404, 403, or 500 error when chrome requests them.
Open up chrome and go to the Wordpress admin
Right click anywhere on the page and "Inspect Element"
Look for the red error icon on the right side (top/bottom) and click it to expend the console.
You will probably see the failed requests in there. Make sure the requests are for the correct urls, such as: http://yourdomain.com/wp-admin/load-styles.php or http://yourdomain.com/wp-includes/js/thickbox/thickbox.css
If that are valid URLs and you have verified that the files exist on the server then you have to check directory permissions: http://codex.wordpress.org/Changing_File_Permissions
Best wishes, let me know how it goes
I have seen that problem quite a while right now. You can try adding a specialized theme that has WooCommerce support like BootFrame Core theme. Or any other themes supporting WooCommerce -> https://wordpress.org/themes/search/woocommerce/ . Once, I used a WooCommerce, installed the plugin before changing any theme and had to create a new DB because the one I made before got corrupted due to the theme not working with WooCommerce. It's just a rare case but it can happen.