Jump to content

Completely Disable Hidden/Old Products


acenetryan

Recommended Posts

I'm trying to completely disable our older products that are no longer available. I realize that I can hide products on both the product and product group levels, but this just hides the products.

 

If someone were to look at an order link and start playing with gid=### they could access our hidden product groups and order products from it. I'd like to these products be completely inaccessible, yet, we can't simply remove them because past clients are still on these plans.

Link to comment
Share on other sites

Thanks, othellotech. That stops them from being ordered, but you can still see the plan specs and pricing. I'd prefer that these hidden products not be viewable altogether.

 

I don't see any such setting. Perhaps it's time for a feature request.

 

I've set the stock of my product on -1 and the visibility on hidden. I'm not able to view any specifications or pricing options when I'm accessing cart.php?a=add&pid=PRODUCTID.

Link to comment
Share on other sites

  • 1 month later...

m00, try appending gid=### to the end of cart.php. You can hide groups in the admin area and it prevents them from being listed under "Browse Products & Services" on the main order page, but it does not prevent someone from visiting them directly.

 

For example, whmcs.com only has two groups listed on their order page, Licenses and Services. Yet, I can specify the gid GET variable manually and browse all of their other offerings:

 

https://www.whmcs.com/members/cart.php?gid=3

https://www.whmcs.com/members/cart.php?gid=4

https://www.whmcs.com/members/cart.php?gid=5

Link to comment
Share on other sites

  • WHMCS CEO
...but it does not prevent someone from visiting them directly...

 

It does if you hide the products aswell.

 

As othellotech suggested, if you want to prevent orders from the frontend, you just set the quantity to zero, and if you want to hide it from display as well, you can hide the group and the individual product. It is very rare that when you hide a product you wouldn't want to allow at least one person to order it, hence it still being available via a direct url, but you can completely disable it from showing as I described above so you have the best of both options.

 

Matt

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

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