• Resolved anotherbreed

    (@anotherbreed)


    Hi there,

    with the help of some customers, I noticed that some of the SG Optimizer frontend options prevent the variable product page to work normally. As soon as the customers select all the required options to add the product to their cart, the price doesn’t appear and the Add to Cart button remains inactive.

    Here are the options that I deactivated in order to make the store work again:

    1. Defer Render-blocking JS
    2. Combine CSS Files
    3. Remove Query Strings From Static Resources

    I see other users have similar problems. Should we expect a fix soon?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter anotherbreed

    (@anotherbreed)

    Also, here are some errors from Google Chrome console (when the above options are active):

    
    Uncaught ReferenceError: _ is not defined
        at wp-util.min.js:2
        at wp-util.min.js:2
    public.min.js:6 Uncaught ReferenceError: wpApiSettings is not defined
        at n (public.min.js:6)
        at HTMLDocument.<anonymous> (public.min.js:6)
        at i (jquery.js:2)
        at Object.fireWith [as resolveWith] (jquery.js:2)
        at Function.ready (jquery.js:2)
        at HTMLDocument.J (jquery.js:2)
    add-to-cart-variation.min.js:1 Uncaught TypeError: wp.template is not a function
        at m (add-to-cart-variation.min.js:1)
        at HTMLFormElement.t.onFoundVariation (add-to-cart-variation.min.js:1)
        at HTMLFormElement.dispatch (jquery.js:3)
        at HTMLFormElement.r.handle (jquery.js:3)
        at Object.trigger (jquery.js:3)
        at Object.a.event.trigger (jquery-migrate.min.js:2)
        at HTMLFormElement.<anonymous> (jquery.js:3)
        at Function.each (jquery.js:2)
        at a.fn.init.each (jquery.js:2)
        at a.fn.init.trigger (jquery.js:3)
    
    Plugin Author Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    I have created such product on a test site and it works just fine. Please, provide your site URL so I can check what speciffically goes wrong.

    Plugin Author Stanimir Stoyanov

    (@sstoqnov)

    SiteGround Representative

    Closing this due to no replies.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WooCommerce Variable Product options not working’ is closed to new replies.