Support » Plugin: WP eCommerce » Limit Ability to Create Products

  • Cartwright


    Our website is a blog and an online store, I have 27 contributors for the blog but because they have the ability to create posts they have the ability to create products since products are a custom post type.

    I only want the roles with higher levels of access to be able to create products. How can I remove this ability from the role of contributor?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Cartwright


    In wpsc-functions I changed:
    ‘capability_type’ => ‘post’,


    ‘capability_type’ => ‘product’,

    This has removed the the ability to see or create products by contributors but I (an administrator) can no longer create products either (I can however see the tags, categories, variations and coupons).

    This seems to have gotten me halfway, I’m just not sure what I am missing



    I already use the Members plugin

    But because products are a post (thus the ‘capability_type’ => ‘post’) the capability to create/edit them is “edit_posts”

    If I take away that capability it stops them from creating products and blog posts.

    If someone can find an easier way I would LOVE to know, but the only I can think of is to re-name the product custom post-type to something other than ‘post’

    Hi Cartwright, Did you manage to find a solution for this problem yet?
    I have the same problem.

    Try this plugin:
    Role Scoper

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Limit Ability to Create Products’ is closed to new replies.