wakeband Posted May 19, 2007 Share Posted May 19, 2007 Say I wanted to sell photographs through my shopping cart. I take photos for various events, but I only want the clients for those events to see the photos from their events. IS there a way to password protect their categories so that they must login to see the photos and that that single category of photo will be the only thing they see? -Chris Link to comment Share on other sites More sharing options...
Jan Zonjee Posted May 19, 2007 Share Posted May 19, 2007 Say I wanted to sell photographs through my shopping cart. I take photos for various events, but I only want the clients for those events to see the photos from their events. IS there a way to password protect their categories so that they must login to see the photos and that that single category of photo will be the only thing they see? Yes, but it take some changes to an existing contribution. You would have to install Seperate Pricing Per Customer and then Hide Product for SPPC. The last one in the last version can also hide categories. The twist is that in the queries and find_in_set('" . $customer_group_id . "', categories_hide_from_groups) = 0 is used. That sql command returns '0' if the number represented by the customer_group_id is not in the comma seperated list of numbers that is in the column categories_hide_from_groups. In your business case it would be and find_in_set('" . $customer_group_id . "', categories_hide_from_groups) > 0. Than the customer_group_id is in the list for which the category is not hidden. Obviously you will have to change the wording in the admin accordingly. If you start with a fresh osC you would only have to upload/exchange new files and run the necessary sql files. Link to comment Share on other sites More sharing options...
cdi-buy.com Posted February 18, 2008 Share Posted February 18, 2008 Unless I'm misunderstanding your explanation, Jan, that wouldn't quite work. My understanding is that the SPPC contribution lets you create categories of users and set prices for those. However, there aren't categories/groups of users you can specify for a photography gallery. It would have to be set up to allow anyone with the password for that gallery/event access to that gallery/event. In other words, it's a master password that gets into the category, not certain user accounts that get to the category, using a password created BY the site owner and passed out (written in a services contract, printed on contact cards, etc) in person. Scenario example: I photograph a wedding. The bride and groom have a contract signed before hand that includes the password to their gallery. I hand out business cards that have the password printed on them to wedding guests on the wedding day. After a week or so (whatever time I specify to allow for me to get them up online), they go to my website and enter the password to get to their images and order prints. They don't need to create an account to see the images. The password simply ensures that ONLY the people involved in the event and given the password can see the images from that particular event. I've been looking for the same thing as wakeband, but no one seems to be able to come up with anything. In theory it doesn't sound difficult but I'm not a programmer. :( Link to comment Share on other sites More sharing options...
Jan Zonjee Posted February 18, 2008 Share Posted February 18, 2008 Unless I'm misunderstanding your explanation, Jan, that wouldn't quite work. Sorry, but it does. I've been looking for the same thing as wakeband, but no one seems to be able to come up with anything. In theory it doesn't sound difficult but I'm not a programmer. :( I know of at least one site that uses that concept for a photography site. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.