Woocommerce won't add products to cart - javascript

I'm not sure what I did to break this because it was working fine for a while but I can no longer add products to the WooCommerce cart in the site I'm working on. On every attempt I get the "Please choose product options" message in return.
I have a selected price for each variable yet it still doesn't work. I'm thinking it could have something to do with the quantity selector of that could possibly not be going through.
There may also be a conflict with some jQuery libraries and I have been told to check for errors but I have tried countless times to approach this and I just can't find the solution and this really needs to be fixed as soon as possible.
Any information or help anyone can provide would be greatly appreciated.
Here's an example page of a product to test it
http://www.coreytegeler.com/bolivares/shop/marquez-button-down-cardigan-2/

I had the same problem and fixed it. It was a caching issue on my host. Once they excluded certain sessions/cookies to be cached (on server side) all started to work again.

Did it work okay before you upgraded to the latest version of Woocommerce?
<!-- WooCommerce Version -->
<meta name="generator" content="WooCommerce 2.0.3" />
Woo recently did a major upgrade to their ecommerce engine, and it may need tweaking to work with your current theme.
One thing you can test is to temporarily switch to a different theme which is known to work with the up-to-date woocommerce, e.g. http://www.woothemes.com/products/mystile/ which is a free theme from the Woo folks themselves.

Related

All Products disappear after Deleting ANYONE from Cart

I m having a weird problem, It was working all well, Suddenly, what happened is that if I add Two or more products in my cart and THEN Delete any ONE, all the products disappear from the cart. After I reload/refresh the page, the REST of the products (not Deleted one) come back again. The same goes for the other products.
At first I thought it has to do with W3 Total cache plugin, so I disabled it. Then I disabled Minify in Cloudfare CDN. Then disabled all the plugins in wordpress. Then I switched to Twenty Seventeen Theme- ALL WENT IN VAIN. I have no idea what is messing with this, I doubt its javascript. What do I do now. Plz check the problem Here. I was just a day away from making this site live.
After spending one hour I finally fixed it. Who knows that a single setting will mess this whole things up. As soon as I changed the "HTTP Referrer Policy" to 'no referrer when downgrade(browser default)' , the problem got fixed.
I have no idea how it messed up with my javascript.

Magento checkout buttons gone

I have a problem with my Magento 1.9 CE webshop.
When you order products the next button is not showing up on the checkout page, nor orders can be placed.
Things i have tried so far:
I installed a one page checkout plugin to see if this will work, it doesn't.
When you click on the "Place order now" button it rederects back to the one page chekout overview page.
I uninstalled all 3rd party plugins via magentoconnect, still no succes.
used the default theme to check if the checkout process will go true, also no succes.
used the original prototype.js file, because via firebug i noticed some errors on this file. also no succes.
i have been googling for 4 days now trying to search for a solution, but i cannot find the problem, there are a lot of solutions for checkout problems but none of them seem to work or are simmilar to my issue.
Is there annyone who can maybe help me out?
I also have a cookie notice when visiting the site, can also not click on agree to make it dissapear, i have a feeling this is related to the checkout problem.
The URL of the webshop is: https://www.pepstore.nl
any help would be very much appreciated!

Magento Configurable options not showing in drop down

I have a Magento store that uses two different templates. One for desktop version and the other for all other mobile devices. I used the Exception method to change the templates based on the variables in the exception list. I also have a large number of configurable products. These work just fine on the main desktop theme. All the options show and it goes through to checkout easily.
The problem is on the other theme. I get all the options for the different attributes showing on the product page but when I click the drop downs none of the options have been loaded. This happens on all products.
I am convinced it is a jQuery conflict issue as I have searched Google and this seem s to be a popular problem. I have however, disabled all my jQuery scripts allowing only prototype to run and still I get this problem.
Has anyone expirienced this and had an alternative or is there something else I could be missing?
The theme is Zonda and I've also tried using jQuery no conflict but unless I'm using it wrong it has not helped.

Editing text generated by WooCommerce

First time to ask a question here.. I searched and searched for the answer but it's a pretty niche question and difficult to google, so here I am.
I have a wordpress theme using woocommerce and in the "cart" page there is a section at the bottom left that calculates the cart totals. Underneath this section is a portion of "fine" print that says "Note: Shipping and taxes are estimated (taxes estimated for the United States (US)) and will be updated during checkout based on your billing and shipping information."
I'm looking for the correct file to edit this piece of text, basically I want to remove the "(US))" portion. I have searched through the plugins directory and many of the theme and woocommerce javascript and css files but haven't been able to find where/how this is generated.
Any help is appreciated, thanks!
You need to change the location in WooCommerce->Settings->Base Location. Alternatively you can use the following command in linux to find a string in a load of documents.
grep -rnw 'directory' -e "pattern"
This should be the path
/wp-content/plugins/woocommerce/templates/cart/totals.php
Changing the template files might cause you issues if/when you upgrade Woocommerce. I'd recommend putting a filter in your theme's functions.php file.
I think the filter hook might be 'woocommerce_after_cart_totals' but you'll have to test it out to find the correct output.
Here's a primer on Woo filters & actions:
http://docs.woothemes.com/document/introduction-to-hooks-actions-and-filters/
And here's a list of all the actions & filters available:
http://docs.woothemes.com/document/hooks/

mouseover not working in ie7

Having problems in IE7.It does not show me the "mouse over- drop down".
This "mouse over" was working well till yesterday also works in FireFox.
There a table that displays all the current documents.When one does a mouse over on a given document,it displays a list of options in form of a dropdown.
Can it be corrected in IE settings etc?
I am not talking about the javascript here , only the user settings.I am strictly the end user in this case.Also i tried downloading IE8 and it stopped in between.Hence I checked the ActiveX settings in IE and it was enabled.
Kindly help.
Your question seems well-founded, but it's difficult to discern what the question is exactly. Could you please elaborate? Source code may also help.
If you'd like to go a more DIY route, try throwing your code at JSLint. It will magically surface errors you didn't see.
Sitecore generates a lot of temporary and debug code files. This could be the problem. I would try deleting all of the temp/debug files, and see if that helps. They are scattered throughout the site, so you have to hunt for the debug directories.
However, I do see a lot of WEIRD JavaScript things with SiteCore. Sometimes I will load the content editor, and it wont work because of JS errors. I clear my cache and refresh and it works fine. But nothing in the JavaScript should be changing, since it would be the scripts from the vendor. I don't go in and change JS. Maybe they are generating JS somewhere.

Categories