ecomm_totalvalue no value
-
Hy,
I encounter an issue by our Sentry instance:When a product is sold our, the $product->get_price() is empty, which result into an JS Error, “unexpected }”.
Recommended to surround this with floatval, like:
\'ecomm_totalvalue\': ' . floatval($product->get_price()) . '
File wgdr.php line 591
I don’t found plugin on Github. Otherwise I had push a MR.Thanks!
Regards,
Stefan
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘ecomm_totalvalue no value’ is closed to new replies.