Skip to content

Commit

Permalink
0.0.4: #6
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Jun 5, 2020
1 parent 516c888 commit 9bad80c
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 9 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "blushme/checkout"
,"version": "0.0.3"
,"version": "0.0.4"
,"description": "A custom checkout module for blushme.se (Magento 2)"
,"type": "magento2-module"
,"homepage": "https://github.com/blushme/checkout"
Expand Down
54 changes: 46 additions & 8 deletions etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
@@ -1,35 +1,73 @@
<?xml version='1.0'?>
<config xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation='urn:magento:module:Magento_Config:etc/system_file.xsd'>
<config
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation='urn:magento:module:Magento_Config:etc/system_file.xsd'
>
<system>
<tab id='seavus' translate='label' sortOrder='200'>
<tab id='seavus' sortOrder='200' translate='label'>
<label>Seavus</label>
</tab>
<section id='klarna' translate='label' sortOrder='110' showInDefault='1' showInWebsite='1' showInStore='1'>
<section
id='klarna'
showInDefault='1' showInStore='1' showInWebsite='1'
sortOrder='110'
translate='label'
>
<class>separator-top</class>
<label>Klarna Checkout</label>
<tab>seavus</tab>
<resource>Seavus_Klarna::config_klarna</resource>
<group id='settings' translate='label' type='text' sortOrder='10' showInDefault='1' showInWebsite='1' showInStore='0'>
<group
id='settings'
showInDefault='1' showInStore='0' showInWebsite='1'
sortOrder='10'
translate='label'
type='text'
>
<label>Settings</label>
<hide_in_single_store_mode>0</hide_in_single_store_mode>
<field id='extra_sell_status' translate='label' type='select' sortOrder='5' showInDefault='1' showInWebsite='1' showInStore='0'>
<field
id='extra_sell_status'
showInDefault='1' showInStore='0' showInWebsite='1'
sortOrder='5'
translate='label'
type='select'
>
<label>Extra Sell Enabled</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
</field>
<field id='extra_sell_title' translate='label' type='text' sortOrder='6' showInDefault='1' showInWebsite='1' showInStore='0'>
<field
id='extra_sell_title'
showInDefault='1' showInStore='0' showInWebsite='1'
sortOrder='6'
translate='label'
type='text'
>
<label>Extra Sell Title</label>
<depends>
<field id='*/*/extra_sell_status'>1</field>
</depends>
</field>
<field id='extra_sell_description' translate='label' type='editor' sortOrder='7' showInDefault='1' showInWebsite='1' showInStore='0'>
<field
id='extra_sell_description'
showInDefault='1' showInStore='0' showInWebsite='1'
sortOrder='7'
translate='label'
type='editor'
>
<label>Extra Sell Description</label>
<frontend_model>Seavus\Products\Block\Adminhtml\System\Config\Editor</frontend_model>
<depends>
<field id='*/*/extra_sell_status'>1</field>
</depends>
</field>
<field id='extra_sell_products' translate='label' type='text' sortOrder='8' showInDefault='1' showInWebsite='1' showInStore='0'>
<field
id='extra_sell_products'
showInDefault='1' showInStore='0' showInWebsite='1'
sortOrder='8'
translate='label'
type='text'
>
<label>Extra Sell Products</label>
<depends>
<field id='*/*/extra_sell_status'>1</field>
Expand Down

0 comments on commit 9bad80c

Please sign in to comment.