Jump to content

The number of active services for the product group


ISH

Recommended Posts

Hi,

 

Dear community users,

 

Shows the number in active service in the customer interface.

We want to show the number in active service with the group but we relevant product.

For example:

Dedicated Servers

Virtual Servers

Web hosting, etc.

We need hooks with Client Area Homepage Tiles (not Panels)

 

In these groups you have active or is it possible to show how Total product number.

all shows the number of currently active services.

I thank everyone in advance

 

Link to comment
Share on other sites

On 28/01/2019 at 13:48, ISH said:

We want to show the number in active service with the group but we relevant product.

For example:

Dedicated Servers

Virtual Servers

Web hosting, etc. 

do you mean these... ?

mVShqih.png

On 28/01/2019 at 13:48, ISH said:

We need hooks with Client Area Homepage Tiles (not Panels)

the only way you could alter them with a hook would be to replace the values within the existing variables used with new values - probably by querying from the database.... you could change the labels using Language Overrides... but you couldn't change the FA5 icons with a hook as they're coded in the template.

On 28/01/2019 at 13:48, ISH said:

In these groups you have active or is it possible to show how Total product number.

if you wanted to get totals by product groups, you would have to query the database using a ClientAreaPageHome action hook.

if you just wanted to show total number of services, then the simplest way is to edit the clientareahome.tpl template and change {$clientsstats.productsnumactive} to {$clientsstats.productsnumtotal}...

6nyLFaL.png

I suppose you could use a hook to replace the values in $clientsstats if you had to... but if you're going to change these tiles to show product groups, then you're really looking at editing the template AND using potentially hooks (depending on if the values are already available to the template).

there's nothing to stop you adding more tiles to the row, or outputting them in a different way - but you will need to edit the template to do that....

BEx1NDa.png

Link to comment
Share on other sites

On 1/28/2019 at 7:18 PM, ISH said:

Hi,

 

Dear community users,

 

Shows the number in active service in the customer interface.

We want to show the number in active service with the group but we relevant product.

For example:

Dedicated Servers

Virtual Servers

Web hosting, etc.

 

These are product groups.(gid) If a client have active product in groups need to display in Homepage Tiles

 

 

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