• Resolved smiesko12

    (@smiesko12)


    Is possible include small update on woocommerce-services-new-order-taxjar javascript file on next update ?
    The jQuery ajax handled by ajaxSend method could propagate settings with empty data property or with the data property with no-string value.

    The javascript file has code that handle ajaxSend event with this code snippet:

    ajaxSend(function(t,n,r){if(r.data&&r.data.indexOf("woocommerce_calc_line_taxes")>0){

    and I would ask you if possible just add condition for type of object

    ajaxSend(function(t,n,r){if(typeof(r.data)==="string"&&r.data.indexOf("woocommerce_calc_line_taxes")>0){

    Our plugin handling ajax file upload and the error handling procedure catch your javascript unhandled error that breaking next our code processing.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @smiesko12,

    I understand that you are requesting a small update on the file to add a condition for the type of object in the ajaxSend function. Unfortunately, we cannot guarantee that this update will be included in the next release, as we have to prioritize other features and bug fixes. However, we appreciate your feedback and we will consider it for future improvements.

    Please note that writing or providing custom code is not within the scope of our support policy. For development and custom coding questions, it’s best to ask for insight related to those on either the WooCommerce Advanced Facebook group or the WooCommerce Community Slack. You can also seek help from the following:

    I wish I could help more, but hopefully, this gets you going in the right direction to get the job done.

    Thread Starter smiesko12

    (@smiesko12)

    Thanks for your quick reply, its OK for me.

    Hi @smiesko12,

    Thanks for getting back to us. We are glad to help!

    Just so you know – we will now close this ticket as solved. If you have any other questions or issues, please feel free to open a new ticket and we’ll be happy to assist you.

    Thank you for choosing WooCommerce and have a great day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Small issue on Javascript file’ is closed to new replies.