Copied to clipboard

Flag this post as spam?

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


  • Biagio Paruolo 1376 posts 1473 karma points
    Jun 27, 2016 @ 08:12
    Biagio Paruolo
    0

    Merchello 2.1 Collection: new collection not listed into catalog

    Hi,

    I installed the new Fasttrack "template".

    I create a new collection "Stampanti" etc, but it's not listed into catalog. I see only t-shirt collections. Why?

    enter image description here

  • Tony 76 posts 112 karma points
    Jun 27, 2016 @ 10:58
    Tony
    0

    Have you created a page for it and linked the colection in?

  • Biagio Paruolo 1376 posts 1473 karma points
    Jun 27, 2016 @ 12:02
    Biagio Paruolo
    0

    No.

    I used the default template.

    Catalog.cshtml

  • Tony 76 posts 112 karma points
    Jun 27, 2016 @ 12:43
    Tony
    0

    For it to show in the website you need to create a page in teh website, then link the products collection to the collection you have created so it can pull then through

  • Biagio Paruolo 1376 posts 1473 karma points
    Jun 27, 2016 @ 14:41
    Biagio Paruolo
    0

    Uhm..I'm not sure. If you read the code

    var categories = Model.Categories != null ? Model.Categories.Children().ToArray() : Enumerable.Empty<ProductCollection>();
    

    Model.Categories is generic.

  • Biagio Paruolo 1376 posts 1473 karma points
    Jun 27, 2016 @ 14:47
    Biagio Paruolo
    100

    I found the solution.

    In the content tree -> store -> catalog, you need to associate the catalog collection with collection build in the Merchello section.

    Thx

    Screen Guide

  • Tony 76 posts 112 karma points
    Jun 27, 2016 @ 14:49
    Tony
    0

    Yep thats the one :)

  • bob baty-barr 1171 posts 1284 karma points
    Feb 05, 2017 @ 20:34
    bob baty-barr
    0

    in version 2.4, it allows me to pick the collection, but none of the products... i would assume the products would appear on the catalog page, right?

  • Dacre 2 posts 71 karma points
    Oct 01, 2017 @ 04:25
    Dacre
    0

    In my case, I also needed to add this to my Razor view:

    @using Merchello.FastTrack.Ui
    @using Merchello.Web
    @using Merchello.Web.Models
    

    before I was able to iterate categories in this way:

    @foreach (var category in Model.ProductCategories.Children().ToArray())
    {
    <li><b>@category.Name</b></li>
    } 
    
Please Sign in or register to post replies

Write your reply to:

Draft