Commerce Bespoke

Component ID

1562142

Component name

Commerce Bespoke

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Taillor made Drupal Commerce: a collection of simple customizations that apply to specific usecases.

Rules:

  • Redirect to cart when adding a product

  • When pushing the 'Add to cart' button the user gets redirected to the /cart page.

  • Maximum product quantity in cart

  • Sets the product quantity that a user can order (per product, not total product quantity in cart)

Add to cart customization

It changes the 'add to cart' button text and it disables the button in these cases:

  • 'Already in cart' when a product is in the cart
  • 'Already bought' when a product is previously bought (and the user is logged in)

it's based on this code:
http://agileadam.com/add-to-cart-tweaks
it applies to ALL product types and is does NOT work when when product referencing multiple products.