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
GetCategoryName($productSku) only seems to return anything if the particular product is in one category only... perhaps this is by design, but it'd be neat if it just returned the first parent category if it also had other parents. Or perhaps theres room for a GetMultipleParents, or something similar.
Other than that, thanks for making the effort to make this package, it's helped me immensely
If anyone else comes across this problem, I downloaded the uCommerceContrib source off codeplex and changed GetCategoryName to use query.FirstOrDefault().Category.Name instead of query.SingleOrDefault().Category.Name and that did the trick for me.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted