• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

birdsafe
#1 Posted : Tuesday, October 2, 2007 1:04:42 PM(UTC)
birdsafe

Rank: Member

Joined: 2/21/2007(UTC)
Posts: 1,113

While it should be built in to the next SP, if possible, has anyone coded in a Coupon line in the order summary on the checkout page? A lot of customers don't think their coupons are being applied because the only way it shows up on the checkout page is if you do the math and notice the Grand Total has taken the coupon into consideration. There should be a "Coupon Discount" line in the summary.
jonm
#2 Posted : Tuesday, October 2, 2007 6:23:27 PM(UTC)
jonm

Rank: Member

Joined: 3/24/2005(UTC)
Posts: 311

Here you go Joe,

I have attached the two files that were modified but, if you made changes to the Checkout One page then you have to manually add this bit of code.

Edit BvModules/Checkouts/One Page Checkout/Checkout.aspx

Find this code:

Code:

<tr>
<td class="FormLabel" valign="top" align="left">
Handling:</td>
<td class="FormLabel" valign="top" align="right">
<anthem:Label ID="HandlingTotalField" runat="server"></anthem:Label></td>
</tr>


and add after the </tr> this code:

Code:

<tr>
<td class="FormLabel" valign="top" align="left">
Discounts:</td>
<td class="FormLabel" valign="top" align="right">
<anthem:Label ID="DiscountTotalField" runat="server"></anthem:Label></td>
</tr>


Next Edit Checkout.aspx.vb

Find this Procedure:

Code:

Protected Sub LoadTotals(ByVal Basket As Orders.Order)
If Basket Is Nothing Then
Basket = SessionManager.CurrentShoppingCart
End If
SubTotalField.Text = Basket.SubTotal.ToString("c")
SubTotalField.UpdateAfterCallBack = True
TaxTotalField.Text = Basket.TaxTotal.ToString("c")
TaxTotalField.UpdateAfterCallBack = True
ShippingTotalField.Text = (Basket.ShippingTotal - Basket.ShippingDiscounts).ToString("c")
ShippingTotalField.UpdateAfterCallBack = True
HandlingTotalField.Text = Basket.HandlingTotal.ToString("c")
HandlingTotalField.UpdateAfterCallBack = True
GrandTotalField.Text = Basket.GrandTotal.ToString("c")
GrandTotalField.UpdateAfterCallBack = True
End Sub


and replace with this:

Code:

Protected Sub LoadTotals(ByVal Basket As Orders.Order)
If Basket Is Nothing Then
Basket = SessionManager.CurrentShoppingCart
End If
SubTotalField.Text = Basket.SubTotal.ToString("c")
SubTotalField.UpdateAfterCallBack = True
TaxTotalField.Text = Basket.TaxTotal.ToString("c")
TaxTotalField.UpdateAfterCallBack = True
ShippingTotalField.Text = (Basket.ShippingTotal - Basket.ShippingDiscounts).ToString("c")
ShippingTotalField.UpdateAfterCallBack = True
HandlingTotalField.Text = Basket.HandlingTotal.ToString("c")
HandlingTotalField.UpdateAfterCallBack = True
DiscountTotalField.Text = "-" & Basket.OrderDiscounts.ToString("c")
DiscountTotalField.UpdateAfterCallBack = True
GrandTotalField.Text = Basket.GrandTotal.ToString("c")
GrandTotalField.UpdateAfterCallBack = True
End Sub



That should do it for you.
File Attachment(s):
Checkout.aspx (22kb) downloaded 211 time(s).

You cannot view/download attachments. Try to login or register.
-Jonathan Moore
www.tvps.com
memikhail
#3 Posted : Tuesday, October 2, 2007 7:58:55 PM(UTC)
memikhail

Rank: Member

Joined: 2/18/2006(UTC)
Posts: 172

I think Discount line should added to:

1. Receipt.aspx page.
2. Order Confirmartion email.
3. To the Order Details admin area.
birdsafe
#4 Posted : Tuesday, October 2, 2007 8:05:58 PM(UTC)
birdsafe

Rank: Member

Joined: 2/21/2007(UTC)
Posts: 1,113

Thanks Jonathan! I'll give that a shot -- we just started running a coupon code in a major industry magazine and the first customer trying to use it noted that it didn't look like it was being applied!

I agree with Michael that it should be listed just about everywhere where there is an order summary.
jonm
#5 Posted : Wednesday, October 3, 2007 10:18:13 AM(UTC)
jonm

Rank: Member

Joined: 3/24/2005(UTC)
Posts: 311

I agree with you guys on that point. I'll see if I can get you guys updated pages on the other ones.
-Jonathan Moore
www.tvps.com
birdsafe
#6 Posted : Wednesday, October 3, 2007 11:10:38 PM(UTC)
birdsafe

Rank: Member

Joined: 2/21/2007(UTC)
Posts: 1,113

Works great on the Checkout Page!
Dan @ Wolfe
#7 Posted : Wednesday, January 23, 2008 8:42:13 PM(UTC)
Dan @ Wolfe

Rank: Member

Joined: 8/8/2007(UTC)
Posts: 298

Has this been added to any of the updates? SP3.1? or SP3.2?

Does make sense that this should be included in the e-mails, admin side, and anywhere the customer views totals on the checkout, & reciept!
Dan
CorneliuTusnea
#8 Posted : Thursday, January 24, 2008 12:21:13 AM(UTC)
CorneliuTusnea

Rank: Member

Joined: 8/17/2006(UTC)
Posts: 681

Jon,

Is it ok if I add this to site about BV as an update to the Checkout page?
http://www.acorns.com.au/bv/blog/

Thanks,
Corneliu.
http://www.bestgames.com.au
http://www.bestchess.com.au



BV Product Links, Details and Signatures: Improve your customer experience:

http://www.acorns.com.au/projects/bv/quicklink/

jonm
#9 Posted : Thursday, January 24, 2008 11:15:35 AM(UTC)
jonm

Rank: Member

Joined: 3/24/2005(UTC)
Posts: 311

Hello Corneliu,

Sure go right ahead.
-Jonathan Moore
www.tvps.com
CorneliuTusnea
#10 Posted : Thursday, January 24, 2008 11:40:27 PM(UTC)
CorneliuTusnea

Rank: Member

Joined: 8/17/2006(UTC)
Posts: 681

http://www.bestgames.com.au
http://www.bestchess.com.au



BV Product Links, Details and Signatures: Improve your customer experience:

http://www.acorns.com.au/projects/bv/quicklink/

Matt@9BallDesign
#11 Posted : Friday, January 25, 2008 12:08:51 PM(UTC)
Matt@9BallDesign

Rank: Member

Joined: 12/23/2003(UTC)
Posts: 909

hey corneliu, great little service you're providing with your blog. very generous.
Matt Martell


http://www.9balldesign.com - Web, Print, Graphic


http://www.martellhardware.com/ - Decorative &amp; Builder's Hardware

------------------------------------------------
Chris Dittmeier
#12 Posted : Friday, January 25, 2008 1:56:18 PM(UTC)
Chris Dittmeier

Rank: Member

Joined: 1/3/2004(UTC)
Posts: 1,497

Corneliu,

Not to throw a wet blanket over this, but did you check with Marcus about posting code snippets? I don't want you to violate any rules and get into trouble.
Chris
Sirius Programming

www.siriusprogramming.com
CorneliuTusnea
#13 Posted : Friday, January 25, 2008 8:04:00 PM(UTC)
CorneliuTusnea

Rank: Member

Joined: 8/17/2006(UTC)
Posts: 681

Chris,
Good point about posting code snippets. I've dropped Marcus an email. Looking forward to his answer.

Regards
Corneliu.
http://www.bestgames.com.au
http://www.bestchess.com.au



BV Product Links, Details and Signatures: Improve your customer experience:

http://www.acorns.com.au/projects/bv/quicklink/

Matt@9BallDesign
#14 Posted : Thursday, January 31, 2008 11:13:18 AM(UTC)
Matt@9BallDesign

Rank: Member

Joined: 12/23/2003(UTC)
Posts: 909

Hey Corneliu, I dropped a comment on your blog post about adding the Contact Us link to the product page. Got a 404 when I hit submit.

I have a product named: Superfly Widget &amp; Controller

email subject line = Superfly Widget

The &amp; cuts off the subject line, how can this add-on handle special characters?
Matt Martell


http://www.9balldesign.com - Web, Print, Graphic


http://www.martellhardware.com/ - Decorative &amp; Builder's Hardware

------------------------------------------------
MitchA
#15 Posted : Thursday, January 31, 2008 12:25:42 PM(UTC)
MitchA

Rank: Member

Joined: 3/3/2006(UTC)
Posts: 1,737

The build-in 'contact us' ignors paragraphs (enter key) in emails to the merchant too. Sometimes, a new line helps clarify a break in the question, be nice to have it for the sake of formatting.
Optimists invent airplanes,
Pessimists buy parachutes.
CorneliuTusnea
#16 Posted : Friday, February 1, 2008 2:49:16 AM(UTC)
CorneliuTusnea

Rank: Member

Joined: 8/17/2006(UTC)
Posts: 681

Matt,
I've tried to post a comment and it worked. Odd.
Anyway, I've updated the post. What you need is change the LocalProduct.ProductName to HttpUtility.UrlEncode( LocalProduct.ProductName ).
I could not test this but it should to the trick.

Chris,
Got an approval from Marcus to place code as long as I don't place too much or code that is not normally publish-able (licence, security...).
So I'll stick to simple examples and it should be fine.

Regards,
Corneliu.
http://www.bestgames.com.au
http://www.bestchess.com.au



BV Product Links, Details and Signatures: Improve your customer experience:

http://www.acorns.com.au/projects/bv/quicklink/

Matt@9BallDesign
#17 Posted : Saturday, February 2, 2008 1:03:09 AM(UTC)
Matt@9BallDesign

Rank: Member

Joined: 12/23/2003(UTC)
Posts: 909

Thanks C. I'll get this in during the rounds tomorrow. I trust your skills! I'll post if I hit something.

I wrote that post no later than 5 minutes after I experienced the error on your site in case you wanted a time reference to double check anything.
Matt Martell


http://www.9balldesign.com - Web, Print, Graphic


http://www.martellhardware.com/ - Decorative &amp; Builder's Hardware

------------------------------------------------
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.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012