Support » Fixing WordPress » Editing orders: changing price without ‘discount’ being seen

  • 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.

    • This topic was modified 9 months, 1 week ago by RustyH.
    • This topic was modified 9 months, 1 week ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Editing orders: changing price without ‘discount’ being seen’ is closed to new replies.