I have added the product into the cart and want to send email to the customer after the same product's price change from the backend.

  • what operation you want to perform ? – Hassan Ali Shahzad Sep 22 '19 at 11:40
  • @HassanAliShahzad please check updated description. – Dj3 Sep 24 '19 at 3:24
  • you actually want to send emails to customers who added products in their cart but did not checkout yet (product is in their quote) – Hassan Ali Shahzad Sep 24 '19 at 5:53
  • @HassanAliShahzad yes and email send on backend product price update. – Dj3 Sep 24 '19 at 19:08

You need to elaborate your question to get proper answer. Like - What kind of Operation do you want to perform and when you need to perform after product price updated from the backend?

One such example - If you want to update the product price of the item added to the cart then you should use Object Manager:

$cart = $objectManager->get('\Magento\Checkout\Model\Cart');
$priceHelper = $objectManager > create('Magento\Framework\Pricing\Helper\Data');
$items = $cart->getQuote()->getAllItems();
  • please check updated description. – Dj3 Sep 24 '19 at 3:24

You may listen to


event and start comparing the new and old value to trigger an email sending event.

Magento 2 seems to have native feature for product alerts. enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.