Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
This module can be used to define dependency relationships between options and attributes for each product class. Once established, these dependencies will be applied to all products of that class. Dependent attributes will only be shown (for "enable"-type dependencies) or hidden (for "disable" type dependencies) once the option on the parent attribute is selected.
For example, say you run a pizza online store and you offer a free drink when the user orders a large pizza. Your pizza product class could have a 'Size' attribute with options Small/Medium/Large and a 'Drink' attribute with options for various popular soda brands. Conditional Attributes could be used to define 'Size' as a parent attribute with option 'Large' enabling 'Drink'. The drink selection would then remain hidden until the time when the user selects 'Large' as their choice for 'Size'.
Features
Dependency relationships are applied to all products within a given product class at once
Functions with several product classes
Has support for both 'enable' ("show only when") and 'disable' ("hide only when") relationship types
Hidden attributes are removed from the cart product entirely
Hidden attributes that are marked as required will not cause problems
Hidden attributes will not cause any product price alterations
Nested dependent attributes are supported (e.g. an option in A enables B and an option in B enables C)
Typically there is a disturbing effect if you have to wait longer time for a page to be loaded. A loading animation helps to make the loading process appearing shorter psychologically.
This module provides a loading layer over the whole page, preventing people from re-submitting / clicking again after submission and "enjoy" waiting time. ;)
Description:
JQuery loadinganimation module shows a loading layer on page loading events.
These may be triggered by form submission, clicking a hyperlink or executing an AJAX call.
Hyperlinks may be excluded from trigger by adding a ".noLoadingAnimation" class.
Further "javascript" and "#" hyperlinks are automatically excluded.
Loading and animation may be aborted by pressing "ESC".
There are settings for all these three type of triggers:
Form submit
AJAX Request
Hyperlink Click
Further it is possible to change the loading animation image and customize the layout by overriding CSS. This module uses CSS3 for beautiful animation layout by Thomas Frobieter.
JavaScript API:
JavaScript API functions allow to show and hide separately by calling: Drupal.behaviors.jquery_loadinganimation.Loadinganimation.show()
Context as Reaction provides a reaction where an additional context can be set as a reaction. The additional context is then available for use in template files, theme files...etc.