I have gone through every conceivable update to try and get this to work.
I have a clients blog where we're trying to implement Woocommerce, but despite working when we first lauched, something has gone wrong recently and I cannot track it down.
I have gone through both options listed here:
http://docs.woothemes.com/document/third-party-custom-theme-compatibility/
I have updated Wordpress in the dashboard, this caused issues so I then updated it manually and ftp'd all the content to the site, after reading this.
https://wordpress.org/support/topic/fatal-error-after-41-upgrade#post-6349382
Then I had a notification that Woocommerce could be updated, so I took advantage of that.
I have also tried disabling and re-enabling woocommerce, and deleting and reinstalling it. The only weird discrepancy is that in the previous version if I checked the woocommerce pages in the dashboard, I could see these hooks:
[woocommerce_checkout]
[woocommerce_cart]
But now those are not present and the page is not editable, but I assume this is part of the latest woocommerce version.
I also tried to enable stable wordpress themes (twentytwelve and twentyfifteen) to see if there was a conflict with my child theme, but that didn't solve anything. This is as per the advice here:
https://support.woothemes.com/hc/en-us/articles/203112147-How-to-Get-Help
Here is a screenshot from one of my empty href's.
I realise this is a vague question with no code referenced, but I just don't know what is going on.
I can send a link to the site if that helps I am just hoping someone else has also come up against this issue.
In your dashboard go to WooCommerce > Settings and check in every tab that the right page is linked. This will allow the Woo links to work correctly.
Related
my wordpress website has woocommerce installed with multiple tshirts and variations. When I click on the variations button within a specific product, I get the pinwheel and the backend just keeps loading. It never resolves.
Also worth nothing is that I have tried deleting all plugins except Woocommerce and this still happens. At the moment, I am also unable to delete any plugins on the site. The site just loads and loads and never resolves.
I'm assuming something funky is messing with the coding on the site. Anyone ever experienced this before or know what I can try?
At some point, the shop page started to redirect to the wp-admin (admin backend) page. I don't know why.
Commonly proposed solutions include:
Delete the shop page, and add it again using the WC > Status > Tools > Create default WooCommerce pages.
Make sure the WP URLs are set correctly.
Neither had any effect. The shop page URL is currently at https://website.com/?page_id=88, reflecting the number of times I tried remaking default pages.
I have also tried adding some text to the page, though it should normally be empty. This had no effect.
Ran out of ideas to try. The rest of the website mostly works.
Possibly related annoyance bug: the shop automatically adds the first product to the cart whenever one visits the site. Somewhat annoying, but not disastrous.
Versions:
WooCommerce 3.2.6
Wordpress 4.9.1
The bug seems to be fixed by changing the Home page to the Shop page in the WP settings > reading.
Unfortunately, this workaround doesn't fix the underlying issue entirely because the bug resurfaces if one selects the front page instead of the shop as the home page.
I'm not able to add a question/comment, so I'll try to add this as an answer...
If you are using IIS and have setup your site as a virtual application, this may cause this error. I had this same thing during testing. Once I created the website as it's own proper website and accessed it properly, this fixed the issue for me.
I had this issue and fixed it clearing browser cache
I hope it helps
I've got to work on this site which is running Flatsome theme. i've updated both woocommerce and flatsome to it's newest versions. (woocommerce 2.5 and flatsome Version: 2.8.1)
and the site works perfectly, except for the mini cart. when an item is added it registers in the mini cart. but thereafter any addition or removal of items are not shown in the mini cart. in layman's terms it freezes! even when the cart is cleared it will show the same initial product(s) added.
Tried disabling all plugins including W3C total cache and still no luck?
Can someone please help me? Pretty please?
PS - If you reload the site while this issue is happening, you can see for a brief moment the actual cart value is there in the mini cart, but it resets back to a wrong value when the site is fully loaded. i believe this is caused by a cookie issue but i don't know where to start .
Issue was Server caching! Disabled varnish and we're golden.
Hope this help any other facing the same issue as i am. Go to the Wordpress thread here for Mike's Awesome Solution
Thank you everyone who take a look into this! :)
Huh... Luckily i recently worked in the exact teplate for the production of an e-shop. The point is that Flatsome has a mechanism where the DOM is replaced with AJAX after the initial load. So I recommend the use of firebug to see which javascript files are running on load.
In my experience the problem was with a global php file under woocommerce plugin. Also the developers of this template have put comments in the code in case someone needs to change something in their site.
To sum up, you should not alter the core files of Woocommerce because it gets messy when the AJAX replacements take place. I recommend you replace the whole woocommerce plugin with a fresh one in a new installation and see how it works.
First of all, thank you for bothering to read this topic, I feel like this is going to be a long and painful one, as I'm trying for about 7-8 hours now to get what the hell is happening with this plugin.
I am a developer, so I know what I'm doing, and this isn't my first page I did using WordPress.
The problem started when I started reading up on woocommerce's documentations which are widely known as quite poorly documented.
Since I made a custom theme, which I have had before already, I've decided to use the overwrite method as well as the woocommerce.php method for customizing the plugin to fit the site as I'd like it to.
The woocommerce_content(); is customized now, and nicely working as well as the product pages (single product page) which are customized as well, and working.
As soon as I try to access the account features, nothing happens. I've tried adding echoes for debugging purposes to the my-account.php, but it does not echo what I write, so I assume the shortcode cannot load for some reason, because it does not reach the my-account.php page as it should, and it points somewhere else perhaps?
Then I've noticed that when I click the "Add to cart" button, it appends the element with a "View cart" button as well, so me thinking this is working, I left it as it is. For like 5 seconds, because right after a page refresh, or navigating to another page, the content of the cart gets empties, I cannot even see the cart page, nor the login page, nor the create account page, or anything in fact.
Everything is working that is inside my "wp-content\themes\mytheme\woocommerce" folder, but nothing else that is inside my
"wp-content\themes\mytheme\woocommerce\any-subfolder"
The woocommerce system status does not show any error, nor the PHP error log, nor anything else.
I have a VERY long list of "Overrides (WooCommerce):" which I don't want to paste here because of reasons.
The only success when I was able to at least get something out from the plugin, is when I used the wordpress function "do_shortcode();" and added the myaccount or cart shortcode myself to a page, THAT worked, and printed it out, however I'd like to use the original method, so the code won't get too complex for later on.
Every other site is working fine, I'm currently running this on localhost, cookies working, sessions working, I log everything yet there is no error, mod_rewrite working correctly, yet I am stuck.
Looking for a patient gentleman to help me on this painful day...
EDIT:
Added "[woocommerce_my_account]" to the "shop" page which page's file is the "woocommerce.php" has actually loaded up the correct my-account.php from "themeroot/woocommerce/myaccount/my-account.php" It echoes out my debug messages as well, so the shortcodes should be working, perhaps this isn't just a woocommerce related issue?
EDIT2:
After fiddling around a LOT, I've come to understand that the wrapper hook it is supposed to do (div id=content and div id=main) does NOT get hooked in it, perhaps it is just a small problem, since I've removed them with remove_action, and the "Shop" page still displayed properly... I have NO idea what is going on with this plugin, but I don't have the luxury of time to fiddle around with it... This is such a pain...
EDIT3:
The plugin works perfectly on any other basic theme, so there is something up with my custom theme. Even after hours of searching the differences between the default theme (twenty-fifteen) and mine, I have not found the solution.
I have solved the problem... It is of course entirely my fault, the problem is just that woocommerce has so poor documentation, I did not really thought about this.
For anyone out there creating custom themes for WordPress, please note that in order for your page.php to actually use the shortcode of the page you have navigated on, you must print out the content of the page (the_content();).
This was my solution for my mistake that took many many hours...
I'm having a strange issue with a site I'm designing. I'm using the WooCommerce system up and running and am using the Wootique theme. I've edited a bit but nothing too major, mostly just colours.
What's happening is, when I go to buy something and checkout, I am able to enter my details but nothing appears under the YOUR ORDER header. The NEXT/CONTINUE button is missing also, so I can't go any further.
Has anyone else experienced this? I can't seem to figure out why it's happening or how to fix it?
The test site is at http://kelvinwinscom.fatcow.com/
I ran into the exact same error on my woocommerce set-up. In my situation, it was a conflict with jQuery.
Woocommerce loads the latest version of jQuery in your themes head section. I was manually loading an older version of jQuery in my themes footer. Having the two copies of jQuery was breaking the "order" section, causing nothing to load. By removing the jQuery copy I was manually adding, the problem was resolved.
It may be likely that you've done something similar, or that you're using a plugin that is adding jQuery in a non-wordpress manner (Not using wp_enqueue_script and other script registering and enqueue-ing functions)