SelfReg packages sortby price and not alphabetical order

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
delve2013
Forum Members
Forum Members
Posts: 91
Joined: Thu Jan 31, 2013 4:23 pm

SelfReg packages sortby price and not alphabetical order

Post 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?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: SelfReg packages sortby price and not alphabetical order

Post by Dr.CSS »

Is there a sortby parameter in the Help for that module..?
delve2013
Forum Members
Forum Members
Posts: 91
Joined: Thu Jan 31, 2013 4:23 pm

Re: SelfReg packages sortby price and not alphabetical order

Post by delve2013 »

No there isn't. I was thinking it could be done using some smarty code?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: SelfReg packages sortby price and not alphabetical order

Post 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...
Post Reply

Return to “Modules/Add-Ons”