Using a product Type Property is another way. This has the advantage of letting you set the units for some or all of the products in your catalog and you can have different units for different products.
<OL>
<LI>Use BVAdmin > Catalog > Type Properties to create a new text property called Units. Make the default value be your default units (i.e. "per lb"). I would not check "Display on Site" or "Display to Drop Shipper" since they will cause the units to display in odd places IMO.
<LI>Use BVAdmin > Catalog > Product Type to assign the Units property to your product types.
<LI>Use BVAdmin > Catalog > Products to assign different units (or no units) to your products.
<LI>Save the attached file to the BVModules\Controls directory of your site. This user control displays the value of a product type property.
<LI>Add the following line to the top of your product template (i.e. BVModules\ProductTemplates\BVC 2004 Layout\Product.ascx).
<%@ Register TagPrefix="uc" TagName="ProductTypePropertyDisplay"
Src="~/BVModules/Controls/ProductTypePropertyDisplay.ascx" %>
<LI>Add the following line to the product template every place you want the units to appear:
<uc:ProductTypePropertyDisplay runat="server"
ProductId="<%# LocalProduct.Bvin %>"
TypeProperty="Units" /></LI></OL>
You can use this for more than just units. For example, if you want to display the value of a property called "Special Handling", then you would use:
<uc:ProductTypePropertyDisplay runat="server"
ProductId="<%# LocalProduct.Bvin %>"
TypeProperty="Special Handling" />
File Attachment(s):
ProductTypePropertyDisplay.ascx
(3kb) downloaded 157 time(s).You cannot view/download attachments. Try to login or register.