customize

You are here

agoradesign: Remove or replace the add to cart message in Drupal Commerce 2.x

Error message

User error: Failed to connect to memcache server: localhost:11212 in dmemcache_object() (line 415 of /home/freedrup/public_html/demo/d7/sites/all/modules/memcache/dmemcache.inc).
Commerce ships with a default success message after adding a product to the shopping cart. This is done via an event subscriber, in order to be easy customizable. However, removing, replacing or extending existing services in Drupal 8 is a thing, not every developer is used to do. I'll show you, how easy this is.
Source: 
https://www.agoradesign.at/blog/remove-or-replace-add-cart-message-drupal-commerce-2x