Jump to content

Admin - Client - Products/Services - Change order of items in Dropdown


ZeroGravity

Recommended Posts

Is it possible the change the order of the products and services in the dropdown on the Admin - Client Profile - Products/Services tab. I would like to have the active products listed at the top. Similarly for the domains.

I am using the blend theme and can't see anywhere in the code where this maybe possible.

Thanks!

Link to comment
Share on other sites

15 hours ago, ZeroGravity said:

Is it possible the change the order of the products and services in the dropdown on the Admin - Client Profile - Products/Services tab. I would like to have the active products listed at the top. Similarly for the domains.

it would be easier to change the tables shown on the main client summary page - it has a template and therefore can be tweaked with either a template edit, e.g if you have the sortby Smarty modifier installed, you can just change...

{foreach key=num from=$productsummary item=product}

to...

{foreach key=num from=$productsummary|@sortby:"domainstatus" item=product}

8sL2Wsj.png

and do something similar for the domains...

or you could use a action hook, get the array(s) from the template, sort them as you wish and return them back to the template.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated