Commerce Quantity control using rules

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

This is a demo module showing how to enforce a maximum quantity a user can order per product (line item) using rules.
All the module does is create a new rule “max order quantity” that enforces a maximum quantity of 5.
You can use this approach to create more complex custom rules for controlling the quantities users can order.

Simple example entity for Drupal 7

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

This is a fully-working example of a simple entity using only the core API (no dependencies on contrib modules). It includes a complete UI with the ability to create, view, update, and delete entities of the "DUG meeting topic" type. The entity is not fieldable (although it would not be difficult to add fields).

The audience for this is module developers who are new to Drupal 7 entities.

The current snapshot can be downloaded from this page.

GenericEntityCRUDController

Component type

module

Maintenance status

Development status

Component created

Component changed

NOTE: Untested, has no tests, and is generally untested without any tests. :-)

Fills some of the gaps in Drupal 7's entity CRUD implementation. Turns DrupalDefaultEntityController into a much better factory for entities. Exposes create, save/update, and delete, and lets you define your own hook API.

ajaxform

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

you can learn how to make form in drupal 7 with ajax request.

HTML5 Local Storage Example

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

This module provides example code showing saving objects to HTML5 storage. It shows saving the last five search queries and showing them in the site search block.

Make sure to enable the Search block to actually see the saved queries.

Module template

Component type

module

Maintenance status

Development status

Component created

Component changed

This module creates an empty module with selected features. It generates necessary files and functions which will be used by developers to develop their great modules.

An idea of this project is to minify initial steps while creating custom module by providing correct naming and possibility to add code snippets by selecting necessary features. It should cover next tasks:
- quick module creation
- help with correct naming and parameters for the functions
- implement code templates for other modules