Jump to content

How to remove "Register Domain" and "Transfer Domain" in cart.php


phy

Recommended Posts

  • 7 months later...

This stops the registration of domains completely though... I'd like to remove the "Register Domains" from the first time clients cart view. You can hide product groups on the order page but you can't just hide the "register domains" option. I still want clients to be able to register domains I just don't' want it displayed as an option to New clients...

 

Any suggestions

Link to comment
Share on other sites

you could try something like this...

 

{if $loggedin and ($group.gid eq 10 or $group.gid eq 4)}
<label><input type="radio" name="gid" value="{$group.gid}" onclick="window.location='cart.php?gid={$group.gid}'"{if $group.gid eq $gid} checked{/if} /> {$group.name}</label>
{elseif $group.gid neq 10 and $group.gid neq 4}
<label><input type="radio" name="gid" value="{$group.gid}" onclick="window.location='cart.php?gid={$group.gid}'"{if $group.gid eq $gid} checked{/if} /> {$group.name}</label>
{/if}

product groups 10 & 4 are only shown if logged in - if not logged in, 10 & 4 are not shown.

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