Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #427121

    Hi guys,

    I am having a bit of a site disaster – O.o

    I don’t know what’s happened but my site which was working perfectly before is now totally messed up. I’m not a developer – but from what I can tell the Javascript isn’t loading properly. I don’t know whether this has something to do with Wordfence or Better WP Minify (both of which worked fine in the past).

    The full screen slider, product lightboxes and any images with any kind of animation on them no longer appear and the megamenu looks funny – really squashed.

    This is pretty bad but what really concerns me is that for some reason the cart/quantity buttons no longer appear for variable products – you just can’t add them to cart.

    I have added links with examples of what I mean and other info for you below.

    I am totally panicking and have no idea what to do – please help! :)

    B

    #427126

    Hi guys,

    So I’ve figured out the issue – a mod_security ruleset linked to a woocommerce cookie issue, as detailed here:

    https://support.woothemes.com/hc/en-us/articles/203104197-Variable-Product-Add-to-Cart-Not-Working

    I used the woocommerce jquery cookie plugin to fix it – once the plugin was installed it fixed not only the variable product cart issue but all the other JS issues as well. I know this is a dumb thing to ask, but for future reference is there any way to prevent something like this happening? Is there are a way to continue loading other theme/plugin scripts successfully even if the cookie doesn’t load?

    Cheers,
    B

    #427608

    Hey!

    Thanks for posting your solution. For future prevention it would probably be best to ask WooCommerce support since it seems to be related to that plugin.

    Regards,
    Elliott

    #427966

    No worries – but to be honest I’m such a noob and it happened so unexpectedly (and affected the whole site) that I thought perhaps you guys may have come across it before. Thanks for your response.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Fullscreen slideshow/ doesn't appear and cannot add variable products to cart’ is closed to new replies.