Off the top of my head: Why not make a model in your localsite.models
called ProductUserSet with a product and a user_set field. Then insert
it as an inline into the ProductOptions SiteAdmin object from
localsite.admin.py using admin.site.unregister(Product) and
admin.site.register(Product, NewProductOptions). Then all you need to
do is figure out a way to select the products that match the user's
group (or set). Could be by overriding the views, or with a custom
template filter, or hackiest of all, directly in the templates using
default tags.

There likely is a better way of solving your problem, however. Perhaps
this can serve as a starting point.

On May 4, 4:24 am, Aleš Komárek <[email protected]> wrote:
> I'm stuck with problem,
> I have 2 sets of users in my shop. there is 1 set of products.
> I have 2 price tiers I can assign to the products, but not all
> products are common to both groups, so not all product have the tiers
> for both groups of users.
>
> is there any way to limit displayed products to those with price tier
> set for that particular group?

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to