Version Notes
Met Koopzeker verzekert u de verzending en levering van aankopen van klanten.
Download this release
Release Info
| Developer | Sasa Simonovic |
| Extension | Koopzeker |
| Version | 1.0.1 |
| Comparing to | |
| See all releases | |
Version 1.0.1
- app/code/community/Younify/Koopzeker/.DS_Store +0 -0
- app/code/community/Younify/Koopzeker/Block/Script.php +8 -0
- app/code/community/Younify/Koopzeker/Centraal Beheer Achmea Koopzeker Magento handleiding.pdf +0 -0
- app/code/community/Younify/Koopzeker/Helper/Data.php +3 -0
- app/code/community/Younify/Koopzeker/Model/.DS_Store +0 -0
- app/code/community/Younify/Koopzeker/Model/Source/Width.php +12 -0
- app/code/community/Younify/Koopzeker/etc/config.xml +70 -0
- app/code/community/Younify/Koopzeker/etc/system.xml +78 -0
- app/design/frontend/base/default/template/koopzeker/script.phtml +8 -0
- app/etc/modules/Younify_Koopzeker.xml +26 -0
- package.xml +18 -0
app/code/community/Younify/Koopzeker/.DS_Store
ADDED
|
Binary file
|
app/code/community/Younify/Koopzeker/Block/Script.php
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
class Younify_Koopzeker_Block_Script extends Mage_Core_Block_Template{
|
| 3 |
+
function _construct(){
|
| 4 |
+
parent::_construct();
|
| 5 |
+
$this->setTemplate('koopzeker/script.phtml');
|
| 6 |
+
}
|
| 7 |
+
}
|
| 8 |
+
?>
|
app/code/community/Younify/Koopzeker/Centraal Beheer Achmea Koopzeker Magento handleiding.pdf
ADDED
|
Binary file
|
app/code/community/Younify/Koopzeker/Helper/Data.php
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
class Younify_Koopzeker_Helper_Data extends Mage_Core_Helper_Data{}
|
| 3 |
+
?>
|
app/code/community/Younify/Koopzeker/Model/.DS_Store
ADDED
|
Binary file
|
app/code/community/Younify/Koopzeker/Model/Source/Width.php
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
class Younify_Koopzeker_Model_Source_Width{
|
| 3 |
+
public function toOptionArray(){
|
| 4 |
+
return array(
|
| 5 |
+
array('value'=>'60', 'label'=>'60x65'),
|
| 6 |
+
array('value'=>'120', 'label'=>'120x131'),
|
| 7 |
+
array('value'=>'150', 'label'=>'150x163'),
|
| 8 |
+
array('value'=>'180', 'label'=>'180x196'),
|
| 9 |
+
);
|
| 10 |
+
}
|
| 11 |
+
}
|
| 12 |
+
?>
|
app/code/community/Younify/Koopzeker/etc/config.xml
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<!--
|
| 3 |
+
Younify Koopzeker
|
| 4 |
+
|
| 5 |
+
LICENSE
|
| 6 |
+
|
| 7 |
+
All material in this file is, unless otherwise stated, the property of
|
| 8 |
+
Younify B.V. Copyright and other intellectual property laws protect
|
| 9 |
+
these materials. Reproduction or retransmission of the materials, in whole
|
| 10 |
+
or in part, in any manner, without the prior written consent of the copyright
|
| 11 |
+
holder, is a violation of copyright law.
|
| 12 |
+
|
| 13 |
+
@category Younify
|
| 14 |
+
@package Younify_Koopzeker
|
| 15 |
+
@copyright Copyright (c) 2009-2012 Younify B.V (http://younify.nl)
|
| 16 |
+
@author Sasa Simonovic <sasa.simonovic@younify.nl>
|
| 17 |
+
-->
|
| 18 |
+
|
| 19 |
+
<config>
|
| 20 |
+
<modules>
|
| 21 |
+
<Younify_Koopzeker>
|
| 22 |
+
<version>1.0.1</version>
|
| 23 |
+
</Younify_Koopzeker>
|
| 24 |
+
</modules>
|
| 25 |
+
<global>
|
| 26 |
+
<blocks>
|
| 27 |
+
<koopzeker>
|
| 28 |
+
<class>Younify_Koopzeker_Block</class>
|
| 29 |
+
</koopzeker>
|
| 30 |
+
</blocks>
|
| 31 |
+
<models>
|
| 32 |
+
<koopzeker>
|
| 33 |
+
<class>Younify_Koopzeker_Model</class>
|
| 34 |
+
</koopzeker>
|
| 35 |
+
</models>
|
| 36 |
+
<helpers>
|
| 37 |
+
<koopzeker>
|
| 38 |
+
<class>Younify_Koopzeker_Helper</class>
|
| 39 |
+
</koopzeker>
|
| 40 |
+
</helpers>
|
| 41 |
+
</global>
|
| 42 |
+
<adminhtml>
|
| 43 |
+
<acl>
|
| 44 |
+
<resources>
|
| 45 |
+
<admin>
|
| 46 |
+
<children>
|
| 47 |
+
<system>
|
| 48 |
+
<children>
|
| 49 |
+
<config>
|
| 50 |
+
<children>
|
| 51 |
+
<koopzeker_conf translate="title" module="koopzeker">
|
| 52 |
+
<title>Koopzeker Script Settings</title>
|
| 53 |
+
</koopzeker_conf>
|
| 54 |
+
</children>
|
| 55 |
+
</config>
|
| 56 |
+
</children>
|
| 57 |
+
</system>
|
| 58 |
+
</children>
|
| 59 |
+
</admin>
|
| 60 |
+
</resources>
|
| 61 |
+
</acl>
|
| 62 |
+
</adminhtml>
|
| 63 |
+
<default>
|
| 64 |
+
<koopzeker_conf>
|
| 65 |
+
<general>
|
| 66 |
+
<img_width>150</img_width>
|
| 67 |
+
</general>
|
| 68 |
+
</koopzeker_conf>
|
| 69 |
+
</default>
|
| 70 |
+
</config>
|
app/code/community/Younify/Koopzeker/etc/system.xml
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<!--
|
| 3 |
+
Younify Koopzeker
|
| 4 |
+
|
| 5 |
+
LICENSE
|
| 6 |
+
|
| 7 |
+
All material in this file is, unless otherwise stated, the property of
|
| 8 |
+
Younify B.V. Copyright and other intellectual property laws protect
|
| 9 |
+
these materials. Reproduction or retransmission of the materials, in whole
|
| 10 |
+
or in part, in any manner, without the prior written consent of the copyright
|
| 11 |
+
holder, is a violation of copyright law.
|
| 12 |
+
|
| 13 |
+
@category Younify
|
| 14 |
+
@package Younify_Koopzeker
|
| 15 |
+
@copyright Copyright (c) 2009-2012 Younify B.V (http://younify.nl)
|
| 16 |
+
@author Sasa Simonovic <sasa.simonovic@younify.nl>
|
| 17 |
+
-->
|
| 18 |
+
|
| 19 |
+
<config>
|
| 20 |
+
<tabs>
|
| 21 |
+
<koopzeker translate="label" module="koopzeker">
|
| 22 |
+
<label>Achmea</label>
|
| 23 |
+
<sort_order>1</sort_order>
|
| 24 |
+
</koopzeker>
|
| 25 |
+
</tabs>
|
| 26 |
+
<sections>
|
| 27 |
+
<koopzeker_conf translate="label">
|
| 28 |
+
<label>Koopzeker</label>
|
| 29 |
+
<tab>koopzeker</tab>
|
| 30 |
+
<frontend_type>text</frontend_type>
|
| 31 |
+
<sort_order>1000</sort_order>
|
| 32 |
+
<show_in_default>1</show_in_default>
|
| 33 |
+
<show_in_website>1</show_in_website>
|
| 34 |
+
<show_in_store>0</show_in_store>
|
| 35 |
+
<groups>
|
| 36 |
+
<general translate="label">
|
| 37 |
+
<label>Koopzeker: Systeem Configuratie</label>
|
| 38 |
+
<frontend_type>text</frontend_type>
|
| 39 |
+
<sort_order>1</sort_order>
|
| 40 |
+
<show_in_default>1</show_in_default>
|
| 41 |
+
<show_in_website>1</show_in_website>
|
| 42 |
+
<show_in_store>0</show_in_store>
|
| 43 |
+
<fields>
|
| 44 |
+
<unique_code translate="label comment">
|
| 45 |
+
<label>Unieke code</label>
|
| 46 |
+
<comment><![CDATA[Unieke code zoals door u ontvangen]]></comment>
|
| 47 |
+
<frontend_type>text</frontend_type>
|
| 48 |
+
<sort_order>10</sort_order>
|
| 49 |
+
<show_in_default>1</show_in_default>
|
| 50 |
+
<show_in_website>1</show_in_website>
|
| 51 |
+
<show_in_store>0</show_in_store>
|
| 52 |
+
</unique_code>
|
| 53 |
+
<img_width translate="label comment">
|
| 54 |
+
<label>Logo afmetingen</label>
|
| 55 |
+
<comment><![CDATA[Gewenste afmeting logo]]></comment>
|
| 56 |
+
<frontend_type>select</frontend_type>
|
| 57 |
+
<sort_order>20</sort_order>
|
| 58 |
+
<show_in_default>1</show_in_default>
|
| 59 |
+
<show_in_website>1</show_in_website>
|
| 60 |
+
<show_in_store>0</show_in_store>
|
| 61 |
+
<source_model>koopzeker/source_width</source_model>
|
| 62 |
+
</img_width>
|
| 63 |
+
<debug translate="label comment">
|
| 64 |
+
<label>Testmode aanzetten</label>
|
| 65 |
+
<comment><![CDATA[Als deze op Ja staat wordt de afbeelding via de testserver opgevraagd]]></comment>
|
| 66 |
+
<frontend_type>select</frontend_type>
|
| 67 |
+
<sort_order>30</sort_order>
|
| 68 |
+
<show_in_default>1</show_in_default>
|
| 69 |
+
<show_in_website>1</show_in_website>
|
| 70 |
+
<show_in_store>0</show_in_store>
|
| 71 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 72 |
+
</debug>
|
| 73 |
+
</fields>
|
| 74 |
+
</general>
|
| 75 |
+
</groups>
|
| 76 |
+
</koopzeker_conf>
|
| 77 |
+
</sections>
|
| 78 |
+
</config>
|
app/design/frontend/base/default/template/koopzeker/script.phtml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
$opt = Mage::getStoreConfig('koopzeker_conf/general');
|
| 3 |
+
?>
|
| 4 |
+
<?php if(isset($opt['debug']) && $opt['debug']): ?>
|
| 5 |
+
<script src="<?php echo "//koopzeker-acc.e-id.nl/koopzeker.js?c={$opt['unique_code']}&w={$opt['img_width']}"; ?>" async></script>
|
| 6 |
+
<?php else: ?>
|
| 7 |
+
<script src="<?php echo "//koopzeker.centraalbeheer.nl/koopzeker.js?c={$opt['unique_code']}&w={$opt['img_width']}"; ?>" async></script>
|
| 8 |
+
<?php endif; ?>
|
app/etc/modules/Younify_Koopzeker.xml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<!--
|
| 3 |
+
Younify Koopzeker
|
| 4 |
+
|
| 5 |
+
LICENSE
|
| 6 |
+
|
| 7 |
+
All material in this file is, unless otherwise stated, the property of
|
| 8 |
+
Younify B.V. Copyright and other intellectual property laws protect
|
| 9 |
+
these materials. Reproduction or retransmission of the materials, in whole
|
| 10 |
+
or in part, in any manner, without the prior written consent of the copyright
|
| 11 |
+
holder, is a violation of copyright law.
|
| 12 |
+
|
| 13 |
+
@category Younify
|
| 14 |
+
@package Younify_Koopzeker
|
| 15 |
+
@copyright Copyright (c) 2009-2012 Younify B.V (http://younify.nl)
|
| 16 |
+
@author Sasa Simonovic <sasa.simonovic@younify.nl>
|
| 17 |
+
-->
|
| 18 |
+
|
| 19 |
+
<config>
|
| 20 |
+
<modules>
|
| 21 |
+
<Younify_Koopzeker>
|
| 22 |
+
<active>true</active>
|
| 23 |
+
<codePool>community</codePool>
|
| 24 |
+
</Younify_Koopzeker>
|
| 25 |
+
</modules>
|
| 26 |
+
</config>
|
package.xml
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<package>
|
| 3 |
+
<name>Koopzeker</name>
|
| 4 |
+
<version>1.0.1</version>
|
| 5 |
+
<stability>stable</stability>
|
| 6 |
+
<license uri="http://www.centraalbeheer.nl/koopzeker">Koopzeker</license>
|
| 7 |
+
<channel>community</channel>
|
| 8 |
+
<extends/>
|
| 9 |
+
<summary>Met Koopzeker verzekert u de verzending en levering van aankopen van klanten.</summary>
|
| 10 |
+
<description>Koopzeker is een verzekering die u als eigenaar van een webwinkel kunt sluiten bij Centraal Beheer Achmea. Met Koopzeker verzekert u de verzending en levering van aankopen van klanten. Gaat er iets mis bij de verzending of levering van de bestelling en komt u met de koper niet tot een oplossing? Dan zorgt Centraal Beheer Achmea voor bemiddeling en vergoeding van de schade van de klant. De vergoeding bedraagt maximaal € 2.500,- per bestelling en geldt voor leveringen binnen Nederland. </description>
|
| 11 |
+
<notes>Met Koopzeker verzekert u de verzending en levering van aankopen van klanten.</notes>
|
| 12 |
+
<authors><author><name>Sasa Simonovic</name><user>sasa</user><email>sasa.simonovic@younify.nl</email></author></authors>
|
| 13 |
+
<date>2013-01-22</date>
|
| 14 |
+
<time>11:17:33</time>
|
| 15 |
+
<contents><target name="magecommunity"><dir name="Younify"><dir name="Koopzeker"><dir name="Block"><file name="Script.php" hash="c6985467ddc714845864b19543a55e12"/></dir><file name="Centraal Beheer Achmea Koopzeker Magento handleiding.pdf" hash="7970c148223450eb9021f4fffc4304a6"/><dir name="Helper"><file name="Data.php" hash="8071c63444782294a9107df426c632c5"/></dir><dir name="Model"><dir name="Source"><file name="Width.php" hash="abbf7e83b016999f5a43c939c57a8dc3"/></dir><file name=".DS_Store" hash="84808502c88185caecc9457a346ab540"/></dir><dir name="etc"><file name="config.xml" hash="8f5968068ce66e6c0dd34979288d4d0d"/><file name="system.xml" hash="9c73ce740da4aeb2f3b20fdd92aee618"/></dir><file name=".DS_Store" hash="d8f75717f37340a1df6f11a19553d753"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Younify_Koopzeker.xml" hash="857853f792cd16e4670546e2adfce698"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="koopzeker"><file name="script.phtml" hash="7a7dcd49627fe1f43961fd616f5dde9f"/></dir></dir></dir></dir></dir></target></contents>
|
| 16 |
+
<compatible/>
|
| 17 |
+
<dependencies><required><php><min>5.2.0</min><max>5.3.6</max></php></required></dependencies>
|
| 18 |
+
</package>
|
