-
AuthorPosts
-
February 21, 2014 at 7:49 am #16672
Hi there,
Can’t find anything about this in the forum.
The add to cart button and the pricing updates when selecting a variable isn’t working at all in Woocommerce.
http://essencekiteboards.com/product/essence-kiteboard/
I’ ve priced both selections. I’ve tried al kinds of variations of settings. I cannot let it work well….
At other theme’s it works fine! But we love to use this theme, so please help.
February 21, 2014 at 7:51 am #16674For the record; I red all the information at the Woocommerce service website, but it was nog helping me any further.
February 21, 2014 at 9:17 am #16680Do you know X Theme cannot support the latest Woocommerce update yet? They’re working on an update for X. Till that time you should revert to an older Woocommerce version, or wait patiently, or live with the fact that not all will work as it should. 🙂
February 21, 2014 at 11:36 am #16711Hey Geert,
thanks for chiming in. We are working very hard to get the update out as soon as possible to support the latest version of WooCommerce, sorry for the inconvenience.
February 24, 2014 at 1:23 pm #17360Now I’ve installed WooCommerce 2.0.20 and variable products still do not work.
At a simple products, the ‘Add to cart’ button is shown: http://essencekiteboards.com/product/second-hand-essence-board/
But at variable product it is not: http://essencekiteboards.com/product/essence-board/
Can you please tell me how to fix it?
February 24, 2014 at 6:06 pm #17474Global,
X does support variable products, please see this example.
In reviewing your site, you appear to have a few JavaScript errors being thrown in your console. This is likely from a conflicting third party plugin. Please try disabling any customizations or third party plugins you have added to see if this rectifies the issue.
Thanks!
February 25, 2014 at 9:06 am #17716I’ve disabled all the plugins and the ‘add cart’ shop still is not shown.
How can I figure out which JavaScript error are causing the problem?
February 26, 2014 at 2:21 am #17931Hey Global,
One error in particular that is showing is the following:
Uncaught TypeError: Object function (e,t){return new x.fn.init(e,t,r)} has no method 'cookie'
This appears to be coming from the following file:
http://essencekiteboards.com/wp-content/plugins/woocommerce/assets/js/frontend/cart-fragments.min.js?ver=2.0.20
I’m wondering if something in your WooCommerce plugin has not been installed correctly and could be causing this error. You could try overwriting or replacing the entire plugin or simply the file being referenced in the error. I’d be curious to know what that does for your site. Also, are you running any custom scripts or styles on your site via a child theme?
Thanks.
February 26, 2014 at 9:18 am #18095Thank you Support.
Looks like this is the problem in this theme too: http://docs.woothemes.com/document/jquery-cookie-fails-to-load/
It looks like I have to rename the jquery cookie file. Can you provide me the part of code I need to add to the X theme?
For the woothemes it is the following code:
add_action( 'wp_enqueue_scripts', 'custom_frontend_scripts' ); function custom_frontend_scripts() { global $post, $woocommerce; $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; wp_deregister_script( 'jquery-cookie' ); wp_register_script( 'jquery-cookie', $woocommerce->plugin_url() . '/assets/js/jquery-cookie/jquery_cookie' . $suffix . '.js', array( 'jquery' ), '1.3.1', true ); }
February 26, 2014 at 12:50 pm #18188Global,
I should think that the snippet provided by WooThemes that you used above should work. However, it should be noted that even WooThemes states: “The BEST option is to get your host to update the rule set.” Have you tried to get your host to update your security settings first to avoid the need for all of this customization?
February 26, 2014 at 12:56 pm #18190Yes I have contacted the host so I’ll wait for his answer. I’ll keep you up to date.
February 26, 2014 at 1:34 pm #18212Looking forward hearing from you!
-
AuthorPosts