Show products only to certain users
I'm using DC for a photographer, she wants to be able for her customers who have had a photo shoot to select and buy photo's online.
My solution so far has been to add a product_type for a photo, this consists of the following fields:
Client reference (Customer profile reference using the select widget)
Now I am wondering how I could best go about creating a display for the product.
I need to make sure that when a user is logged in and they have products of the type Photo (customer profile reference = logged in uid) they can open preferably a page containing all photos with for each photo an add to cart form.
Anybody good ideas?