calculate pricing for collective orders prepared in a mediawiki