2017 © Pedro Peláez
 

magento2-module magento2-example-notify-cart-update

Example Magento 2 module showing how to observe KnockoutJS-based cart updates

image

yireo-training/magento2-example-notify-cart-update

Example Magento 2 module showing how to observe KnockoutJS-based cart updates

  • Thursday, July 5, 2018
  • by yireo-training
  • Repository
  • 2 Watchers
  • 4 Stars
  • 21 Installations
  • JavaScript
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 133 % Grown

The README.md

Example Knockout cart observer

Example Magento 2 module showing how to observe KnockoutJS-based cart updates, (*1)

Installation

To install use the following composer command:, (*2)

composer require yireo-training/magento2-example-notify-cart-update:dev-master

Next enable the module:, (*3)

bin/magento module:enable Yireo_ExampleNotifyCartUpdate
bin/magento setup:upgrade

And flush the cache:, (*4)

bin/magento cache:clean

Proof of concept

After installing the module, every time when the (mini)cart is updated, a dump should be logged to the console., (*5)

The Versions

05/07 2018

dev-master

9999999-dev https://github.com/yireo-training

Example Magento 2 module showing how to observe KnockoutJS-based cart updates

  Sources   Download

OSL-3.0

The Requires

  • php >=7.0.0
  • magento/framework ^100.1.0|^101.0.0

 

The Development Requires

by Jisse Reitsma (Yireo)

composer-installer magento