The InitializePageContent should already be in the shoppingcart.aspx.cs. Take this example instead. On the shoppingcart.aspx, add the highlighted parts:
Code:
<tr>
<td align="right" colspan="2" >
<br />
<asp:Button ID="btnRequestEstimates" runat="server" OnClick="btnRequestEstimates_Click" Visible="false" />
<asp:Panel ID="pnlShippingAndTaxEstimator" runat="server" CssClass="ShippingEstimatorPanel" Visible="false" >
<aspdnsfc:ShippingAndTaxEstimateTableControl ID="ctrlEstimate" runat="server" Visible="false" />
<aspdnsfc:ShippingAndTaxEstimatorAddressControl ID="ctrlEstimateAddress" runat="server" Visible = "false" OnRequestEstimateButtonClicked="EstimateAddressControl_RequestEstimateButtonClicked" />
</asp:Panel>
<br />
</td>
</tr>
<tr>
<td align="right" style="width: 100%" valign="middle">
<asp:Label ID="Label1" Text="Order Weight:" Font-Bold="true" runat="server"></asp:Label>
</td>
<td align="right">
<asp:Label ID="lblorderweight" runat="server"></asp:Label>
</td>
</tr>
Then also add the highlighted line on the shoppingcart.aspx:
Code:
shoppingcartaspx15.Text = AppLogic.GetString("shoppingcart.aspx.15", SkinID, ThisCustomer.LocaleSetting);
lblorderweight.Text = cart.WeightTotal().ToString();
That should be it...