Price-updating javascript doesn't work in IE / Safari

Create issue
Issue #107 resolved
Former user created an issue

When you update a product attribute, the jquery javascript that should update the price doesn't work in Internet Explorer or Safari (does however work in Firefox)

It seems this:

{{{ $(document).ready( function(){ getPrice();}); }}}

isn't supported by IE


{{{ [name, price] = eval(json); }}}

doesn't work in IE or Safari.

I've had a play around, I can fix the loading error, but I can't see an easy way to fix the eval line.

Reported by DavidReynolds

Comments (4)

  1. Chris Moffitt repo owner

    You mention that you know how to fix the first error. Can you include that in this ticket?

  2. Log in to comment