Author Topic: Changing order details doesn't fully work  (Read 648 times)

aftertaf

  • Jr. Member
  • **
  • Posts: 205
    • sO couture
  • VirtueMart Version: 3.2.14
Changing order details doesn't fully work
« on: August 20, 2017, 15:20:56 pm »
Case:

A customer buys 3 products ( pices displayed are incl. Tax, to stay simple)
300 of SKU1 @ 0.18€ = 54.00€
100 of SKU2 @ 0.185€ = 18.50€
100 of SKU3 @ 0.12537€ = 12.54€
Ordertotal : 85.04€

Order received, we see that we only have 240 left in stock (selling fabrics, inventory precision is not easy to attain).
After checking this is ok with customer, i need to reimburse part of the order to take into account the -60 of SKU1.

Problem #1 : order detail subtotal not recalculated
I can edit the order details in the backend, change the quantity of SKU1 ordered.
This triggers a correct recalculation of the order subtotal with tax.
It drops from 85.04€ to 74.24€   - a difference of 10.80€

Problem #1 is that the order detail item subtotal remains at 54.00, even with 240 x 0.18, instead of 300 x 0.18.

Problem #2 : no way to perform a partial reimbursement of the 10.80€ extra payment.
I was able to recredit the customer's credit card with 10.80€, but the only way to make the change in Vm is via database table direct modification.

Is there anything in the pipeline to fix #1 and make #2 possible without MySQL Workbench? :)
thanks
Webmaster for my wife (link in my profile ;)
Extensions / plugins : POSForWebshops, TemplatecreatorCK ,MaximenuCK, and PageBuilderCK, VM BatchEdit Pro, VM CustomFilters Pro, Awocoupon Pro, slogin, supersaas,  among other things...
Joomla! 3.8.6//VM 3.2.14//PHP7.0.18 & mariadb 10.1.22 on Debian
big up to notepad++!!!!

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9853
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Changing order details doesn't fully work
« Reply #1 on: August 20, 2017, 17:01:36 pm »
This is fixed in the last version. Or you maybe do not use it correctly. Remind to check all checkboxes for calculation
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

aftertaf

  • Jr. Member
  • **
  • Posts: 205
    • sO couture
  • VirtueMart Version: 3.2.14
Re: Changing order details doesn't fully work
« Reply #2 on: August 20, 2017, 17:46:00 pm »
ok, ill try next time the situation arises and will let you know if OK and what I do in case its NOK.
thanks
FYI, i didnt tick any 'recalculate' checkboxes, as i didn't know what they were for exactly :)

No way to change the payment amount though?
Webmaster for my wife (link in my profile ;)
Extensions / plugins : POSForWebshops, TemplatecreatorCK ,MaximenuCK, and PageBuilderCK, VM BatchEdit Pro, VM CustomFilters Pro, Awocoupon Pro, slogin, supersaas,  among other things...
Joomla! 3.8.6//VM 3.2.14//PHP7.0.18 & mariadb 10.1.22 on Debian
big up to notepad++!!!!

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9853
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Changing order details doesn't fully work
« Reply #3 on: August 23, 2017, 13:38:17 pm »
When you do not tick the recalculation boxes, vm will take your values as is and wont adjust the other values
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/