You are here

protected property AjaxAddToCartPopupSubscriber::$purchasedEntity in Commerce Ajax Add to Cart 8

The entity that was added to the cart.

Type: \Drupal\commerce_product\Entity\ProductVariationInterface

File

modules/dc_ajax_add_cart_popup/src/EventSubscriber/AjaxAddToCartPopupSubscriber.php, line 25

Class

AjaxAddToCartPopupSubscriber
Event subscriber to display a popup when items are added to cart via AJAX.

Namespace

Drupal\dc_ajax_add_cart_popup\EventSubscriber

Code

protected $purchasedEntity;