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
I running the following
var merchello = new Merchello.Web.MerchelloHelper();
var products = merchello.TypedProductContentFromCollection(collectionKey).AsQueryable();
In the collection there are 22 products of which two are not available, why are these products not coming through?
I still need there information to display, and I would use the 'Available' property to define how its show.
Is there anyway to get products which have the available set to false, seems pointless having the property in the product object if its always true
I'd have to look for certain, but I suspect the underlying query is filtering out all products that are marked not available. The available property is intended to allow an editor to be able to create products with are not displayable on the front end of the website - so it's sort of a semantics issue - and/or the property should not have been added to the front end model.
However, I think it's worth a discussion if the consensus is this is confusing and needs a change. It'd be great to open a "Usability" issue in the issue tracker - http://issues.merchello.com.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted