• Resolved Fronar

    (@fronarr)


    Hello, the products on our woocommerce website have their own percentages. (They can be selected as variations)

    Some of our customers enter some comments about the percentages they purchased in the order note section during the order and use the “%” character. (Like I want 50%-50%)

    I don’t know why Woocommerce formats this percentage character, but a comment written as 100% in the admin panel is reflected as 0%.

    This can cause confusion in our orders. Is it possible to completely turn off the formatting for the order note section and convert the formatting to plain text?

    I will be waiting for your help. I wish you a good day.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Howdy @fronarr

    I’d like to understand more about your setup, in order to be able to assist further.

    Could you please send me a copy of your site’s System Status? You can find it via WooCommerce > Status. Select Get system report and then Copy for support.

    Once you’ve done that, you can paste the text in https://gist.github.com/ and feel free to change/remove your site URL in the report for privacy reasons.

    Once you have that, you can paste the Gist link here in your reply.

    Thread Starter Fronar

    (@fronarr)

    Hello,
    Thanks for sending the report
    I was trying to reproduce the same behavior on my testing site, but I could not see the issue.

    Link to image 1: https://snipboard.io/l8RfLs.jpg

    Link to image 2: https://snipboard.io/Lnl8Dj.jpg

    Can you navigate under WooCommerce > System Status > Logs? (check if there are errors available, and let us know what you find), thanks.

    • This reply was modified 3 years, 5 months ago by Igor H.
    Thread Starter Fronar

    (@fronarr)

    https://gist.github.com/FronarTR/defb6ad931bc4c5c3716635293f0e3dc

    Here’s the today’s error log.

    Can you try %50 please” instead of “50% please”

    In Turkish, we put the % sign at the beginning. And strangely, it only does this at the beginning, not when I type 50% like you did.

    Howdy @fronarr

    From what I gather, an alternative to using the comment section for entering percentages in the Turkish format (with the % symbol in front of the number) needs to be explored.

    For more, feel free to check out the ASCII Encoding Reference, in the page linked below:

    https://www.w3schools.com/tags/ref_urlencode.ASP

    That said, could you elaborate more on that particular need, and the workflow needed, so that we can explore alternatives, please?

    • This reply was modified 3 years, 5 months ago by anastas10s. Reason: typo
    Thread Starter Fronar

    (@fronarr)

    In fact, to put it simply, we have a website where we sell flavor components that you can use in various fields and prepare your own unique recipes.

    Each ingredient has its own usage percentage. You need to use some component at 9% and some at 13%, etc. (Recommended usage rates)

    The material to be used also has its own percent internal balances, acidity ratio, basicity level, ph level etc.

    Therefore, it is quite common for our website to write something using the “%” sign in the comments section or in the order notes section, for people who are unfamiliar with the industry or for those who will prepare their own mix for the first time.

    And the extra information I can add to this is that we use the % character at the beginning, as I mentioned above.

    In fact, this is the summary of the situation.

    You probably took the solution here in your notes and you will undoubtedly take the necessary actions in the future, but is there a snippet that can convert the order notes section into plain text as a solution to our situation?

    Thank you for your help.

    Hi,

    Thanks for the clarification.

    That sounds like a customization, i.e. to change the default behavior of the WooCommerce plugin. I’ve found a similar (and pretty old) thread that might help you out, please check:

    Change text in checkout ‘Order Notes’ section

    I hope this points you in the right direction.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Order Notes is being formatted.’ is closed to new replies.