ShopifySharp
ShopifySharp copied to clipboard
Base class for Custom and Smart collection would be pretty useful
trafficstars
Hi, this is not a bug but a feature request.
I think it would be useful to have a common base class for CustomCollection and SmartCollection, say CollectionBase...
I am working on a piece of software where I want to get all products collection... I don't care if it is a Smart or Custom collection. All I need is Collection's title... because these two class have no common base class I have to repeat my code 2 time, once for each type.
I think that's a decent idea, I'll see if we can add an interface or base class for the two different collection types.