Remitur Posted November 26, 2016 Share Posted November 26, 2016 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? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted November 27, 2016 Share Posted November 27, 2016 if all these products are in the same group, then you should just need to reference it's gid value... even if you can't, you'll certainly have access to pid (product ID) - so you could use either the gid, or a list of pid values in your IF statement. 0 Quote Link to comment Share on other sites More sharing options...
Remitur Posted November 28, 2016 Author Share Posted November 28, 2016 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 ... :-( 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted November 28, 2016 Share Posted November 28, 2016 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} 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.