Page 1 of 1

SelfReg packages sortby price and not alphabetical order

Posted: Mon Dec 08, 2014 4:38 pm
by delve2013
I have created 3 selfreg packages that users can subscribe to. The issue I have is that the packages are displayed in the following order:
{alphabetical)
1. Bronze
2. Gold
3. Silver

I need them to be displayed like this:

1. Bronze
2. Silver
3. Gold

Anyone have any smarty code they can provide that will sort the packages into the order I want?

Re: SelfReg packages sortby price and not alphabetical order

Posted: Mon Dec 08, 2014 8:02 pm
by Dr.CSS
Is there a sortby parameter in the Help for that module..?

Re: SelfReg packages sortby price and not alphabetical order

Posted: Mon Dec 08, 2014 10:15 pm
by delve2013
No there isn't. I was thinking it could be done using some smarty code?

Re: SelfReg packages sortby price and not alphabetical order

Posted: Wed Dec 10, 2014 4:18 pm
by Dr.CSS
You can most likely set them up in the order you want by making changes to the template, first add <pre>{get_template_vars}</pre> which should tell you what they are, then use the variable to call them in order you want...