Page 1 of 1
MSRP Shows When Less Than or Equal
Posted: Mon Feb 11, 2008 3:02 pm
by sweeperq
Is there a way to stop the MSRP from showing when the actual price is greater than or equal to the value? I know...the easy answer is to be sure not to set the Price > MSRP.
Posted: Mon Feb 11, 2008 4:14 pm
by jmestep
I can't test this right now, but what about in the buyproductdialog.ascx:
Code: Select all
//HANDLE REGPRICE ROW
trRegPrice.Visible = (ShowMSRP && (_Product.MSRP > 0));
if (trRegPrice.Visible)
{
RegPrice.Text = _Product.MSRP.ToString("ulc");
}
changing (ShowMSRP && (_Product.MSRP > 0));
to (ShowMSRP && (_Product.MSRP >= _ShowPrice ));
Posted: Mon Feb 11, 2008 4:56 pm
by sweeperq
Judy,
Long time no see:) I did something similar, but then I realized that it still showed the crossed out MSRP on the category pages. With all the different CategoryGrid controls I wasn't sure if there was an easier way.
-Sam
Posted: Mon Feb 11, 2008 8:48 pm
by AbleMods
Sam,
I've complained to Able about it too - I don't like the way the logic works regarding how price, MSRP etc are displayed.
I went ahead and modified my code to prevent it from doing what you've described. Let me see if I can find the code change and document it here for you. it wasn't very hard to do.