Jump to content

Client area template customizing for specific product group


Remitur

Recommended Posts

I have a product groups that it's managed through "Auto release" module.

 

I would like to customize the template of client area management page for this group of products (and only for this group).

 

Is it possible?

Or do I need to write a specific product module to get this result?

:?:

Link to comment
Share on other sites

if all these products are in the same group, then you should just need to reference it's gid value...

 

OK, but is $gid yet defined and available in .TPL ?

 

Because I tried something like this in clientareaproductdetails.tpl :

 

{if $showcancelbutton && $gid != "16"}

[...]

{/if}

 

,,, and it doesn't work ... :-(

Link to comment
Share on other sites

I was working from memory, so assumed gid was there... it usually is under one name or another!

 

a couple of options... $pid is available, so you could use that... or probably more suitable for you, $groupname...

 

{if $showcancelbutton && $groupname != "*name of product group*"}
   [...]
{/if}

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