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

Notification

Icon
Error

gaynes
#1 Posted : Tuesday, July 1, 2008 3:27:06 PM(UTC)
gaynes

Rank: Member

Joined: 3/10/2008(UTC)
Posts: 70

When I set up a sale how can I have it show the sale if I don't have MSRPs? I don't want it to say "off of list". I want it to say what the old price was and the new price was without having to go in and set MSRP for every item. Thanks!
blueacorn
#2 Posted : Thursday, July 3, 2008 1:05:39 AM(UTC)
blueacorn

Rank: Member

Joined: 6/27/2007(UTC)
Posts: 63

In your product template in the VB code, add something along the following lines:

Code:

'if it is on sale
If Me.LocalProduct.SitePrice > productDisplay.SitePrice Then
Dim savings As String = (Me.LocalProduct.SitePrice - productDisplay.SitePrice).ToString("c")
Me.trListPrice.Visible = True
Me.lblListPriceName.Text = "ON SALE"
Me.lblListPrice.Text = "was <span class=""crossthrough"">" & Me.LocalProduct.SitePrice.ToString("c") & "</span> (save " & savings & ")"
Me.PricePanel.UpdateAfterCallBack = True
End If


Keep in mind I'm using the list price label, if you also use this, you probably will want to create another set of labels on the form.
gaynes
#3 Posted : Monday, July 7, 2008 11:58:28 PM(UTC)
gaynes

Rank: Member

Joined: 3/10/2008(UTC)
Posts: 70

Thanks. I'll give it a try.
gaynes
#4 Posted : Monday, July 7, 2008 11:59:11 PM(UTC)
gaynes

Rank: Member

Joined: 3/10/2008(UTC)
Posts: 70

Thanks. I'll give it a try.
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