2
Answers
Vote up!
1
Vote down!

Products View to Edit / Manage Stock

I manually update stock every morning & my store has 200 products.

I want to create a veiw in which I can edit stock of all products at once.

I dont want to use editablefields

I want to do it in a way it is implemented in the shopping cart view. (commerce_cart_form) .We can see that the quantity field in the view is editable.

How can I implement it myself.

Regards

Asked by: drupalastic
on April 1, 2013

2 Answers

Vote up!
2
Vote down!

Highly recommend editable fields or VBO. I'm not sure why you would say "I need a tool to do X, but the tool can't be the X-doer." It's like saying, "I want to hammer a nail, but I don't want to use a hammer."

Josh Miller
Answer by: Josh Miller
Posted: Apr 2, 2013

Comments

Dear joshmiller, Thanks for your answer. There were 2 reasons why I was looking for an alternative solution.

1. Since this kind of functionality already exists in drupal commerce, I dint want to add another module for the same kind of task. I wanted to do it in a more drupal commerce way.

2. I went through all the drupal commerce blogs for this task, actually you are first one to "highly recommend" editablefields in drupal commerce (and thankyou for that), every one were kind of unsure about its compatibility with the drupal commerce.

Anyway, Thakyou very much for giving me clearity,

- drupalastic on April 2, 2013
Vote up!
0
Vote down!

I used this method and it worked great for setting up a page to do inventory managent. I edited the permissions on the view so that my new role, Store Manager, could access the view.

The good news is that the Store Manager can indeed see the rule. The bad news is that the Store Manager cannot edit the price or stock! The admin can of course, but not the user with the Store Manager role.

I can't seem to find where I need to permission to give Store Manager the ability to edit the fields in the view. Anyone know?

Thanks!

Answer by: ncarty97
Posted: Oct 4, 2013