Display warning for certain products
- efficiondave
- Commander (CMDR)
- Posts: 151
- Joined: Tue Dec 02, 2008 10:20 am
- Location: St. Louis Missouri
- Contact:
Display warning for certain products
For California Prop 65, we need to display a warning for certain products. I'm looking for an easy way to pick the products and display the warning. Product Templates have a great system for associating the template to specific products so I created a new product template and associated the products to it but I'm not sure how to check if the product is associated to the template from the ProductDescription.ascx or ProductDescription.ascx.cs file. Any thoughts?
David O'Leary
http://www.EfficionConsulting.com
http://www.EfficionConsulting.com
-
- Commodore (COMO)
- Posts: 436
- Joined: Tue May 07, 2013 1:59 pm
Re: Display warning for certain products
The CustomFields user control on that page displays them. It utilizes the ProductCustomFieldsDialog ConLib. Assuming you are using a Merchant Field in the template, you will need to provide a value for that field for each product (via the Templates tab when editing the product) before the template field will be shown with that product's description.
Jay