Product & Category HTML Head Code

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
mwolf
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 50
Joined: Mon Jul 02, 2007 9:37 pm
Location: Chicago, IL
Contact:

Product & Category HTML Head Code

Post by mwolf » Thu May 07, 2009 9:41 am

I'm trying to figure out where in the code it pulls out the 'HTML Head' code set in the admin for products & categories.

In PageHelper.cs I found this:

Code: Select all

    public static void BindMetaTags(Page page, ICatalogable catalogObject)
    {
        if (catalogObject != null)
        {
            page.Header.Controls.Add(new LiteralControl(catalogObject.HtmlHead));
        }
    }
Where is catalogObject.HtmlHead created?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Product & Category HTML Head Code

Post by mazhar » Thu May 07, 2009 9:52 am

Catalog object could be of four types Product, Category, WebPage and Link. Basically locate the call to PageHelper.BindMetaTags function and check what is being sent to this function.

Post Reply