Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

https://github.com/magesuite/downloadable-terms-and-conditions

The module adds the possibility to download content from the checkout agreements modal.

Installation

This module is optional

composer require "creativestyle/magesuite-downloadable-terms-and-conditions" ^1.0.0

Admin settings

The module is enabled by default after installation.

Stores -> Configuration -> MageSuite -> Downloadable terms and condition

Settings

Name

Options

Note

PDF file name

 String

Without file extension

Frontend

An additional Download button is added to the agreement model.

After clicking on the Download button content of the agreement modal is downloaded as a PDF file with the name configured in the admin panel.
The PDF is generated by executing the following code on the frontend side.

window.location = url.build('terms_and_conditions/index/download');

  • No labels