Jump to content

can i hide product and link entirely ?


rugg

Recommended Posts

Hi,

the product link is    mydomain/cart.php?a=add&pid=xxx ,

i know i can hide it from "Edit Product",

but if people try to browse the link,

they can still view the product,

is it possible any way only let certain clients can buy the product ?

 

thank you.

Link to comment
Share on other sites

1 hour ago, rugg said:

is it possible any way only let certain clients can buy the product ?

not from settings - indeed, WHMCS is intentionally designed for direct links to work even if the product is hidden.

you could do it with a ClientAreaPageCart hook - it's basically just a redirection hook based on the value of the PID, client and/or whatever.

how are you intending to designate these 'certain clients' - will they be in  their own client group or will you need to list them individually in an array ?

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