• Resolved tncdesigns

    (@tncdesigns)


    Just found this issue with commented javascript with single quote not properly escape.

    frontend/order_button.php line 63

    Error:
    //wc_checkout_form.submit_error( ‘<div class=”woocommerce-error”>’ + errorThrown + ‘</div>’ );

    Solution:
    <?php /*wc_checkout_form.submit_error( ‘<div class=”woocommerce-error”>’ + errorThrown + ‘</div>’ );*/ ?>

    Screenshot:
    https://snag.gy/WAj19l.jpg
    https://snag.gy/jPf9Nc.jpg

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Zip Co Limited

    (@zipmoney)

    Hi @tncdesigns,

    Thank you for your feedback and for pointing that out!

    That line of code is actually not required for our plugin to work correctly, and the next update of our plugin will actually have it removed.

    We would love to hear from you if you have any other feedback on our plugin!

    All the best,
    Zip

Viewing 1 replies (of 1 total)

The topic ‘Javascript Error cause by single quote on commented code’ is closed to new replies.