News:

Support the VirtueMart project and become a member

Main Menu

Order does not update on backend edit

Started by tvds, March 07, 2017, 08:48:02 AM

Previous topic - Next topic

tvds

So I have a strange problem.

I've got this migrated joomla site 1.x to 3.x with virtuemart upgraded.

Now everything looks to work fine but somehow the order editing on the backend does not work. (or is it a feature that does not exsists?

I can edit an order on the backend (as some customers would like to have a different product of I would like to give them an extra discount)

But when I'm editing nothing auto-recalculates! When changing discounts or pricing nothing updates
I cannot even add a product and search for it.

Could somebody please help me?

I'm willing to pay!

AH

That is how it works in VM3 unfortunately. 

IMHO everything else is an improvement over VM1
Regards
A

Joomla 4.4.5
php 8.1

tvds

No what really?

So I have to calculate everything by hand? Wow!

Great product :-)

Milbo

That is not true AH, the recalculation works, BUT you must configure it. You must delete the values, which should be recalculated, only empty values are recalculated. And you must hit the checkbox
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

and you should try the last version vm3.0.19.8, because I did some improvments there for the order edit. For example it does not send automatically an email to the customer storing the edited order.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

tvds

So how do I configure it?

Does it update right away (so like a ajax call) or do I first have to save the edited order?

Milbo

"BUT you must configure it. You must delete the values"

How else should the system know what are input data and what are to be calculated data? and of course, you cannot calculate in any direction, but you can assume it works from left to right. Example

a) You edit a product, you change the net price, the product had a discount, you set for the discount 0.0 => you will get the final price and tax calculated based on the discount.

b) You edit the same product, the discount is done by a calculation rule based on percentage, you empty the discount field => a new discount is calculated and a new final price and tax.

But always, when you write something in a field, it is not overriden. It is imho a lot better than in vm1.1, but seems that even moderators dont know about.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

tvds

Milbo,

Are we talking about product editing or order editing?

Because I'm talking about order editing :-)

tvds

What ever I do in the Order edit form I does not auto-recalculate

AH

Correction

QuoteI cannot even add a product and search for it.

This is true.


@milbo states:-
QuoteYou must delete the values, which should be recalculated, only empty values are recalculated. And you must hit the checkbox

I wish you good luck with working out which fields you have to populate.

I decided to just populate the £10.00 in the base price for an example and check the calculate button

My results are shown - calculate was set for the item added and the totals.  (At this moment in time I think the "recalculation works" is based on what you mean by works and what you populate)

Please feel free to play around with this and let us know how you get on.


Regards
A

Joomla 4.4.5
php 8.1

Jörgen

Hello Milbo

That sounds great, but I do not agree. The recalculation does some unexpected things.

I have an example, that is actually correct from the start, but I wanted to see if it updates as expected.

Discount rule of 50 %
VAT rule 25 %

From left to right:
cost price 156 sek
base price with VAT 195 sek
Product price 97,50 sek
VAT 19,50 sek
discount 78 sek
total 97,50 sek

If I delete discount, tick calculate and hit save, I get:
From left to right:
cost price 156 sek
base price with VAT 195 sek
Product price 195 sek
VAT 39 sek
discount 0,00 sek
total 195 sek

What am I doing wrong ?

best regards

Jörgen @ Kreativ Fotografi

Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

AH

QuoteBut always, when you write something in a field, it is not overriden. It is imho a lot better than in vm1.1, but seems that even moderators dont know about.

Check back to old VM1 @milbo - "imho a lot better" - is not the same as user friendly

Select an existing product -
Add 1 or a qty of that product to the order
Change the  net, gross for the line if required and recalculate. 
Store the correct SKU / Product ID  in the order details
Update the order totals to f=reflect the product changes.


However - this has been raised before and we have moved no further with this function (IMHO)

http://forum.virtuemart.net/index.php?topic=124027.msg423904#msg423904
http://forum.virtuemart.net/index.php?topic=131253.msg463599#msg463599



Regards
A

Joomla 4.4.5
php 8.1

AH

Ah Jorgen - I see you are still trying to work with this :-)

QuoteWhat am I doing wrong ?

Maybe the question is - what do I need to do to get it right.
Regards
A

Joomla 4.4.5
php 8.1

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/