• Resolved donot

    (@donot)


    Hi there, I have a question / issue with negative values in Attributes and how they show in the Orders in the Administration.

    My Attributes have negative values, e.g. -8.50.
    When the product is added in the cart, they show just fine.
    But in the order confirmation, they don’t.
    And they also don’t show in the Orders in the Administration so I don’t know the Variation the customer has ordered.

    Here’s a screenshot from the Order Confirmation: https://ibb.co/sbvL205

    The value of Temp is -8.50 (note the negative prefix) but in the Confirmation and in the Orders in the Administration shows only like 8-50.

    No prefix.

    Can anyone confirm if this is some kind of bug or issue on my end only?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @donot

    When I created an Attribute term using -8.50 and added the term as a variation option, the term shows as expected on the order page in the WP Admin:

    https://d.pr/i/FUJfDp

    As well as the customer-facing order details page:

    https://d.pr/i/WDgEfa

    Typically issues like this are caused by a theme or plugin conflict. Try switching back to a default theme like Twenty Twenty and disable all plugins except for WooCommerce to see if this resolves the issue. Here is a link that better outlines that process:

    https://docs.woocommerce.com/document/woocommerce-self-service-guide/#section-4

    If this fixes the issue, then re-enable each plugin one at a time, then the theme, until you find the one that’s causing the conflict.

    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hello @donot

    Since we didn’t get a reply back within a week we’ll mark this issue as resolved. Feel free to open a new support thread should you have any questions.

    Best,

    Thread Starter donot

    (@donot)

    Hi @johndcoy , thanks a lot for looking into this.
    Indeed, I can confirm that this is an issue due to some custom code in our functions.php.

    I was just not thinking it could be it cause it was fine with the previous version of Woocommerce (the minor updates).

    Thanks again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Attribute with negative value not showing the prefix in orders’ is closed to new replies.