Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Matt Ross 42 posts 47 karma points
    Sep 15, 2011 @ 16:39
    Matt Ross
    0

    ucommerce: how to change category template

    Using uCommerce 2, umbraco 4.7.

    I have a category side nav showing the categories using:

        <a>
            <xsl:attribute name="href">
                <xsl:value-of select="CommerceLibrary:GetNiceUrlForCategory($catalogueName, @id)"/>
            </xsl:attribute>
            <xsl:value-of select="@displayName"/>
        </a>

    First of all, when hovering over the links it still shows an old catalogue name, even though I've renamed the catalogue and also hardcoded the catalogue name into:

        <xsl:variable name="catalogueName" select="'MyCatalogue'"/>

    When I click on the link generated by GetNiceUrlForCategory I get the standard template that comes with uCommerce started site. I've tried deleting the whole started site, but I just can't get it to link to a template I did for the category.

    I still don't quite understand how ucommerce knows which template to use for a category link.

    Soren? :)

    Cheers,

    Matt

    Also posted on SO here. (Some with more reputation could create a ucommerce tag on SO please).

  • Matt Ross 42 posts 47 karma points
    Sep 15, 2011 @ 16:58
    Matt Ross
    0

    Found answer: Change in UrlRewriting.config ... simpelz

  • Søren Spelling Lund 1797 posts 2786 karma points
    Sep 15, 2011 @ 21:21
    Søren Spelling Lund
    0

    Beautiful! :)

Please Sign in or register to post replies

Write your reply to:

Draft