concretecms-community-store / community_store

An open, free and community developed eCommerce system for Concrete CMS
https://concretecms-community-store.github.io/community_store/
MIT License
106 stars 66 forks source link

Sort order field for product groups #554

Closed evgk closed 4 years ago

evgk commented 4 years ago

We're heavily using the product groups feature on our sites. One issue with the current implementation is that there is no sort order field on the ProductGroup model. I know there is a sort order field for the categorization through product pages, but we're not using those - product groups give much more flexibility to the content manager as to how the products from point of sale should be displayed on the site. I think that might be something that is useful in general - should we do a PR for that? So adding a pSortOrder field on ProductGroup, making it editable in backend group-edit screen, and adding a "Sort by group order" field to the sort-by list of the product-list block.

Mesuva commented 4 years ago

That sounds very useful, it sounds similar to how you can re-order files in file sets.

A PR would be very welcome. Thank you for your contributions to date, they are very appreciated!

evgk commented 4 years ago

Included it in PR#552, commit:

https://github.com/concrete5-community-store/community_store/pull/552/commits/54f304e8ed5c455e90a39a784bea5d4fce8860e3