Download & Extend

Easy Publish/unpublish from sellers account

Project:Ubercart Marketplace
Version:6.x-1.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I would love to have my sellers be able to publish/unpublish their products from the seller tab view in their account. It would just be a link in the table next to each product that says publish or unpublish, just like those view and edit img links. Can someone tell me how to do that?

Or better yet, a batch delete/publish/unpublish feature. It would like the admin content menu, with a column of checkboxes and the delete/publish/unpublish options below and above. What do you think? Thanks

Comments

#1

You might be able to accomplish something described here with Views_Bulk_Operations which is another Drupal module. Downside, is that would happen on another page, but could be used for bulk moderation of content for a particular user.

Otherwise you will need to write a simple module and edit this table with form_alter and provide a link which toggles publishing of your products.

Both are acceptable solutions which can be accomplished with minimal coding and only moderate drupal experience.

http://api.drupal.org/api/function/node_operations_publish/5
http://api.drupal.org/api/function/node_operations_unpublish/5

#2

Version:5.x-1.0-beta2» 6.x-1.x-dev