Developer forum

Forum » Development » Eddit an order in the backoffice

Eddit an order in the backoffice

Cátia Torego
Reply

I'm having some issues with edditing an order in the backoffice:

1 - When i try to add a product to an order in the backoffice i get this error message, "Edited orders total price must not be higher than original total price." This also happens when i try to increase the quantity of a product. 

2 - If i make other changes to the a finished Order (add a dicount or decrease the quantity) the order in the front end is updated, but if i do it to a Cart the front end doesn't change. Is this the expected beahviour?

The DW version is  9.4.2


Replies

 
Nicolai Pedersen
Reply

You are look for the setting "Allow edit order price to exceed original order price".

You cannot capture more than the amount the order was created and authorized with by the payment provider originally, so to prevent to change the order to a sum that is higher than what can be captured using the credit card, this is prevented by this feature. You can disable it - but then you need to figure out a way to collect the rest of the money. This is a limitiation of the gateways.

See https://doc.dynamicweb.com/documentation-9/platform/advanced-settings/ecommerce-advanced-configuration#6659

 
Cátia Torego
Reply

Hi Nicolai, thank you that worked.

But i want to edit a Cart before the order is completed and before there is payment method selected. When i add a product or change the quantity, then go back to the frontend and refresh the page, in the backend the changes i done revert back. Can i only edit complete orders, souldn't this work on a Cart?

 
Nicolai Pedersen
Reply
This post has been marked as an answer

You can only edit complete orders. Unles you do something by code to force a reload of the cart in the frontend.

Otherwise you should have the user checkout to quote and then change back to a cart after the quote have been edited.

BR Nicolai

Votes for this answer: 1

 

You must be logged in to post in the forum