Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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?
Have you created a page for it and linked the colection in?
No.
I used the default template.
Catalog.cshtml
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
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.
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
Yep thats the one :)
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?
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> }
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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?
Have you created a page for it and linked the colection in?
No.
I used the default template.
Catalog.cshtml
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
Uhm..I'm not sure. If you read the code
Model.Categories is generic.
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
Yep thats the one :)
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?
In my case, I also needed to add this to my Razor view:
before I was able to iterate categories in this way:
is working on a reply...