I am trying to modify my top of page based on the current product. Using the advanced product details and <%DRAWPRODUCTDESCRIPTION%>, I can determine which section of the store the product is located in order to change the top of page HTML. The problem is that the <%DRAWPRODUCTDESCRIPTION%> will only work inside the product portion of the page. If I try getting the value before the product portion of the page it returns '<%DRAWPRODUCTDESCRIPTION%>' instead of the substituted value. So, by the time the substitution occurs the top of page has already rendered and it is too late to change it. Does anyone know of any workaround or is anyone doing what I want to do?
Thanks.