Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 6 of 6

Thread: Location of where <title> tag is set on Product pages

  1. #1
    pumpkinpip is offline Junior Member
    Join Date
    Oct 2011
    Location
    UK
    Posts
    7

    Default Location of where <title> tag is set on Product pages

    Can anyone point out where the page <title> tag is set on product pages?

    When there is no Search Engine/Page Title set the shop name is automatically added to the front of the product name on the <title> tag that is generated and I'd like to switch it to the back but have not been able to find out where this is done.

    (MultiStore 9.2 VB with source)

  2. #2
    mmcgeachy is offline Senior Member
    Join Date
    Sep 2008
    Posts
    174

    Default

    check the showproduct.aspx.cs codebehind.

    since you are using vb.net I'm not sure if your line numbers will match so try searching for
    C#/VB.NET Code:
    SETitle Security.HtmlEncode(AppLogic.AppConfig("StoreName"
    Hope that helps.

  3. #3
    pumpkinpip is offline Junior Member
    Join Date
    Oct 2011
    Location
    UK
    Posts
    7

    Default

    Quote Originally Posted by mmcgeachy View Post
    check the showproduct.aspx.cs codebehind.

    since you are using vb.net I'm not sure if your line numbers will match so try searching for
    C#/VB.NET Code:
    SETitle Security.HtmlEncode(AppLogic.AppConfig("StoreName"
    Hope that helps.
    Perfect - many thanks!

  4. #4
    chrismartz is offline Senior Member
    Join Date
    Apr 2010
    Posts
    339

    Default

    Where is this set for showcategory?

  5. #5
    pumpkinpip is offline Junior Member
    Join Date
    Oct 2011
    Location
    UK
    Posts
    7

    Default

    Quote Originally Posted by chrismartz View Post
    Where is this set for showcategory?
    A stab in the dark: Possibly from ASPDNSFCore/Entity.vb (or C equivalent) where it gets SETitle from the Category table (or just add a trigger or other logic elsewhere to set that field automatically if not set up manually in admin)

  6. #6
    mmcgeachy is offline Senior Member
    Join Date
    Sep 2008
    Posts
    174

    Default

    Quote Originally Posted by chrismartz View Post
    Where is this set for showcategory?
    in the App_Code\ShowEntityPage.cs/.vb.