• Resolved RustyH

    (@russhorne)


    Hi, hopefully there is a solution to this, I’ve done some searching but can’t find anything related to this kind of Woocommerce functionality.

    Situation:
    Customer places an order, and that order is ‘pending payment’ or ‘on hold’.
    The order is editable by the site admins in the ‘orders’ area of the backend.
    Site admins may need to change the product ‘total’ prices within the order (this is done by clicking the small ‘edit’ pencil icon that appears when hovering over the product row).
    Admin updates the price and then saves the changes.

    The current WC behaviour:
    When the price is edited to be an INCREASE to the original product price – the order is updated with unit prices increased appropriately.
    Unit price becomes: the new(edited) total product row price / (divided by) the product qty.

    When the product price is edited to be a DECREASE in price – the unit price remains unchanged as the original product price and a ‘discount’ is applied to the order.

    The desired behaviour:
    When the prices are edited and there is a DECREASE in price, we’d like the behaviour to be similar to if they were increased, with unit prices updated appropriately (reduced) so they add up to the total.
    And no ‘discount’ applied or seen by the customer.

    Hopefully this is possible, it may be removing functionality rather than adding any, just not sure how/where to do it.

    Thanks for any pointers or advise.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    When the product price is edited to be a DECREASE in price – the unit price remains unchanged as the original product price and a ‘discount’ is applied to the order.

    I have tested this in a fresh WooCommerce installation and I could not reproduce the same issue.?What happens if you edit both “Before discount” and “Total” (enter the same number) and save?

    Link to image: https://snipboard.io/WF8Mxu.jpg

    Thread Starter RustyH

    (@russhorne)

    Hi Maykato

    Thanks for your reply.
    I’d not actually realised the greyed out figure was editable, that works much better now I’m changing both figures to be the same.

    Thought I’d tried that, but I must have just made the assumption that being greyed out meant it couldn’t be changed.

    Thank you for checking and letting me know.
    If this forum post is deemed unnecessary, please go ahead and remove it.

    Mirko P.

    (@rainfallnixfig)

    Hi @russhorne,

    Great to know that you’ve sorted this now. Thanks for letting us know.

    If you have further questions feel free to open a new topic any time.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Editing orders: changing price without ‘discount’ being seen’ is closed to new replies.