Page 1 of 1
How to Add MSRP Price & rowQuantity to Specific Product Load
Posted: Tue Jul 19, 2011 7:03 am
by digdesigner
I am customizing the "SpecificProductLoad" conlib and I was wondering if there was a way to add the MSRP price and the "rowQuantity" control to the list.
Re: How to Add MSRP Price & rowQuantity to Specific Product Load
Posted: Wed Aug 03, 2011 4:32 am
by plugables
I haven't seen this ConLib in AbleCommerce. Do you have a custom conlib control?
Re: How to Add MSRP Price & rowQuantity to Specific Product Load
Posted: Wed Aug 03, 2011 7:28 am
by digdesigner
I figured out a solution to adding the MSRP Price to the Specific Product Load Conlib.
This was added to the front end:
Code: Select all
<asp:Literal ID="Msrp" runat="server"></asp:Literal>
This was added to the code behind:
Code: Select all
string msrp = string.Format("MSRP: <span class=\"msrp\">{0:ulc}</span> ", _Product.MSRP);
// Checks to see if item has an MSRP and then writes it.
if (_Product.MSRP > 0)
{
Msrp.Text = "<span class=\"msrp\">" + msrp + "</span>";
}
The only thing remains is how to add the "rowQuantity."