Help each other with usecases: how to alter add to cart button disabled link (SOLVED)

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Summit's picture

Hi,
I think this usecase is something which occurs with multiple webshops. You want to alter the add to cart submit button to a link when the product is not available -> "Disabled".
To show the customer that the link is disabled is not enough value. Preferrable is to show the customer an option to get in touch with you so you can tell him when the product is available or show an alternative.
Therefore I would very much like to be able to alter the "disabled" product submit button text and add a link to my contactform.

EDIT:Solution here: http://www.drupalcommerce.org/questions/8363/how-alter-add-cart-button-d...

I think it would be great if next to disabled a product should have another status.
May be something like "only in larger sales". So I can have:
a) products to sell through webshop
b) disable products and reroute customers to my contactpage
c) set status to larger sale and reroute customers to a specific orderform.

Greetings, Martijn

Drupal Commerce

Group organizers

Group notifications

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

Hot content this week