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!
|
|
|
|
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. |
|
|
|
|
Rank: Member
Joined: 3/10/2008(UTC) Posts: 70
|
Thanks. I'll give it a try.
|
|
|
|
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.