getCollection(int collection_id)¶
The getCollection method is used to get a Collection object that represents collection in the storefront.
Input parameters¶
collection_id¶
int Numeric identifier of the collection.
Returned value¶
The Collection object. If the collection is inactive or does not exist, the method returns null.