Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
I am using the ecommerce module and I have products that are displayed in multiple groups.
e.g. some socks are in both womens and underwear.
The problem is the SortLinks (Showing 1 - 12 of 32 Products) is not recognising the products from the other group.
So if I have 40 items in 'womens', 32 items and 8 items from 'socks' the SortLinks is only counting the original 32 items from 'womens' and is not counting the 8 items from the 'socks' group.
Does anybody know what I need to do to fix this? Thanks :)
Does anyone have any thoughts on this? Did I explain it in a way that makes sense?
I have done some work on this on Product Groups ... see: http://code.google.com/p/silverstripe-ecommerce/source/browse/branches/ssu/code/ProductGroup.php line 105. I am not sure if that will help you - but perhaps it will. You can see this in action here: www.silverstripe-ecommerce.com
I played around with it a bit but my php is pretty poor so no joy I'm afraid. I wasn't sure exactly how much of the code to copy and how much of the original code to replace :)
Kinda wierd why the ecommerce module doesn't recognise the product count if it comes from a different group.
yeah - I think that is pretty much a "bug"