• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

nolax
#1 Posted : Wednesday, December 1, 2010 10:55:47 AM(UTC)
nolax

Rank: Member

Joined: 9/21/2004(UTC)
Posts: 97

Greetigns All;

This probably is an old issue that may have been resolved as it is cleary a problem.



we are running Bv 5.5



We started using the minimum quantity for products whose price is below $10.00. For examply, we set minimum quantity at 10 for a product. If the lcient pull up the product page for that product he sees that the quantity defaults to 10. He can add the 10 or icrease it to a larger number without any problem. If the client however, reduces the number to say 9, the site errors out with the message below:


<H2>Object reference not set to an instance of an object. </H2>[color=#ffffcc>

[tr ][td ]<CODE>
Line]Line 145: If quantity &lt; LocalProduct.MinimumQty Then
<FONT color=red>Line 146: MessageBox.ShowError(Content.SiteTerms.ReplaceTermVariable(Content.SiteTerms.GetTerm("ProductPageMinimumQuantityError"), "quantity", LocalProduct.MinimumQty.ToString()))
[/color]Line 147: args.IsValid = False
Line 148: End If</PRE>[/code][/td][/tr]</TABLE>
<B>[color=#ffffcc>

[tr ][td ]<CODE>
[NullReferenceException:] BVModules_ProductTemplates_BVC_2004_Layout_Product.AddToCartClicked(AddToCartClickedEventArgs args) in D:\Domains\getfeetwet.com\wwwroot\BVModules\ProductTemplates\BVC 2004 Layout\Product.aspx.vb:146
BVModules_Controls_AddToCartButton.btnAdd_Click(Object sender, ImageClickEventArgs e) in D:\Domains\getfeetwet.com\wwwroot\BVModules\Controls\AddToCartButton.ascx.vb:42
System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +108
System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +118
System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
</PRE>[/code][/td][/tr]</TABLE>[/color]



Can somebody please advise.
Aaron
#2 Posted : Wednesday, December 1, 2010 12:04:19 PM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
Sounds like your product template or master page does not contain a MessageBox user control.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
nolax
#3 Posted : Thursday, December 2, 2010 10:22:22 AM(UTC)
nolax

Rank: Member

Joined: 9/21/2004(UTC)
Posts: 97

Hi AAron:
Any idea how to resolve this? Is there a file I need to get.



The things is, if the item is added to cart and the client changed to quantity to a number lower

than minimum in the shopping cart, the error message form site terms shows up which what we would expect. It is only on the product page when the qty

is changed to a lower number than minimum and added to cart where the problems show up.



Please advise.



Nolax
Aaron
#4 Posted : Thursday, December 2, 2010 10:44:36 AM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
Nolan,

You should have something like the code below in your Product.master file in your theme folder.

Code:
<uc4:MessageBox ID="MessageBox1" runat="server" EnableViewState="False" />
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
nolax
#5 Posted : Thursday, December 2, 2010 10:50:14 PM(UTC)
nolax

Rank: Member

Joined: 9/21/2004(UTC)
Posts: 97

Hi Aaron:

Below is a copy of the contents of Product.Master in my them directory. The entry is there. I am really stuck. Any more thoughts.



Please advise



Thanks.

Nolan



&lt;%@ Master Language="VB" CodeFile="Product.master.vb" Inherits="BVModules_Themes_Painted_Paper_Product" %&gt;
&lt;%@ Register Src="../../Controls/MessageBox.ascx" TagName="MessageBox" TagPrefix="uc4" %&gt;
&lt;%@ Register Src="./controls/Header.ascx" TagName="Header" TagPrefix="uc1" %&gt;
&lt;%@ Register Src="./controls/Footer.ascx" TagName="Footer" TagPrefix="uc2" %&gt;
&lt;%@ Register Src="~/BVModules/Controls/AdminPanel.ascx" TagName="AdminPanel" TagPrefix="uc3" %&gt;
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head id="Head1" runat="server"&gt;
&lt;title&gt;Home&lt;/title&gt;
&lt;meta name="Keywords" id="MetaKeywords" runat="server" /&gt;
&lt;meta name="Description" id="MetaDescription" runat="server" /&gt;
&lt;link href="./styles/styles.css" rel="stylesheet" type="text/css" /&gt;

&lt;/head&gt;
&lt;body&gt;
&lt;form id="form1" runat="server"&gt;
&lt;uc3:AdminPanel ID="AdminPanel1" runat="server"&gt;&lt;/uc3:AdminPanel&gt;
&lt;div id="maincontent"&gt;
&lt;uc1:Header ID="Header1" runat="server" /&gt;
&lt;div class="maincontentwrapper clear"&gt;
&lt;uc4:MessageBox ID="MessageBox1" runat="server" EnableViewState="False" /&gt;
&lt;asp:ContentPlaceHolder ID="MainContentHolder" runat="server"&gt;
&lt;/asp:ContentPlaceHolder&gt;
&lt;/div&gt;
&lt;div class="maincontentwrapper"&gt;
&lt;uc2:Footer ID="Footer1" runat="server" /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id="maincontentfooter"&gt;
&amp;nbsp;&lt;/div&gt;
&lt;/form&gt;
&lt;script type="text/javascript" src="<a target="_blank" href='http://tracking.feedperfect.com/track.js">&lt;/script'>http://tracking.feedperfect.com/track.js"&gt;&lt;/script</A>&gt;
&lt;script type="text/javascript"&gt;
var fpAccount='b4442aabee';
if (window.fpTrackLanding!=undefined) fpTrackLanding();
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
Aaron
#6 Posted : Friday, December 3, 2010 9:24:05 AM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
OK, check that your product template (\BVModules\ProductTemplates\BVC 2004 Layout\Product.aspx) also has this line.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
nolax
#7 Posted : Saturday, December 4, 2010 8:13:47 PM(UTC)
nolax

Rank: Member

Joined: 9/21/2004(UTC)
Posts: 97

Hi Aaron:

Again thanks for not giving up on us. I checked the product.aspx in directory mentioned and true enough, that line is not there. I am sure it a no brainer to you but I am not sure where to put the line. I tried to insert it in a couple of sections but I get an error message. I am sure that I am not putting it in the correct space. I am more a SQL programmer and not quite versed in CSS and VB. I see an uc4 entry already there and I am not sure if that UC4 should be unique



Below is a copy of the product.aspx file. Can you please take a quick look and indicate where to insert the line

&lt;%@ Page Language="VB" MasterPageFile="~/BVModules/Themes/Bvc5/Default.master" AutoEventWireup="false"
CodeFile="Product.aspx.vb" Inherits="BVModules_ProductTemplates_BVC_2004_Layout_Product"
Title="Product Details" %&gt;
&lt;%@ Register Src="../../Controls/OutOfStockDisplay.ascx" TagName="OutOfStockDisplay"
TagPrefix="uc15" %&gt;
&lt;%@ Register Src="../../Controls/ProductMainImage.ascx" TagName="ProductMainImage"
TagPrefix="uc14" %&gt;
&lt;%@ Register Src="../../Controls/ProductTypeDisplay.ascx" TagName="ProductTypeDisplay"
TagPrefix="uc13" %&gt;
&lt;%@ Register Src="../../Controls/VolumeDiscounts.ascx" TagName="VolumeDiscounts"
TagPrefix="uc12" %&gt;
&lt;%@ Register Src="../../Controls/AddToCartButton.ascx" TagName="AddToCartButton"
TagPrefix="uc11" %&gt;
&lt;%@ Register Assembly="Anthem" Namespace="Anthem" TagPrefix="anthem" %&gt;
&lt;%@ Register Src="../../Controls/MessageBox.ascx" TagName="MessageBox" TagPrefix="uc10" %&gt;
&lt;%@ Register Src="../../Controls/AddToWishlist.ascx" TagName="AddToWishlist" TagPrefix="uc9" %&gt;
&lt;%@ Register Src="../../Controls/VariantsDisplay.ascx" TagName="VariantsDisplay"
TagPrefix="uc8" %&gt;
&lt;%@ Register Src="../../Controls/SuggestedItems.ascx" TagName="SuggestedItems" TagPrefix="uc8" %&gt;
&lt;%@ Register Src="../../Controls/EmailThisPage.ascx" TagName="EmailThisPage" TagPrefix="uc7" %&gt;
&lt;%@ Register Src="../../Controls/AdditionalImages.ascx" TagName="AdditionalImages"
TagPrefix="uc6" %&gt;
&lt;%@ Register Src="../../Controls/SingleProductDisplay.ascx" TagName="SingleProductDisplay"
TagPrefix="uc5" %&gt;
&lt;%@ Register Src="../../Controls/CrossSellDisplay.ascx" TagName="CrossSellDisplay"
TagPrefix="uc4" %&gt;
&lt;%@ Register Src="../../Controls/ProductReviewDisplay.ascx" TagName="ProductReviewDisplay"
TagPrefix="uc3" %&gt;
&lt;%@ Register Src="../../Controls/RelatedItems.ascx" TagName="RelatedItems" TagPrefix="uc2" %&gt;
&lt;%@ Register Src="../../Controls/PrintThisPage.ascx" TagName="PrintThisPage" TagPrefix="uc1" %&gt;
&lt;%@ Register Src="../../Controls/CategoryBreadCrumbTrail.ascx" TagName="CategoryBreadCrumbTrail"
TagPrefix="ucc2" %&gt;
&lt;%@ Register Src="../../Controls/ContentColumnControl.ascx" TagName="ContentColumnControl"
TagPrefix="ucc1" %&gt;
&lt;asp:Content ID="Content1" ContentPlaceHolderID="MainContentHolder" runat="Server"&gt;
&lt;ucc2:CategoryBreadCrumbTrail ID="CategoryBreadCrumbTrail1" runat="server" /&gt;
&lt;ucc1:ContentColumnControl ID="PreContentColumn" runat="server" /&gt;
&lt;div id="bvc2004productpage"&gt;
&lt;div id="menucolumn"&gt;
&lt;ucc1:ContentColumnControl ID="ContentColumnControl1" runat="server" ColumnName="System Product Page" /&gt;
&lt;/div&gt;
&lt;div id="imagecolumn"&gt;
&lt;asp:ValidationSummary ID="ValidationSummary1" runat="server" CssClass="errormessage" /&gt;
&lt;uc15:OutOfStockDisplay ID="OutOfStockDisplay1" runat="server" /&gt;
&lt;div id="productimage"&gt;
&lt;uc14:ProductMainImage ID="ProductMainImage1" runat="server" /&gt;
&lt;uc6:AdditionalImages ID="AdditionalImages" runat="server" /&gt;
&lt;/div&gt;
&lt;uc7:EmailThisPage ID="EmailThisPage1" runat="server" /&gt;
&lt;uc1:PrintThisPage ID="PrintThisPage2" runat="server" /&gt;
&lt;uc2:RelatedItems ID="RelatedItems2" runat="server" /&gt;
&lt;uc4:CrossSellDisplay ID="CrossSellDisplay" runat="server" DisplayDescript<b>ions="true"
</b> RepeatColumns="1" RepeatDirection="Vertical" RepeatLayout="Table" DisplayMode="Wide"
DisplayAddToCartButton="true" /&gt;
&lt;uc8:SuggestedItems ID="SuggestedItems1" runat="server" /&gt;
&lt;/div&gt;
&lt;div id="contentcolumn"&gt;
&lt;h1&gt;
&lt;anthem:Label ID="lblName" runat="server" AutoUpdateAfterCallBack="true"&gt;&lt;/anthem:Label&gt;&lt;/h1&gt;
&lt;div id="ProductSKU"&gt;
&lt;span class="ProductPropertyLabel"&gt;
&lt;asp:Label ID="lblSKUTitle" runat="server" CssClass="ProductPropertyLabel"&gt;SKU:&lt;/asp:Label&gt;
&lt;/span&gt;
&lt;anthem:Label ID="lblSku" runat="server" AutoUpdateAfterCallBack="true"&gt;&lt;/anthem:Label&gt;&lt;/div&gt;
&lt;div id="ProductDescription"&gt;
&lt;anthem:Label ID="lblDescription" runat="server" AutoUpdateAfterCallBack="true"&gt;&lt;/anthem:Label&gt;&lt;/div&gt;
&lt;div id="ProductProperties"&gt;
&lt;ul id="lstProperties" runat="server"&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div id="ProductControls"&gt;
&lt;div id="ProductOptions"&gt;
&lt;uc8:VariantsDisplay ID="VariantsDisplay" runat="server" /&gt;
&lt;/div&gt;
&lt;anthem:Panel ID="ProductControlsPanel" runat="server"&gt;
&lt;div id="ProductTypes"&gt;
&lt;uc13:ProductTypeDisplay ID="ProductTypeDisplay1" runat="server"&gt;&lt;/uc13:ProductTypeDisplay&gt;
&lt;/div&gt;
&lt;anthem:Panel ID="pnlPrices" runat="server"&gt;
&lt;div id="Prices"&gt;
&lt;table cellspacing="0" cellpadding="3"&gt;
&lt;tr id="trListPrice" runat="server"&gt;
&lt;td align="right"&gt;
&lt;b&gt;
&lt;asp:Label ID="lblListPriceName" runat="server" CssClass="ProductPropertyLabel"&gt;List Price&lt;/asp:Label&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;
&lt;anthem:Label ID="lblListPrice" runat="server" CssClass="ListPrice" Text="$x.xx"
AutoUpdateAfterCallBack="true"&gt;$x.xx&lt;/anthem:Label&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align="right"&gt;
&lt;b&gt;
&lt;asp:Label ID="lblSitePriceName" runat="server" CssClass="ProductPropertyLabel"&gt;Your Price&lt;/asp:Label&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;
&lt;anthem:Label ID="lblSitePrice" runat="server" CssClass="SitePrice" Text="$x.xx"
AutoUpdateAfterCallBack="true"&gt;$x.xx&lt;/anthem:Label&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr id="trYouSave" runat="server"&gt;
&lt;td align="right"&gt;
&lt;b&gt;
&lt;asp:Label ID="lblYouSaveLabel" runat="server" CssClass="ProductPropertyLabel"&gt;You Save&lt;/asp:Label&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;
&lt;anthem:Label ID="lblYouSave" runat="server" CssClass="YouSave" Text="$x.xx" AutoUpdateAfterCallBack="true"&gt;$x.xx&lt;/anthem:Label&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr id="trQuantity" runat="server"&gt;
&lt;td class="ProductPropertyLabel" align="right"&gt;
&lt;b&gt;
&lt;asp:Label ID="lblQuantity" runat="server" CssClass="ProductPropertyLabel"&gt;Quantity&lt;/asp:Label&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;
&lt;asp:TextBox ID="QuantityField" TabIndex="5000" runat="server" CssClass="FormInput"
Columns="5" MaxLength="4"&gt;1&lt;/asp:TextBox&gt;&lt;bvc5:BVRequiredFieldValidator ID="valQty"
runat="server" CssClass="errormessage" ForeColor=" " Display="Dynamic" ControlToValidate="QuantityField"
EnableClientscript="True" ErrorMessage="Please Enter A Quantity"&gt;*&lt;/bvc5:BVRequiredFieldValidator&gt;
&lt;bvc5:BVRegularExpressionValidator
ID="val2Qty" runat="server" CssClass="errormessage" ForeColor=" " Display="Dynamic"
ControlToValidate="QuantityField" EnableClientscript="True" ErrorMessage="Quantity Must be between 1 and 9999"
ValidationExpression="\d+|\d+\d+|\d+\d+\d+|\d+\d+\d+\d+"&gt;&lt;/bvc5:BVRegularExpressionValidator&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/anthem:Panel&gt;
&lt;asp:ValidationSummary ID="valSummary" runat="server" CssClass="errormessage" ForeColor=" "
EnableClientscript="True" DisplayMode="BulletList" ShowSummary="True"&gt;&lt;/asp:ValidationSummary&gt;
&lt;table border="0" cellspacing="0" cellpadding="0"&gt;
&lt;tr&gt;
&lt;td align="left" valign="top"&gt;
&lt;uc11:AddToCartButton ID="AddToCartButton1" runat="server" /&gt;
&lt;uc9:AddToWishlist ID="AddToWishlist1" runat="server" /&gt;
&lt;/td&gt;
&lt;td id="tdWishList" runat="server" align="left" valign="top"&gt;
&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="2"&gt;
&lt;asp:Literal ID="AmazonBuyLink" runat="server"&gt;&lt;/asp:Literal&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="2"&gt;
&lt;anthem:Label ID="ItemAddedToCartLabel" CssClass="AddedToCartMessage" runat="server"
Text="Item has been added to cart." Visible="False" AutoUpdateAfterCallBack="true"&gt;&lt;/anthem:Label&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;uc12:VolumeDiscounts ID="VolumeDiscounts1" runat="server" /&gt;
&lt;/anthem:Panel&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;uc3:ProductReviewDisplay ID="ProductReviewDisplay2" runat="server" /&gt;
&lt;/div&gt;
&lt;ucc1:ContentColumnControl ID="PostContentColumn" runat="server" /&gt;
&lt;/asp:Content&gt;
Aaron
#8 Posted : Saturday, December 4, 2010 9:40:38 PM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
Nolan,
Add the following code on your page where you want the message box to display:

Code:
<uc10:MessageBox ID="MessageBox1" runat="server" EnableViewState="False" />


Looking at your template, I'd say you should place is right after

Code:
<div id="contentcolumn">

or right after
Code:
<div id="bvc2004productpage">
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
nolax
#9 Posted : Sunday, December 5, 2010 10:17:53 AM(UTC)
nolax

Rank: Member

Joined: 9/21/2004(UTC)
Posts: 97

Greetings Aaron:

I really appreciate your time. I did what you suggested on both positions

wwwroot/BVModules/ProductTemplates/BVC 2004 Layout/product.aspx

and still error message. Below is a copy of the error message and product.aspx as modified with the line insertio:

<H2>Object reference not set to an instance of an object. </H2>
[color=#ffffcc>

[tr ][td ]<CODE>
Line]Line 145: If quantity &lt; LocalProduct.MinimumQty Then
<FONT color=red>Line 146: MessageBox.ShowError(Content.SiteTerms.ReplaceTermVariable(Content.SiteTerms.GetTerm("ProductPageMinimumQuantityError"), "quantity", LocalProduct.MinimumQty.ToString()))
[/color]Line 147: args.IsValid = False
Line 148: End If</PRE>[/code][/td][/tr]</TABLE>
[color=#ffffcc>

[tr ][td ]<CODE>
[NullReferenceException:] BVModules_ProductTemplates_BVC_2004_Layout_Product.AddToCartClicked(AddToCartClickedEventArgs args) in D:\Domains\getfeetwet.com\wwwroot\BVModules\ProductTemplates\BVC 2004 Layout\Product.aspx.vb:146
BVModules_Controls_AddToCartButton.btnAdd_Click(Object sender, ImageClickEventArgs e) in D:\Domains\getfeetwet.com\wwwroot\BVModules\Controls\AddToCartButton.ascx.vb:42
System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +108
System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +118
System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565</PRE>
</PRE>

Here is the product.aspx code as edited:</PRE>
&lt;%@ Page Language="VB" MasterPageFile="~/BVModules/Themes/Bvc5/Default.master" AutoEventWireup="false"
CodeFile="Product.aspx.vb" Inherits="BVModules_ProductTemplates_BVC_2004_Layout_Product"
Title="Product Details" %&gt;
&lt;%@ Register Src="../../Controls/OutOfStockDisplay.ascx" TagName="OutOfStockDisplay"
TagPrefix="uc15" %&gt;
&lt;%@ Register Src="../../Controls/ProductMainImage.ascx" TagName="ProductMainImage"
TagPrefix="uc14" %&gt;
&lt;%@ Register Src="../../Controls/ProductTypeDisplay.ascx" TagName="ProductTypeDisplay"
TagPrefix="uc13" %&gt;
&lt;%@ Register Src="../../Controls/VolumeDiscounts.ascx" TagName="VolumeDiscounts"
TagPrefix="uc12" %&gt;
&lt;%@ Register Src="../../Controls/AddToCartButton.ascx" TagName="AddToCartButton"
TagPrefix="uc11" %&gt;
&lt;%@ Register Assembly="Anthem" Namespace="Anthem" TagPrefix="anthem" %&gt;
&lt;%@ Register Src="../../Controls/MessageBox.ascx" TagName="MessageBox" TagPrefix="uc10" %&gt;
&lt;%@ Register Src="../../Controls/AddToWishlist.ascx" TagName="AddToWishlist" TagPrefix="uc9" %&gt;
&lt;%@ Register Src="../../Controls/VariantsDisplay.ascx" TagName="VariantsDisplay"
TagPrefix="uc8" %&gt;
&lt;%@ Register Src="../../Controls/SuggestedItems.ascx" TagName="SuggestedItems" TagPrefix="uc8" %&gt;
&lt;%@ Register Src="../../Controls/EmailThisPage.ascx" TagName="EmailThisPage" TagPrefix="uc7" %&gt;
&lt;%@ Register Src="../../Controls/AdditionalImages.ascx" TagName="AdditionalImages"
TagPrefix="uc6" %&gt;
&lt;%@ Register Src="../../Controls/SingleProductDisplay.ascx" TagName="SingleProductDisplay"
TagPrefix="uc5" %&gt;
&lt;%@ Register Src="../../Controls/CrossSellDisplay.ascx" TagName="CrossSellDisplay"
TagPrefix="uc4" %&gt;
&lt;%@ Register Src="../../Controls/ProductReviewDisplay.ascx" TagName="ProductReviewDisplay"
TagPrefix="uc3" %&gt;
&lt;%@ Register Src="../../Controls/RelatedItems.ascx" TagName="RelatedItems" TagPrefix="uc2" %&gt;
&lt;%@ Register Src="../../Controls/PrintThisPage.ascx" TagName="PrintThisPage" TagPrefix="uc1" %&gt;
&lt;%@ Register Src="../../Controls/CategoryBreadCrumbTrail.ascx" TagName="CategoryBreadCrumbTrail"
TagPrefix="ucc2" %&gt;
&lt;%@ Register Src="../../Controls/ContentColumnControl.ascx" TagName="ContentColumnControl"
TagPrefix="ucc1" %&gt;
&lt;asp:Content ID="Content1" ContentPlaceHolderID="MainContentHolder" runat="Server"&gt;
&lt;ucc2:CategoryBreadCrumbTrail ID="CategoryBreadCrumbTrail1" runat="server" /&gt;
&lt;ucc1:ContentColumnControl ID="PreContentColumn" runat="server" /&gt;
&lt;div id="bvc2004productpage"&gt;
&lt;uc4:MessageBox ID="MessageBox" runat="server" EnableViewState="False" /&gt;
&lt;div id="menucolumn"&gt;
&lt;ucc1:ContentColumnControl ID="ContentColumnControl1" runat="server" ColumnName="System Product Page" /&gt;
&lt;/div&gt;
&lt;div id="imagecolumn"&gt;
&lt;asp:ValidationSummary ID="ValidationSummary1" runat="server" CssClass="errormessage" /&gt;
&lt;uc15:OutOfStockDisplay ID="OutOfStockDisplay1" runat="server" /&gt;
&lt;div id="productimage"&gt;
&lt;uc14:ProductMainImage ID="ProductMainImage1" runat="server" /&gt;
&lt;uc6:AdditionalImages ID="AdditionalImages" runat="server" /&gt;
&lt;/div&gt;
&lt;uc7:EmailThisPage ID="EmailThisPage1" runat="server" /&gt;
&lt;uc1:PrintThisPage ID="PrintThisPage2" runat="server" /&gt;
&lt;uc2:RelatedItems ID="RelatedItems2" runat="server" /&gt;
&lt;uc4:CrossSellDisplay ID="CrossSellDisplay" runat="server" DisplayDescript<b>
ions="true"
RepeatColumns="1" RepeatDirection="Vertical" RepeatLayout="Table" DisplayMode="Wide"
DisplayAddToCartButton="true" /&gt;
&lt;uc8:SuggestedItems ID="SuggestedItems1" runat="server" /&gt;
&lt;/div&gt;
&lt;div id="contentcolumn"&gt;
&lt;h1&gt;
&lt;anthem:Label ID="lblName" runat="server" AutoUpdateAfterCallBack="true"&gt;&lt;/anthem:Label&gt;&lt;/h1&gt;
&lt;div id="ProductSKU"&gt;
&lt;span class="ProductPropertyLabel"&gt;
&lt;asp:Label ID="lblSKUTitle" runat="server" CssClass="ProductPropertyLabel"&gt;SKU:&lt;/asp:Label&gt;
&lt;/span&gt;
&lt;anthem:Label ID="lblSku" runat="server" AutoUpdateAfterCallBack="true"&gt;&lt;/anthem:Label&gt;&lt;/div&gt;
&lt;div id="ProductDescription"&gt;
&lt;anthem:Label ID="lblDescription" runat="server" AutoUpdateAfterCallBack="true"&gt;&lt;/anthem:Label&gt;&lt;/div&gt;
&lt;div id="ProductProperties"&gt;
&lt;ul id="lstProperties" runat="server"&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div id="ProductControls"&gt;
&lt;div id="ProductOptions"&gt;
&lt;uc8:VariantsDisplay ID="VariantsDisplay" runat="server" /&gt;
&lt;/div&gt;
&lt;anthem:Panel ID="ProductControlsPanel" runat="server"&gt;
&lt;div id="ProductTypes"&gt;
&lt;uc13:ProductTypeDisplay ID="ProductTypeDisplay1" runat="server"&gt;&lt;/uc13:ProductTypeDisplay&gt;
&lt;/div&gt;
&lt;anthem:Panel ID="pnlPrices" runat="server"&gt;
&lt;div id="Prices"&gt;
&lt;table cellspacing="0" cellpadding="3"&gt;
&lt;tr id="trListPrice" runat="server"&gt;
&lt;td align="right"&gt;
&lt;b&gt;
&lt;asp:Label ID="lblListPriceName" runat="server" CssClass="ProductPropertyLabel"&gt;List Price&lt;/asp:Label&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;
&lt;anthem:Label ID="lblListPrice" runat="server" CssClass="ListPrice" Text="$x.xx"
AutoUpdateAfterCallBack="true"&gt;$x.xx&lt;/anthem:Label&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align="right"&gt;
&lt;b&gt;
&lt;asp:Label ID="lblSitePriceName" runat="server" CssClass="ProductPropertyLabel"&gt;Your Price&lt;/asp:Label&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;
&lt;anthem:Label ID="lblSitePrice" runat="server" CssClass="SitePrice" Text="$x.xx"
AutoUpdateAfterCallBack="true"&gt;$x.xx&lt;/anthem:Label&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr id="trYouSave" runat="server"&gt;
&lt;td align="right"&gt;
&lt;b&gt;
&lt;asp:Label ID="lblYouSaveLabel" runat="server" CssClass="ProductPropertyLabel"&gt;You Save&lt;/asp:Label&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;
&lt;anthem:Label ID="lblYouSave" runat="server" CssClass="YouSave" Text="$x.xx" AutoUpdateAfterCallBack="true"&gt;$x.xx&lt;/anthem:Label&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr id="trQuantity" runat="server"&gt;
&lt;td class="ProductPropertyLabel" align="right"&gt;
&lt;b&gt;
&lt;asp:Label ID="lblQuantity" runat="server" CssClass="ProductPropertyLabel"&gt;Quantity&lt;/asp:Label&gt;&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;
&lt;asp:TextBox ID="QuantityField" TabIndex="5000" runat="server" CssClass="FormInput"
Columns="5" MaxLength="4"&gt;1&lt;/asp:TextBox&gt;&lt;bvc5:BVRequiredFieldValidator ID="valQty"
runat="server" CssClass="errormessage" ForeColor=" " Display="Dynamic" ControlToValidate="QuantityField"
EnableClientscript="True" ErrorMessage="Please Enter A Quantity"&gt;*&lt;/bvc5:BVRequiredFieldValidator&gt;
&lt;bvc5:BVRegularExpressionValidator
ID="val2Qty" runat="server" CssClass="errormessage" ForeColor=" " Display="Dynamic"
ControlToValidate="QuantityField" EnableClientscript="True" ErrorMessage="Quantity Must be between 1 and 9999"
ValidationExpression="\d+|\d+\d+|\d+\d+\d+|\d+\d+\d+\d+"&gt;&lt;/bvc5:BVRegularExpressionValidator&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/anthem:Panel&gt;
&lt;asp:ValidationSummary ID="valSummary" runat="server" CssClass="errormessage" ForeColor=" "
EnableClientscript="True" DisplayMode="BulletList" ShowSummary="True"&gt;&lt;/asp:ValidationSummary&gt;
&lt;table border="0" cellspacing="0" cellpadding="0"&gt;
&lt;tr&gt;
&lt;td align="left" valign="top"&gt;
&lt;uc11:AddToCartButton ID="AddToCartButton1" runat="server" /&gt;
&lt;uc9:AddToWishlist ID="AddToWishlist1" runat="server" /&gt;
&lt;/td&gt;
&lt;td id="tdWishList" runat="server" align="left" valign="top"&gt;
&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="2"&gt;
&lt;asp:Literal ID="AmazonBuyLink" runat="server"&gt;&lt;/asp:Literal&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="2"&gt;
&lt;anthem:Label ID="ItemAddedToCartLabel" CssClass="AddedToCartMessage" runat="server"
Text="Item has been added to cart." Visible="False" AutoUpdateAfterCallBack="true"&gt;&lt;/anthem:Label&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;uc12:VolumeDiscounts ID="VolumeDiscounts1" runat="server" /&gt;
&lt;/anthem:Panel&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;uc3:ProductReviewDisplay ID="ProductReviewDisplay2" runat="server" /&gt;
&lt;/div&gt;
&lt;ucc1:ContentColumnControl ID="PostContentColumn" runat="server" /&gt;
&lt;/asp:Content&gt;
</PRE>[/code][/td][/tr]</TABLE>[/color]
nolax
#10 Posted : Sunday, December 5, 2010 10:39:07 AM(UTC)
nolax

Rank: Member

Joined: 9/21/2004(UTC)
Posts: 97

Hi Aaron:

Please ignore that last post. Turns out that we were sending the updated products.aspx to a test box and but we are testing on the production box.

If did make change and I get the error below. Looks like [color=#ffffcc>

[tr ][td ]<CODE>
Line]Line 38: &lt;div id="bvc2004productpage"&gt;
Line 39: &lt;uc4:MessageBox ID="MessageBox1" runat="server" EnableViewState="False" /&gt;
[/color]Line 40: &lt;div id="menucolumn"&gt;
Line 41: &lt;ucc1:ContentColumnControl ID="ContentColumnControl1" runat="server" ColumnName="System Product Page" /&gt;</PRE>[/code][/td][/tr]</TABLE>
<FONT face=Verdana>Source File: /BVModules/ProductTemplates/BVC 2004 Layout/Product.aspx Line: 39 </FONT>
Aaron
#11 Posted : Monday, December 6, 2010 8:08:46 AM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
Sorry, Nolan; my mistake. Try the code below. I also updated my code in the previous post.

Code:
<uc10:MessageBox ID="MessageBox1" runat="server" EnableViewState="False" />
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012