BV Commerce Forum
»
BV Commerce Support
»
General Support
»
Editing Old Order Changes Prices to Latest Price Automatically
Rank: Member
Joined: 1/23/2013(UTC) Posts: 267 Location: Joliet, IL
Thanks: 64 times
|
Upon editing an older order the amounts update to the latest price for that product. Then the order status is set to partially paid instead of paid. This is causing problems. Is there a way to keep old orders fixed with the price at which it was purchased? Old order data should not fluctuate with new product pricing.
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
This was a bug in BVC 2013 that was fixed in the 2015 release. Note that if you edit an order and click the "Recalculate Product Prices" button it will recalculate using the current prices. |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 1/23/2013(UTC) Posts: 267 Location: Joliet, IL
Thanks: 64 times
|
I'm now trying to link some orders to a wholesale customer's account. By adding the customer's Username and saving, it changes to wholesale price and shows the order as partially paid instead of paid. Can this be corrected so that I don't have calculate and reset all of the prices after associating an order?
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Originally Posted by: TKatch I'm now trying to link some orders to a wholesale customer's account. By adding the customer's Username and saving, it changes to wholesale price and shows the order as partially paid instead of paid. Can this be corrected so that I don't have calculate and reset all of the prices after associating an order? To be fair, changing the user account after an order is placed isn't a typical use-case. Are you sure that the reason that the price is changing is because of the user account having a price group associated with it and not that the price of the product(s) in the order has increased? The reason I say that is that if price group pricing was applied the order total would be reduced, causing the order to be overpaid. Since you said that the order was showing as partially paid I'm guessing that at least one product increased in price which caused the order total to increase. Anyway, to change this behavior I believe you need to alter the UserPicker1_UserSelected method in the EditOrder.aspx.vb file like this: Code:
Protected Sub UserPicker1_UserSelected(ByVal args As BVSoftware.Bvc5.Core.Controls.UserSelectedEventArgs) Handles UserPicker1.UserSelected
Me.UserEmailField.Text = args.UserAccount.Email
ShippingAddressBook.UserID = args.UserAccount.Bvin
BillingAddressBook.UserID = args.UserAccount.Bvin
ShippingAddressBook.BindAddresses()
BillingAddressBook.BindAddresses()
Dim o As Orders.Order = Orders.Order.FindByBvin(Me.BvinField.Value)
If Not o.IsPlaced Then
RecalculateProductPrices_Click(Nothing, Nothing) ' needed to recalculate product prices
End If
End Sub
|
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 1/23/2013(UTC) Posts: 267 Location: Joliet, IL
Thanks: 64 times
|
I'm getting a Compilation Error with this (see attached). Edited by user Tuesday, September 15, 2015 5:21:04 PM(UTC)
| Reason: Not specified TKatch attached the following image(s): Untitled-1.gif (122kb) downloaded 4 time(s).You cannot view/download attachments. Try to login or register.
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Originally Posted by: TKatch I'm getting a Compilation Error with this (see attached). Did you forget to attach the screenshot? |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 1/23/2013(UTC) Posts: 267 Location: Joliet, IL
Thanks: 64 times
|
Sorry, I must have tried to upload a .pdf and it didn't go. I updated the post with attachment.
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
It sounds like your site wasn't updated properly or that this page has been customized. |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 1/23/2013(UTC) Posts: 267 Location: Joliet, IL
Thanks: 64 times
|
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.