HomeHome Product Discus... Product Discus...SmithCartSmithCartShowing QOH on product list page?Showing QOH on product list page?
Previous
 
Next
New Post
2/23/2011 9:04 AM
 

Can this be easily done?

 
New Post
2/23/2011 8:05 PM
 

This can be done using <%# Eval("QuantityOnHand") %> on the ProductList.ascx page. Heres an example if your using multiple coloums & want to show it under the product price, you would add it after<asp:TextBox runat="server" ID="txtPrice2" Width="50px" MaxLength="8" Visible="false" /> .


For example, find the following (starts on or around line 98):

<tr>
<td style="text-align:center; width:100%;" class="SmithProdText" nowrap="nowrap">
<asp:Label runat="server" ID="lblPriceLabel2" resourcekey="lblPriceLabel2" Visible="false"/>
<asp:Label runat="server" ID="lblPrice2" Visible="false"/>
<asp:TextBox runat="server" ID="txtPrice2" Width="50px" MaxLength="8" Visible="false" />
</td>

And add change it to the following(Changes in yellow):

<tr>
<td style="text-align:center; width:100%;" class="SmithProdText" nowrap="nowrap">
<asp:Label runat="server" ID="lblPriceLabel2" resourcekey="lblPriceLabel2" Visible="false"/>
<asp:Label runat="server" ID="lblPrice2" Visible="false"/>
<asp:TextBox runat="server" ID="txtPrice2" Width="50px" MaxLength="8" Visible="false" />
QOH:<%# Eval("QuantityOnHand") %>
</td>


Thanks,
Christian

 
New Post
2/24/2011 6:07 AM
 

That works. :) Now, if I can just get the Member Pricing by Role to work correctly....

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartShowing QOH on product list page?Showing QOH on product list page?