2017 © Pedro Peláez
 

magento2-module checkout-block-provider

Provides a CMS block to the knockout checkout template.

image

daanbeverdam/checkout-block-provider

Provides a CMS block to the knockout checkout template.

  • Tuesday, March 20, 2018
  • by daanbeverdam
  • Repository
  • 3 Watchers
  • 3 Stars
  • 652 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 23 % Grown

The README.md

CheckoutBlockProvider

A Magento 2 module that provides a CMS block to the checkout template., (*1)

Installation

Install the module by using composer., (*2)

composer require daanbeverdam/checkout-block-provider

Or, if you prefer, install the module manually by downloading this repo as a zip and extracting it in app/code/DaanBeverdam/CheckoutBlockProvider. Then enable the module and run setup:upgrade., (*3)

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

Configuration

By default, the module looks for a CMS block with identifier checkout_block. You'll have to create this block yourself, or change the $blockId argument to an already existing block in the etc/frontend/di.xml file., (*4)

The block will be shown before the first step in the checkout. If you want to move it down, you'll have to change the sortOrder value in the view/frontend/layout/checkout_index_index.xml file., (*5)

For a more in depth write-up on this module check out this post on my personal website., (*6)

The Versions

20/03 2018

dev-master

9999999-dev

Provides a CMS block to the knockout checkout template.

  Sources   Download

by Daan Beverdam

20/03 2018

1.1.0

1.1.0.0

Provides a CMS block to the knockout checkout template.

  Sources   Download

by Daan Beverdam

04/12 2017

1.0.0

1.0.0.0

Provides a CMS block to the knockout checkout template.

  Sources   Download

by Daan Beverdam