nopCommerce icon indicating copy to clipboard operation
nopCommerce copied to clipboard

Automatically update products fields (total) when editing order items (price, qty)

Open AndreiMaz opened this issue 8 years ago • 2 comments

Continuation of task (https://github.com/nopSolutions/nopCommerce/issues/8). Right now we update order totals. Product quantity will automatically calculate the total of the product itself. When I manually add the correct price for the product totals then it also has the correct order totals.

  1. When a value of "Price (incl tax)" or "Quantity" is changed and input focus is changed, then we should automatically pre-set (using javascript) the product "Total (incl tax) value
  2. Do the same for "excl tax" values
  3. Let's get a valid "order total" values using AJAX because it could depends on some complex price rules
  4. Make it configurableso it can be disabled (if something goes wrong)

Source: http://www.nopcommerce.com/boards/t/46077/order-price-doesnt-update-when-manually-add-a-product-to-order-from-admin.aspx#182880

AndreiMaz avatar Feb 05 '17 05:02 AndreiMaz

Hi, I think for consistency it'd be most useful to update product total when qty changed when "Auto update order totals" is on. Thanks

jack0fshad0ws avatar May 30 '17 22:05 jack0fshad0ws

Hi, Is there update on this case?

cldbrr avatar Dec 22 '17 11:12 cldbrr