Commerce Commerce 1.x Modules & Extensions Donations commerce_donation.donations
The commerce_donation.donations snippet is used to list donations for a specific cause.
Properties:
&cause: the ID of the cause. To make this easily selectable, you can use a dropdown TV with@SELECTinput options:@SELECT `name`, `id` FROM `[[+PREFIX]]commerce_donation_cause` WHERE `removed` = 0 ORDER BY `name` ASC&sortby: the field to sort donations by, defaulting to thedonated_oncolumn. Could be ``&sortdir: the order to sort donations by, defaulting toDESC.&tpl: the twig template used to render, defaults todonations/cause/donations.twig
Some more information on the templates, including available values, can be found here.