w3caredev / tariff
tariff
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:craft-plugin
Requires
- craftcms/cms: ^3.0.0-RC1
This package is not auto-updated.
Last update: 2024-03-21 02:03:59 UTC
README
tariff
Requirements
This plugin requires Craft CMS 3.0.0-beta.23 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require w3caredev/tariff
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for tariff.
tariff Overview
-Insert text here-
Configuring tariff
-
//Set Config in your /vendor/w3caredev/tariff/src/modal/Settings.php
$tableField = 'priceByAge'; $ageColumn = 'age'; $priceColumn = 'price'; $sectionName = 'tariffs';
Using tariff
-{% set birthdate = '01/30/2008' %}
{% for item in craft.tariff.birthdate(birthdate).hide("noPrice").sort("price", "DESC").find() %}
{{item.title}}
{{item.price}}
{{item.customfiled1}}
{% endfor %}-
tariff Roadmap
Some things to do, and ideas for potential features:
- Release it
Brought to you by w3caredev