tariff
tariff, (*1)
, (*2)
This plugin requires Craft CMS 3.0.0-beta.23 or later., (*3)
To install the plugin, follow these instructions., (*4)
Open your terminal and go to your Craft project:, (*5)
cd /path/to/project
Then tell Composer to load the plugin:, (*6)
composer require w3caredev/tariff
In the Control Panel, go to Settings → Plugins and click the “Install” button for tariff., (*7)
-Insert text here-, (*8)
- //Set Config in your /vendor/w3caredev/tariff/src/modal/Settings.php, (*9)
$tableField = 'priceByAge'; $ageColumn = 'age'; $priceColumn = 'price'; $sectionName = 'tariffs';, (*10)
-, (*11)
-{% set birthdate = '01/30/2008' %}, (*12)
{% for item in craft.tariff.birthdate(birthdate).hide("noPrice").sort("price", "DESC").find() %}, (*13)
{{item.title}} {{item.price}} {{item.customfiled1}}
{% endfor %}-, (*14)
Some things to do, and ideas for potential features:, (*15)
Brought to you by w3caredev, (*16)