Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2005
    Location
    Captain Cook, Hawaii
    Posts
    135
    Plugin Contributions
    0

    Default Need to hide a category

    We have a category with products that we would like to limit to new members, allowing them to add to the cart until they have sucessfully checked out the first time.

    Customer currently running 1.3.9h but can probably upgrade to 1.5.0 if need be.

    More details:

    The website is a co-op which charges a membership fee to new members (we are using one-time-membership). It adds a product to the cart and disables the ability of the customer to remove. That is working fine.

    However we have a category with products that we would like to limit to new members, allowing them to add to the cart until they have sucessfully checked out the first time.

    Any ideas on how to easily do this? I would like to actually hide the category rather than display it and not allow people to buy it.

    An acceptable alternative would be to hide a product from a particular customer.
    Aloha from Hawaii! (its a dirty job, but SOMEBODY has to live here...)

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,886
    Plugin Contributions
    6

    Default Re: Need to hide a category

    You could customize the function:
    Code:
      function zen_get_buy_now_button($product_id, $link, $additional_link = false) {
    in the file:
    /includes/functions/functions_general.php

    and check the master_categories_id of the Product and then check if the customer has an order yet ...

    Are customers forced to login before they can add to cart?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    Feb 2005
    Location
    Captain Cook, Hawaii
    Posts
    135
    Plugin Contributions
    0

    Default Re: Need to hide a category

    We do not require customer login before adding to the cart.

    We discussed the issue with the customer and that *may* have solved the problem. This is one of those cases where the customer is not always right :-)

    If he continues to order from that category I'll modify the function you mentioned. Thanks.
    Aloha from Hawaii! (its a dirty job, but SOMEBODY has to live here...)

 

 

Similar Threads

  1. I need to be able to hide a category & not have it readily viewable from the website.
    By g00glethis1 in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 23 Oct 2010, 10:31 PM
  2. Hide a Category in Category Sidebox
    By Phage0070 in forum General Questions
    Replies: 2
    Last Post: 4 Aug 2010, 08:43 AM
  3. Hide category count -- on only ONE category
    By reneep in forum Setting Up Categories, Products, Attributes
    Replies: 31
    Last Post: 28 Apr 2010, 08:13 PM
  4. Remove / Hide category link from category image on home page
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 15 Mar 2010, 11:50 PM
  5. Hide Category Name on Category Page
    By MCanes in forum General Questions
    Replies: 2
    Last Post: 2 Jun 2008, 01:48 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •