gabrielqs/installments
Composer 安装命令:
composer require gabrielqs/installments
包简介
Cálculo de parcelamento genérico a ser utilizado por módulos de métodos de pagamento.Generic installments calculation module, to be used by payment method modules.
README 文档
README
Exibição de parcelamento genérico a ser utilizado por módulos de métodos de pagamento. Este módulo é responsável pela apresentação do parcelamento para produtos e carrinhos de compra. Os módulos de métodos de pagamento que optarem por exibir suas parcelas utilizando este módulo serão apenas responsáveis pelo correto cálculo. O parcelamento será exibido nas páginas de Categorias, Detalhes do Produto e Carrinho de compras.
Generic installments presentation module, to be used by payment method modules. This module is responsible for the visual presentation of payment installments for the products and shopping cart. Payment methods are then only responsible by the correct calculations and charging using such installments Installments will be shown at the category pages, product detail pages and shopping cart.
Installation
Use composer: composer require gabrielqs/installments
Configuration
All configurations are available at Store -> Configuration -> Sales -> Installments
Adding instalments for your payment methods
In your etc/config.xml add a new node, similar to the one below:
<config> <default> <installments> <payment_methods> <cielo_webservice> <installments_helper>Gabrielqs\Cielo\Helper\Webservice\Installments</installments_helper> </cielo_webservice> </payment_methods> </installments> </default> </config>
Then create the referred class. See the module Gabrielqs\Cielo for an example.
统计信息
- 总下载量: 980
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-04-20