Which doesn’t work with the theme since there is no element with the product-lightbox class in the page.
Changing the function to
will solves this issue.
Also, in my opinion, you might want to reconsider the “setTimeout” approach in this code. It’s too depended on the browser performance which sometimes might be a bit problematic, causing it to run too fast.
Would have been nice if this function would have run a custom jquery event trigger to allow child themes or plugins to run their own code when the quickview is loaded.
You must be logged in to reply to this topic. Click here to login or register