How to Add MSRP Price & rowQuantity to Specific Product Load
-
- Ensign (ENS)
- Posts: 9
- Joined: Mon Jul 18, 2011 7:47 am
How to Add MSRP Price & rowQuantity to Specific Product Load
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
I haven't seen this ConLib in AbleCommerce. Do you have a custom conlib control?
-
- Ensign (ENS)
- Posts: 9
- Joined: Mon Jul 18, 2011 7:47 am
Re: How to Add MSRP Price & rowQuantity to Specific Product Load
I figured out a solution to adding the MSRP Price to the Specific Product Load Conlib.
This was added to the front end:
This was added to the code behind:
The only thing remains is how to add the "rowQuantity."
This was added to the front end:
Code: Select all
<asp:Literal ID="Msrp" runat="server"></asp:Literal>
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>";
}