'in stock' or 'out of stock' shown on product display, allow costumers to order in both of the events

Events happening in the community are now at Drupal community events on www.drupal.org.
gulyasmarci's picture

Hello everyone,

I'm new to DC and I need help.

I started to use commerce kickstart and installed the commerce stock module. It is working well, but I have to let the costumers purchase when stock is zero.

I have to sign that if a product is 'in stock' or 'out of stock' but I also need the 'add to cart' badge in both of the events to let them order.

Please let me know if there is any oportunity to solve this problem.

Thanks,
Marci

Comments

marktheshark's picture

Check out this module in case it meets your needs.

Wishlist is not exactly what i need.

gulyasmarci's picture

It is good stuff but I need something else.

I would like to sign that I have the product in stock or it is out of stock but I should allow the costumer to order it because I can purchase it from the dealer but it can last for a few days so I have to inform costumers about the availability of the products.

For example: http://www.fixedgearfrenzy.com/track-bike-parts/chainsets_cranksets

You can see they show the availability of the products, 'in stock' or 'preorder'. I need something similar.

Hello! You may add an

dernetzjaeger's picture

Hello!

You may add an "Availability State" - field based on taxonomy to your product types.

Add a new Taxonomy Vocabulary "Availabilty" and add terms "In Stock", "out but ordered" and any other states you need.

The write some rules with http://drupal.org/project/rules.

  1. override stock rule, so that the product, what is not in stock can be bought anyway.
  2. add a rule to be informed per mail if a product stock gets near 0
  3. add some rules that changes the "Availability State" - field of products
    -> if products is not in stock
    -> if product is reordered
    -> is in stock
    -> ...

Then just display the "Availability State" - field in product and hide stock - field.

I dont't know if that is the best way, but it might work :)

greets

It might work

gulyasmarci's picture

Thanks for the hint!

I will try it but I think if i override the stock rule it wont count the stock level. so maybe it can be a problem.

It would be the best if we had a module for this... but I have not found anywhere...

Well, you could count a

dernetzjaeger's picture

Well, you could count a negative stock - level.

Oh, if you goz that, you could build your own module with features module. ;)

I would love to be able to count negative stock

spacerex's picture

Has anyone built this module yet?

Hello, I have also installed

ThomasIsabelle's picture

Hello,

I have also installed kickstart commerce and have a similar request. In my case, it is not important for me to keep track of the actual stock qty on my drupal site. I would like to display the text "In Stock" if the stock level is above "0" or "Ask For Availability" in all other cases. I do want to allow a user to purchase anything (in stock or not).

Is the recipe I need "commerce stock module" + writing some rules?

Tom

Drupal Commerce

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: