Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2007
    Posts
    9
    Plugin Contributions
    0

    Default There has got to be a way!!

    Is anyone working on a mod or some way to make certain items not visable to certain usernames. I know I posted somthing like this awial ago, but this is somthing that is really needed in the store im building. Does anyone have any ideas of what I can do to make somthing liket his happen.

    If I had lets say Computer products and Bikini products on the store. And lets say I have a custer user name Skaf and Megan. I want to figure some way that if Skaf logs in he can only see the computer stuff and if Megan logs in he can only see the Bikini stuff.

    I only really need this to work for 2 of my clients the rest of my customers dont need this to happen.

    If anyone has any ideas i would greatly appriciate it.

    Thanx

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    20,981
    Plugin Contributions
    25

    Default Re: There has got to be a way!!

    In order for a scheme like this to work it would be necessary to force everyone to log in before they could see anything. You can't identify a user before they log in to know what you want them to see.

  3. #3
    Join Date
    Apr 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: There has got to be a way!!

    What do you mean I already know what each of the 2 users will see. I only have 2 users for this site and that is Pulte and Ahern. Everyone else that buy stuff from me go to a different site.

  4. #4
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,145
    Plugin Contributions
    0

    Default Re: There has got to be a way!!

    What Glenn is asking is how will you know who is on the site? You say there are only 2, but how will you know which one it is unless he/she logs into the site? If you want certain users to see certain products, you can't show any products unless the user signs in.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    20,981
    Plugin Contributions
    25

    Default Re: There has got to be a way!!

    Ok, in that case no other users will be inconvenienced... but you will still need to hide all products until your users are logged in. That's the easy part, as there is a setting in admin for that.

    Once they are logged in, you can get the customer id from the db (you will have to research that, I can't tell you offhand how to do it) and run one of two different category selection statements in tpl_categories.php, using the logic in this thread, especially posts 10 and 25.

 

 

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
  •