Collections

if section.settings.sort == 'products_high' or section.settings.sort == 'date_reversed' or section.settings.sort == 'alphabetical_reversed' assign collections = collections | reverse endif assign moduloResult = 28 | modulo: section.settings.columns_desktop assign paginate_by = 30 if moduloResult == 0 assign paginate_by = 28 endif -%}