You are here

constant ProductEvents::PRODUCT_VARIATION_AJAX_CHANGE in Commerce Core 8.2

Name of the event fired after changing the product variation via ajax.

Allows modules to add arbitrary ajax commands to the response returned by the add to cart form #ajax callback.

See also

\Drupal\commerce_product\Event\ProductVariationAjaxChangeEvent

File

modules/product/src/Event/ProductEvents.php, line 111

Class

ProductEvents

Namespace

Drupal\commerce_product\Event

Code

const PRODUCT_VARIATION_AJAX_CHANGE = 'commerce_product.commerce_product_variation.ajax_change';