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

Add pvID to product variations sort #779

Closed mlocati closed 1 year ago

mlocati commented 1 year ago

Usually, the database field CommunityStoreProductVariations.pvSort is unique for the records with the same CommunityStoreProductVariations.pID.

But in case something goes wrong, we may end up having a duplicated pvSort. So, what about adding an additional sorting criteria? That way, we are sure that the order or product variations is always well defined.