• Resolved smams

    (@smams)


    Hi. I have a custom plugin which slightly modifies the variation products so that it provides additional options for the user. The plugin works well on regular products however, on variation products the customer receives a JS error and therefore, is unable to add the product to cart. The error seems to be on line 266 with “hasOwnProperty” and the message is “Cannot read properties of null”. Is there a solution to this issue or could perhaps I could exclude the product gallery slider on all variation products somehow?

    Many thanks.

Viewing 1 replies (of 1 total)
  • Plugin Author Codeixer

    (@im_niloy)

    For now, you can comment variationImage call from wpgs.js file. which disable the js code loading for variation products. if you need any custom solution email us at [email protected]

Viewing 1 replies (of 1 total)
  • The topic ‘JavaScript error on variations product’ is closed to new replies.