Copied to clipboard

Flag this post as spam?

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


  • James Shute 5 posts 84 karma points
    Oct 16, 2017 @ 10:30
    James Shute
    0

    How to add make a return link from the Product page to the category, the Product was listed in

    First time using Merchello in Umbraco 7.6.5, already used a couple from the FastTrack Project, but I don't know how to do a return button to take the user back to the category page the product was listed in.

    If I do @Model.Parent.Url it will only direct me to the Store page, which is not what I want.

    Does anyone know how to do a return button that will take the user back to the category page?

  • Alex Clavelle 13 posts 124 karma points
    Feb 02, 2018 @ 19:20
    Alex Clavelle
    0

    On the category page, output your links like so:

    /product-url?parentCategory=categoryGuid

    then on the product page you can do something like:

    <a href="catalog?collection=@Request.QueryString["parentCategory"]">Back to parent</a>
    
Please Sign in or register to post replies

Write your reply to:

Draft