BV Commerce Forum
»
BV Commerce Support
»
General Support
»
Gift Certificate amounts (totals) don't show up on Checkout
Rank: Member
Joined: 8/1/2007(UTC) Posts: 310
|
Here is the source code for the modification. ViewOrder.ascx and ViewOrder.ascx.vb go into BVModules\Controls\ folder. Checkout.aspx and Checkout.aspx.vb go into BVModules\Checkout\One Page Checkout folder. You might also want to make changes to the emails that go out to your customer (Order receipt and Order Update and may be admin related emails as well). Important: Please take backup of your file versions before you overwrite them. This change took me 20 minutes. fyi File Attachment(s): ViewOrder.ascx (14kb) downloaded 135 time(s).You cannot view/download attachments. Try to login or register. |
Thanks, Satya support @ bayquel.net Work: +1 803 883 3226 |
|
|
|
Rank: Member
Joined: 3/3/2006(UTC) Posts: 1,737
|
Satya for president!!!
The pdf's couldn't open:
"There was an error opening this document. This file could not be found".
I could save them and open them from my hard drive however - fyi.... |
Optimists invent airplanes, Pessimists buy parachutes. |
|
|
|
Rank: Member
Joined: 8/1/2007(UTC) Posts: 310
|
Not sure why thats the case. I am able to open them directly without saving them to HD. Actually I wanted to upload everything as a single zip file. But for some reason, the forum was throwing an exception when I was trying to upload the zip file. Not sure what this is. |
Thanks, Satya support @ bayquel.net Work: +1 803 883 3226 |
|
|
|
Rank: Member
Joined: 11/13/2004(UTC) Posts: 189
|
No Problem here opening the .pdf files here. Looked at all. Very interesting.... |
|
|
|
|
Rank: Member
Joined: 8/1/2007(UTC) Posts: 310
|
There is still more to be done on the gift certificates including email receipts and partial gift certs usage. I did it till this point just to prove that its not as complicated as you think. |
Thanks, Satya support @ bayquel.net Work: +1 803 883 3226 |
|
|
|
Rank: Member
Joined: 8/1/2007(UTC) Posts: 310
|
Hello David Droyce,
I just noticed your post above. Yes, you did complicate it slightly. :-)
Please look at the modified files I posted here to get an idea as to how easy it really is. Let me know if you have further questions. |
Thanks, Satya support @ bayquel.net Work: +1 803 883 3226 |
|
|
|
Rank: Member
Joined: 8/14/2008(UTC) Posts: 6
|
Hello Satya, Thank you very much for taking the time to show me how you would modify BV in order to achieve this change. I especially appreciate you taking the time to give the source code changes and the pdf examples.
While you have definitely achieved most of the desired outcome, I have some additional questions on how you would approach some of the remaining changes I will need to do. In your modifications you are only handling the customer side of the equation I believe. I would also need to show the same display in the admin order area - BVAdmin/Orders/ViewOrder.aspx. I could certain just copy the code you have duplicated on the ViewOrder page and the CheckOut page that handles the calculations and put it on this third page. When I considered that solution though, I felt that I would be writing the same code in 3 places now. Also, when the orders would need to be printed out I think the print template would need to be used or some modification would need to be done there, therefor creating a 4th place in which I would be copying this code around.
My more complicated solution was an attempt to keep this code all in one place while still allowing for flexibility in displaying the change. If I were to make future modifications to the code then I would hopefully have to make this change in just 1 place instead of in 3+ places I would have to do with your code. This is my first BV Commerce project so maybe I am making a bit too much of having the same code in 3+ places?
What would be your approach for the email changes? When I first considered a solution for this problem I had similar thoughts on modifying just aspx pages as you have listed. The code you have written is more to the point than what I probably would have come up with on these pages though so thank you again for sharing that. Once I started considering that 3 different email templates would need to change and that I would probably have to modify the print templates and the admin area, that is when I really thought a more streamlined approach would be needed. Do you think that I should just copy the gift certificate logic to the other pages then and not bother with creating a new email template tag or print template tag?
Thanks, David Royce
|
|
|
|
Rank: Member
Joined: 8/1/2007(UTC) Posts: 310
|
Hello David,
Please contact me through email (email address in my signature) for further changes. There are reasons for doing it the way I did. For email templates, it has to be done slightly differently. For rest of the places, you only need to make change to the Vieworder.ascx control. This control is used in the rest of the pages. |
Thanks, Satya support @ bayquel.net Work: +1 803 883 3226 |
|
|
|
Rank: Member
Joined: 8/14/2008(UTC) Posts: 6
|
Thanks Satya, will do.
David Royce
|
|
|
|
Rank: Member
Joined: 6/25/2008(UTC) Posts: 92
|
Thanks for the assistance you provided, Satya. While not a complete solution, your suggestions have been very helpful.
|
|
|
|
Rank: Member
Joined: 8/1/2007(UTC) Posts: 310
|
You are welcome. But now that you know the approach, you can work out similarly in the other places as well. |
Thanks, Satya support @ bayquel.net Work: +1 803 883 3226 |
|
|
|
Rank: Member
Joined: 10/17/2008(UTC) Posts: 9
|
Satya, I downloaded your code and copied it to the server (after backing up) and got an .net error. Attached is the specific error. Any help would be appreciated as I like what you have done per the PDFs. File Attachment(s): ErrorCode.pdf (7kb) downloaded 89 time(s).You cannot view/download attachments. Try to login or register. |
Thanks, Steve Manatt |
|
|
|
Rank: Member
Joined: 10/11/2006(UTC) Posts: 162
Thanks: 1 times
|
Hi Satya -
Thanks for taking the time to write these updates. I've got them implemented, however, my page will not display the gift certificates applied line until you leave the page and come back to it. For example:
1. Gift Cert code is entered, page posts back to show it added under the GC entry box, however, Gift Cert Applied line does not show up in SubTotals area 2. Navigate away to a different page, say the cart page, and back to checkout 3. Subtotals now shows 'Gift Certs Applied: ($10.00)' at the bottom of the page
Can you think of any reason why this is happening, or a possible way to fix it?
Thanks,
: Greg
|
|
|
|
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.