Version Notes
Giftcard Extension Tested in 1.8 and Working Fine
Download this release
Release Info
Developer | Kartparadigm |
Extension | Kartparadigm_Giftcard |
Version | 1.5.1.0 |
Comparing to | |
See all releases |
Code changes from version 1.5.0.0 to 1.5.1.0
- app/code/community/Kartparadigm/Giftcard/Model/Quote.php +0 -17
- app/code/community/Kartparadigm/Theme/Block/Adminhtml/System/Config/Form/Field/Font.php +69 -0
- app/code/community/Kartparadigm/Theme/Helper/Data.php +6 -0
- app/code/community/Kartparadigm/Theme/Model/Config/Font.php +28 -0
- app/code/community/Kartparadigm/Theme/Model/Config/Header.php +27 -0
- app/code/community/Kartparadigm/Theme/etc/config.xml +78 -0
- app/code/community/Kartparadigm/Theme/etc/system.xml +358 -0
- app/code/community/Kartparadigm/Theme/sql/theme_setup/mysql4-install-0.1.0.php +149 -0
- app/design/adminhtml/default/kartparadigm/template/catalog/form/renderer/fieldset/element.phtml +8 -2
- app/design/adminhtml/default/kartparadigm/template/catalog/form/renderer/fieldset/element.phtml~ +66 -0
- app/design/adminhtml/default/kartparadigm/template/catalog/product/edit.phtml~ +135 -0
- package.xml +4 -4
app/code/community/Kartparadigm/Giftcard/Model/Quote.php
DELETED
@@ -1,17 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Kartparadigm_Giftcard_Model_Quote extends Mage_Sales_Model_Quote
|
4 |
-
{
|
5 |
-
public function isVirtual()
|
6 |
-
{
|
7 |
-
}
|
8 |
-
|
9 |
-
public function merge(Mage_Sales_Model_Quote $quote)
|
10 |
-
{
|
11 |
-
parent::merge($quote);
|
12 |
-
if ($quote->getGiftcardCode()) {
|
13 |
-
$this->setGiftcardCode($quote->getGiftcardCode());
|
14 |
-
}
|
15 |
-
return $this;
|
16 |
-
}
|
17 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Kartparadigm/Theme/Block/Adminhtml/System/Config/Form/Field/Font.php
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @version 1.0 12.0.2012
|
4 |
+
* @author Kartparadigm http://www.Kartparadigm.com
|
5 |
+
* @copyright Copyright (C) 2010 - 2012 Kartparadigm
|
6 |
+
*/
|
7 |
+
|
8 |
+
class Kartparadigm_Theme_Block_Adminhtml_System_Config_Form_Field_Font extends Mage_Adminhtml_Block_System_Config_Form_Field
|
9 |
+
{
|
10 |
+
/**
|
11 |
+
* Override field method to add js
|
12 |
+
*
|
13 |
+
* @param Varien_Data_Form_Element_Abstract $element
|
14 |
+
* @return String
|
15 |
+
*/
|
16 |
+
protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
|
17 |
+
{
|
18 |
+
// Get the default HTML for this option
|
19 |
+
$html = parent::_getElementHtml($element);
|
20 |
+
|
21 |
+
$html .= '<br/><div id="tele_theme_preview" style="font-size:20px; margin-top:5px;">The quick brown fox jumps over the lazy dog</div>
|
22 |
+
<script>
|
23 |
+
var googleFontPreviewModel = Class.create();
|
24 |
+
|
25 |
+
googleFontPreviewModel.prototype = {
|
26 |
+
initialize : function()
|
27 |
+
{
|
28 |
+
this.fontElement = $("'.$element->getHtmlId().'");
|
29 |
+
this.previewElement = $("tele_theme_preview");
|
30 |
+
this.loadedFonts = "";
|
31 |
+
|
32 |
+
this.refreshPreview();
|
33 |
+
this.bindFontChange();
|
34 |
+
},
|
35 |
+
bindFontChange : function()
|
36 |
+
{
|
37 |
+
Event.observe(this.fontElement, "change", this.refreshPreview.bind(this));
|
38 |
+
Event.observe(this.fontElement, "keyup", this.refreshPreview.bind(this));
|
39 |
+
Event.observe(this.fontElement, "keydown", this.refreshPreview.bind(this));
|
40 |
+
},
|
41 |
+
refreshPreview : function()
|
42 |
+
{
|
43 |
+
if ( this.loadedFonts.indexOf( this.fontElement.value ) > -1 ) {
|
44 |
+
this.updateFontFamily();
|
45 |
+
return;
|
46 |
+
}
|
47 |
+
|
48 |
+
var ss = document.createElement("link");
|
49 |
+
ss.type = "text/css";
|
50 |
+
ss.rel = "stylesheet";
|
51 |
+
ss.href = "http://fonts.googleapis.com/css?family=" + this.fontElement.value;
|
52 |
+
document.getElementsByTagName("head")[0].appendChild(ss);
|
53 |
+
|
54 |
+
this.updateFontFamily();
|
55 |
+
|
56 |
+
this.loadedFonts += this.fontElement.value + ",";
|
57 |
+
},
|
58 |
+
updateFontFamily : function()
|
59 |
+
{
|
60 |
+
$(this.previewElement).setStyle({ fontFamily: this.fontElement.value });
|
61 |
+
}
|
62 |
+
}
|
63 |
+
|
64 |
+
googleFontPreview = new googleFontPreviewModel();
|
65 |
+
</script>
|
66 |
+
';
|
67 |
+
return $html;
|
68 |
+
}
|
69 |
+
}
|
app/code/community/Kartparadigm/Theme/Helper/Data.php
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Kartparadigm_Theme_Helper_Data extends Mage_Core_Helper_Abstract
|
4 |
+
{
|
5 |
+
}
|
6 |
+
?>
|
app/code/community/Kartparadigm/Theme/Model/Config/Font.php
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class Kartparadigm_Theme_Model_Config_Font
|
5 |
+
{
|
6 |
+
/**
|
7 |
+
* google fonts list
|
8 |
+
*
|
9 |
+
* @var string
|
10 |
+
*/
|
11 |
+
private $gfonts = "Abel,Arial,Abril Fatface,Aclonica,Acme,Actor,Adamina,Aguafina Script,Aladin,Aldrich,Alegreya,Alegreya SC,Alex Brush,Alfa Slab One,Alice,Alike,Alike Angular,Allan,Allerta,Allerta Stencil,Allura,Almendra,Almendra SC,Amaranth,Amatic SC,Amethysta,Andada,Andika,Annie Use Your Telescope,Anonymous Pro,Antic,Anton,Arapey,Arbutus,Architects Daughter,Arimo,Arizonia,Armata,Artifika,Arvo,Asap,Asset,Astloch,Asul,Atomic Age,Aubrey,Bad Script,Balthazar,Bangers,Basic,Baumans,Belgrano,Bentham,Bevan,Dosis,Pacifico,Roboto,Niconne,Oswald,Merriweather,Lobster,
|
12 |
+
Orbitron,Open Sans";
|
13 |
+
|
14 |
+
public function toOptionArray()
|
15 |
+
{
|
16 |
+
$fonts = explode(',', $this->gfonts);
|
17 |
+
$options = array();
|
18 |
+
foreach ($fonts as $f ){
|
19 |
+
$options[] = array(
|
20 |
+
'value' => $f,
|
21 |
+
'label' => $f,
|
22 |
+
);
|
23 |
+
}
|
24 |
+
|
25 |
+
return $options;
|
26 |
+
}
|
27 |
+
|
28 |
+
}
|
app/code/community/Kartparadigm/Theme/Model/Config/Header.php
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class Kartparadigm_Theme_Model_Config_Header
|
5 |
+
{
|
6 |
+
/**
|
7 |
+
* google fonts list
|
8 |
+
*
|
9 |
+
* @var string
|
10 |
+
*/
|
11 |
+
private $gfonts = "No,Yes";
|
12 |
+
|
13 |
+
public function toOptionArray()
|
14 |
+
{
|
15 |
+
$fonts = explode(',', $this->gfonts);
|
16 |
+
$options = array();
|
17 |
+
foreach ($fonts as $f ){
|
18 |
+
$options[] = array(
|
19 |
+
'value' => $f,
|
20 |
+
'label' => $f,
|
21 |
+
);
|
22 |
+
}
|
23 |
+
|
24 |
+
return $options;
|
25 |
+
}
|
26 |
+
|
27 |
+
}
|
app/code/community/Kartparadigm/Theme/etc/config.xml
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
|
4 |
+
<modules>
|
5 |
+
<Kartparadigm_Theme>
|
6 |
+
<version>0.1.0</version>
|
7 |
+
</Kartparadigm_Theme>
|
8 |
+
</modules>
|
9 |
+
|
10 |
+
<adminhtml>
|
11 |
+
<layout>
|
12 |
+
<updates>
|
13 |
+
<themeoptions>
|
14 |
+
<file>kartparadigm_themeoptions.xml</file>
|
15 |
+
</themeoptions>
|
16 |
+
</updates>
|
17 |
+
</layout>
|
18 |
+
<acl>
|
19 |
+
<resources>
|
20 |
+
<admin>
|
21 |
+
<children>
|
22 |
+
<system>
|
23 |
+
<children>
|
24 |
+
<config>
|
25 |
+
<children>
|
26 |
+
<theme>
|
27 |
+
<title>Kartparadigm Theme Settings</title>
|
28 |
+
</theme>
|
29 |
+
</children>
|
30 |
+
</config>
|
31 |
+
</children>
|
32 |
+
</system>
|
33 |
+
</children>
|
34 |
+
</admin>
|
35 |
+
</resources>
|
36 |
+
</acl>
|
37 |
+
</adminhtml>
|
38 |
+
|
39 |
+
<global>
|
40 |
+
<blocks>
|
41 |
+
<theme>
|
42 |
+
<class>Kartparadigm_Theme_Block</class>
|
43 |
+
</theme>
|
44 |
+
</blocks>
|
45 |
+
<helpers>
|
46 |
+
<theme>
|
47 |
+
<class>Kartparadigm_Theme_Helper</class>
|
48 |
+
</theme>
|
49 |
+
</helpers>
|
50 |
+
<models>
|
51 |
+
<theme>
|
52 |
+
<class>Kartparadigm_Theme_Model</class>
|
53 |
+
</theme>
|
54 |
+
</models>
|
55 |
+
<resources>
|
56 |
+
<theme_setup>
|
57 |
+
<setup>
|
58 |
+
<module>Kartparadigm_Theme</module>
|
59 |
+
<class>Mage_Eav_Model_Entity_Setup</class>
|
60 |
+
</setup>
|
61 |
+
<connection>
|
62 |
+
<use>default_setup</use>
|
63 |
+
</connection>
|
64 |
+
</theme_setup>
|
65 |
+
</resources>
|
66 |
+
</global>
|
67 |
+
|
68 |
+
<default>
|
69 |
+
<theme>
|
70 |
+
<theme_config>
|
71 |
+
<font>Arial</font>
|
72 |
+
<color>FFFFFF</color>
|
73 |
+
</theme_config>
|
74 |
+
|
75 |
+
</theme>
|
76 |
+
</default>
|
77 |
+
|
78 |
+
</config>
|
app/code/community/Kartparadigm/Theme/etc/system.xml
ADDED
@@ -0,0 +1,358 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<tabs>
|
4 |
+
<theme translate="label" module="theme">
|
5 |
+
<label>Kartparadigm</label>
|
6 |
+
<sort_order>105</sort_order>
|
7 |
+
</theme>
|
8 |
+
</tabs>
|
9 |
+
<sections>
|
10 |
+
<theme translate="label" module="theme">
|
11 |
+
<label>Elagance Theme Settings</label>
|
12 |
+
<tab>theme</tab>
|
13 |
+
<sort_order>10</sort_order>
|
14 |
+
<show_in_default>1</show_in_default>
|
15 |
+
<show_in_website>1</show_in_website>
|
16 |
+
<show_in_store>1</show_in_store>
|
17 |
+
<groups>
|
18 |
+
<theme_config translate="label">
|
19 |
+
<label>Elagance Theme Settings</label>
|
20 |
+
<frontend_type>text</frontend_type>
|
21 |
+
<sort_order>10</sort_order>
|
22 |
+
<show_in_default>1</show_in_default>
|
23 |
+
<show_in_website>1</show_in_website>
|
24 |
+
<show_in_store>1</show_in_store>
|
25 |
+
<fields>
|
26 |
+
<font translate="label comment">
|
27 |
+
<label>Font Style: </label>
|
28 |
+
<frontend_type>select</frontend_type>
|
29 |
+
<frontend_model>theme/adminhtml_system_config_form_field_font</frontend_model>
|
30 |
+
<source_model>theme/config_font</source_model>
|
31 |
+
<sort_order>40</sort_order>
|
32 |
+
<show_in_default>1</show_in_default>
|
33 |
+
<show_in_website>1</show_in_website>
|
34 |
+
<show_in_store>1</show_in_store>
|
35 |
+
</font>
|
36 |
+
|
37 |
+
<color translate="label comment">
|
38 |
+
<label>Theme Color :</label>
|
39 |
+
<frontend_type>text</frontend_type>
|
40 |
+
<comment>Click to select the theme color</comment>
|
41 |
+
<validate>color</validate>
|
42 |
+
<sort_order>50</sort_order>
|
43 |
+
<show_in_default>1</show_in_default>
|
44 |
+
<show_in_website>1</show_in_website>
|
45 |
+
<show_in_store>1</show_in_store>
|
46 |
+
</color>
|
47 |
+
|
48 |
+
</fields>
|
49 |
+
|
50 |
+
|
51 |
+
</theme_config>
|
52 |
+
<theme_config_header translate="label">
|
53 |
+
<label>Elagance Theme Header Settings</label>
|
54 |
+
<frontend_type>text</frontend_type>
|
55 |
+
<sort_order>20</sort_order>
|
56 |
+
<show_in_default>1</show_in_default>
|
57 |
+
<show_in_website>1</show_in_website>
|
58 |
+
<show_in_store>1</show_in_store>
|
59 |
+
<fields>
|
60 |
+
<toolbarbgcolor translate="label comment">
|
61 |
+
<label>Toolbar Background Color: </label>
|
62 |
+
<comment>Click to select toolbar background color</comment>
|
63 |
+
|
64 |
+
<validate>color</validate>
|
65 |
+
|
66 |
+
<sort_order>10</sort_order>
|
67 |
+
<show_in_default>1</show_in_default>
|
68 |
+
<show_in_website>1</show_in_website>
|
69 |
+
<show_in_store>1</show_in_store>
|
70 |
+
</toolbarbgcolor>
|
71 |
+
|
72 |
+
<toolbarcolor translate="label comment">
|
73 |
+
<label>Toolbar Color: </label>
|
74 |
+
<frontend_type>text</frontend_type>
|
75 |
+
<comment>Click to select the toolbar text color</comment>
|
76 |
+
|
77 |
+
<validate>color</validate>
|
78 |
+
<sort_order>20</sort_order>
|
79 |
+
<show_in_default>1</show_in_default>
|
80 |
+
<show_in_website>1</show_in_website>
|
81 |
+
<show_in_store>1</show_in_store>
|
82 |
+
</toolbarcolor>
|
83 |
+
<toolbarhovercolor translate="label comment">
|
84 |
+
<label>Toolbar Mouse Hover Color: </label>
|
85 |
+
<frontend_type>text</frontend_type>
|
86 |
+
<comment>Click to select the toolbar text color on mouse hover</comment>
|
87 |
+
|
88 |
+
<validate>color</validate>
|
89 |
+
<sort_order>30</sort_order>
|
90 |
+
<show_in_default>1</show_in_default>
|
91 |
+
<show_in_website>1</show_in_website>
|
92 |
+
<show_in_store>1</show_in_store>
|
93 |
+
</toolbarhovercolor>
|
94 |
+
|
95 |
+
<headerbgcolor translate="label comment">
|
96 |
+
<label>Header Background Color: </label>
|
97 |
+
<frontend_type>text</frontend_type>
|
98 |
+
<comment>Click to select the header color </comment>
|
99 |
+
|
100 |
+
<validate>color</validate>
|
101 |
+
<sort_order>30</sort_order>
|
102 |
+
<show_in_default>1</show_in_default>
|
103 |
+
<show_in_website>1</show_in_website>
|
104 |
+
<show_in_store>1</show_in_store>
|
105 |
+
</headerbgcolor>
|
106 |
+
</fields>
|
107 |
+
</theme_config_header>
|
108 |
+
<theme_config_zoom translate="label">
|
109 |
+
<label>Elagance Theme Zoom Settings</label>
|
110 |
+
<frontend_type>text</frontend_type>
|
111 |
+
<sort_order>50</sort_order>
|
112 |
+
<show_in_default>1</show_in_default>
|
113 |
+
<show_in_website>1</show_in_website>
|
114 |
+
<show_in_store>1</show_in_store>
|
115 |
+
<fields>
|
116 |
+
<productheight translate="label comment">
|
117 |
+
<label>Product Image Height: </label>
|
118 |
+
<comment>Give Product Image height in product page ex:500</comment>
|
119 |
+
<frontend_type>text</frontend_type>
|
120 |
+
|
121 |
+
|
122 |
+
<sort_order>10</sort_order>
|
123 |
+
<show_in_default>1</show_in_default>
|
124 |
+
<show_in_website>1</show_in_website>
|
125 |
+
<show_in_store>1</show_in_store>
|
126 |
+
</productheight>
|
127 |
+
<productwidth translate="label comment">
|
128 |
+
<label>Product Image Width: </label>
|
129 |
+
<comment>Give Product Image width in product page ex:500</comment>
|
130 |
+
|
131 |
+
<frontend_type>text</frontend_type>
|
132 |
+
|
133 |
+
<sort_order>20</sort_order>
|
134 |
+
<show_in_default>1</show_in_default>
|
135 |
+
<show_in_website>1</show_in_website>
|
136 |
+
<show_in_store>1</show_in_store>
|
137 |
+
</productwidth>
|
138 |
+
|
139 |
+
<zoomheight translate="label comment">
|
140 |
+
<label>Zoom window Height: </label>
|
141 |
+
<comment>Give Zoom window Height ex:500</comment>
|
142 |
+
<frontend_type>text</frontend_type>
|
143 |
+
|
144 |
+
|
145 |
+
<sort_order>10</sort_order>
|
146 |
+
<show_in_default>1</show_in_default>
|
147 |
+
<show_in_website>1</show_in_website>
|
148 |
+
<show_in_store>1</show_in_store>
|
149 |
+
</zoomheight>
|
150 |
+
<zoomwidth translate="label comment">
|
151 |
+
<label>Zoom Window Width: </label>
|
152 |
+
<comment>Give Zoom window width ex:500</comment>
|
153 |
+
|
154 |
+
<frontend_type>text</frontend_type>
|
155 |
+
|
156 |
+
<sort_order>20</sort_order>
|
157 |
+
<show_in_default>1</show_in_default>
|
158 |
+
<show_in_website>1</show_in_website>
|
159 |
+
<show_in_store>1</show_in_store>
|
160 |
+
</zoomwidth>
|
161 |
+
</fields>
|
162 |
+
</theme_config_zoom>
|
163 |
+
<theme_config_home translate="label">
|
164 |
+
<label>Home Slide Show Settings</label>
|
165 |
+
<frontend_type>text</frontend_type>
|
166 |
+
<sort_order>50</sort_order>
|
167 |
+
<show_in_default>1</show_in_default>
|
168 |
+
<show_in_website>1</show_in_website>
|
169 |
+
<show_in_store>1</show_in_store>
|
170 |
+
<fields>
|
171 |
+
<sliderheight translate="label comment">
|
172 |
+
<label>Slider Height: </label>
|
173 |
+
<comment>you can give fluid/fixed height (for fluid use %).For better view, use minimum 300 as slider height</comment>
|
174 |
+
<frontend_type>text</frontend_type>
|
175 |
+
<sort_order>10</sort_order>
|
176 |
+
<show_in_default>1</show_in_default>
|
177 |
+
<show_in_website>1</show_in_website>
|
178 |
+
<show_in_store>1</show_in_store>
|
179 |
+
</sliderheight>
|
180 |
+
|
181 |
+
<bannerimage1 translate="label comment">
|
182 |
+
<label>Banner Image1: </label>
|
183 |
+
<comment>Give banner image floder name and image name ex:images/fullimage1.jpg</comment>
|
184 |
+
<frontend_type>text</frontend_type>
|
185 |
+
<sort_order>10</sort_order>
|
186 |
+
<show_in_default>1</show_in_default>
|
187 |
+
<show_in_website>1</show_in_website>
|
188 |
+
<show_in_store>1</show_in_store>
|
189 |
+
</bannerimage1>
|
190 |
+
<image1target translate="label comment">
|
191 |
+
<label>Banner Image1 Target: </label>
|
192 |
+
<comment>you can give any category or page url.Default target is home page. </comment>
|
193 |
+
<frontend_type>text</frontend_type>
|
194 |
+
<sort_order>20</sort_order>
|
195 |
+
<show_in_default>1</show_in_default>
|
196 |
+
<show_in_website>1</show_in_website>
|
197 |
+
<show_in_store>1</show_in_store>
|
198 |
+
</image1target>
|
199 |
+
<bannerimage2 translate="label comment">
|
200 |
+
<label>Banner Image2: </label>
|
201 |
+
<comment>Give banner image floder name and image name ex:images/fullimage1.jpg</comment>
|
202 |
+
<frontend_type>text</frontend_type>
|
203 |
+
<sort_order>30</sort_order>
|
204 |
+
<show_in_default>1</show_in_default>
|
205 |
+
<show_in_website>1</show_in_website>
|
206 |
+
<show_in_store>1</show_in_store>
|
207 |
+
</bannerimage2>
|
208 |
+
<image2target translate="label comment">
|
209 |
+
<label>Banner Image2 Target: </label>
|
210 |
+
<comment>you can give any category or page url .Default target is home page.ex:furniture.html</comment>
|
211 |
+
<frontend_type>text</frontend_type>
|
212 |
+
<sort_order>40</sort_order>
|
213 |
+
<show_in_default>1</show_in_default>
|
214 |
+
<show_in_website>1</show_in_website>
|
215 |
+
<show_in_store>1</show_in_store>
|
216 |
+
</image2target>
|
217 |
+
<bannerimage3 translate="label comment">
|
218 |
+
<label>Banner Image3: </label>
|
219 |
+
<comment>Give banner image floder name and image name ex:images/fullimage1.jpg </comment>
|
220 |
+
<frontend_type>text</frontend_type>
|
221 |
+
<sort_order>50</sort_order>
|
222 |
+
<show_in_default>1</show_in_default>
|
223 |
+
<show_in_website>1</show_in_website>
|
224 |
+
<show_in_store>1</show_in_store>
|
225 |
+
</bannerimage3>
|
226 |
+
<image3target translate="label comment">
|
227 |
+
<label>Banner Image3 Target: </label>
|
228 |
+
<comment>you can give any category or page url..Default target is home page.ex:furniture.html </comment>
|
229 |
+
<frontend_type>text</frontend_type>
|
230 |
+
<sort_order>60</sort_order>
|
231 |
+
<show_in_default>1</show_in_default>
|
232 |
+
<show_in_website>1</show_in_website>
|
233 |
+
<show_in_store>1</show_in_store>
|
234 |
+
</image3target>
|
235 |
+
<globalslideshow translate="label comment">
|
236 |
+
<label>You want to make this slide show as global : </label>
|
237 |
+
<frontend_type>select</frontend_type>
|
238 |
+
<comment>if you select yes it will display on all pages by default it is in home page.ex:furniture.html</comment>
|
239 |
+
|
240 |
+
<source_model>theme/config_header</source_model>
|
241 |
+
|
242 |
+
<sort_order>70</sort_order>
|
243 |
+
<show_in_default>1</show_in_default>
|
244 |
+
<show_in_website>1</show_in_website>
|
245 |
+
<show_in_store>1</show_in_store>
|
246 |
+
</globalslideshow>
|
247 |
+
|
248 |
+
</fields>
|
249 |
+
</theme_config_home>
|
250 |
+
<theme_config_res translate="label">
|
251 |
+
<label>Restore Default Settings</label>
|
252 |
+
<frontend_type>text</frontend_type>
|
253 |
+
<sort_order>60</sort_order>
|
254 |
+
<show_in_default>1</show_in_default>
|
255 |
+
<show_in_website>1</show_in_website>
|
256 |
+
<show_in_store>1</show_in_store>
|
257 |
+
<fields>
|
258 |
+
<themres translate="label comment">
|
259 |
+
<label>Theme Color Restore: </label>
|
260 |
+
<frontend_type>select</frontend_type>
|
261 |
+
<comment>select yes to restore default theme color settings</comment>
|
262 |
+
|
263 |
+
<source_model>theme/config_header</source_model>
|
264 |
+
|
265 |
+
<sort_order>10</sort_order>
|
266 |
+
<show_in_default>1</show_in_default>
|
267 |
+
<show_in_website>1</show_in_website>
|
268 |
+
<show_in_store>1</show_in_store>
|
269 |
+
</themres>
|
270 |
+
<headerres translate="label comment">
|
271 |
+
<label>Header Restore: </label>
|
272 |
+
<frontend_type>select</frontend_type>
|
273 |
+
<comment>select yes to restore default header color settings</comment>
|
274 |
+
|
275 |
+
<source_model>theme/config_header</source_model>
|
276 |
+
|
277 |
+
<sort_order>20</sort_order>
|
278 |
+
<show_in_default>1</show_in_default>
|
279 |
+
<show_in_website>1</show_in_website>
|
280 |
+
<show_in_store>1</show_in_store>
|
281 |
+
</headerres>
|
282 |
+
|
283 |
+
<footerres translate="label comment">
|
284 |
+
<label>FooterRestore: </label>
|
285 |
+
<frontend_type>select</frontend_type>
|
286 |
+
<comment>select yes to restore default footer color settings</comment>
|
287 |
+
|
288 |
+
<source_model>theme/config_header</source_model>
|
289 |
+
|
290 |
+
<sort_order>30</sort_order>
|
291 |
+
<show_in_default>1</show_in_default>
|
292 |
+
<show_in_website>1</show_in_website>
|
293 |
+
<show_in_store>1</show_in_store>
|
294 |
+
</footerres>
|
295 |
+
</fields>
|
296 |
+
</theme_config_res>
|
297 |
+
<theme_config_footer translate="label">
|
298 |
+
<label>Elagance Theme Footer Settings</label>
|
299 |
+
<frontend_type>text</frontend_type>
|
300 |
+
<sort_order>30</sort_order>
|
301 |
+
<show_in_default>1</show_in_default>
|
302 |
+
<show_in_website>1</show_in_website>
|
303 |
+
<show_in_store>1</show_in_store>
|
304 |
+
<fields>
|
305 |
+
<footerbgcolor translate="label comment">
|
306 |
+
<label>Footer Background Color: </label>
|
307 |
+
<frontend_type>text</frontend_type>
|
308 |
+
<comment>Click to select the Footer Background color </comment>
|
309 |
+
|
310 |
+
<validate>color</validate>
|
311 |
+
<sort_order>30</sort_order>
|
312 |
+
<show_in_default>1</show_in_default>
|
313 |
+
<show_in_website>1</show_in_website>
|
314 |
+
<show_in_store>1</show_in_store>
|
315 |
+
</footerbgcolor>
|
316 |
+
<footertextcolor translate="label comment">
|
317 |
+
<label>Footer Text Color: </label>
|
318 |
+
<frontend_type>text</frontend_type>
|
319 |
+
<comment>Click to select the footer text color</comment>
|
320 |
+
|
321 |
+
<validate>color</validate>
|
322 |
+
<sort_order>20</sort_order>
|
323 |
+
<show_in_default>1</show_in_default>
|
324 |
+
<show_in_website>1</show_in_website>
|
325 |
+
<show_in_store>1</show_in_store>
|
326 |
+
</footertextcolor>
|
327 |
+
<footerlinkscolor translate="label comment">
|
328 |
+
<label>Footer Links Color: </label>
|
329 |
+
<frontend_type>text</frontend_type>
|
330 |
+
<comment>Click to select the footer links color</comment>
|
331 |
+
|
332 |
+
<validate>color</validate>
|
333 |
+
<sort_order>20</sort_order>
|
334 |
+
<show_in_default>1</show_in_default>
|
335 |
+
<show_in_website>1</show_in_website>
|
336 |
+
<show_in_store>1</show_in_store>
|
337 |
+
</footerlinkscolor>
|
338 |
+
<footertexthovercolor translate="label comment">
|
339 |
+
<label>Footer Text Mouse Hover Color: </label>
|
340 |
+
<frontend_type>text</frontend_type>
|
341 |
+
<comment>Click to select the footer text color on mouse hover</comment>
|
342 |
+
|
343 |
+
<validate>color</validate>
|
344 |
+
<sort_order>30</sort_order>
|
345 |
+
<show_in_default>1</show_in_default>
|
346 |
+
<show_in_website>1</show_in_website>
|
347 |
+
<show_in_store>1</show_in_store>
|
348 |
+
</footertexthovercolor>
|
349 |
+
|
350 |
+
|
351 |
+
</fields>
|
352 |
+
</theme_config_footer >
|
353 |
+
</groups>
|
354 |
+
</theme>
|
355 |
+
</sections>
|
356 |
+
</config>
|
357 |
+
|
358 |
+
|
app/code/community/Kartparadigm/Theme/sql/theme_setup/mysql4-install-0.1.0.php
ADDED
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
<?php
|
3 |
+
$this->startSetup();
|
4 |
+
Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID);
|
5 |
+
|
6 |
+
|
7 |
+
$staticBlock = array(
|
8 |
+
'title' => 'Customer Service',
|
9 |
+
'identifier' => 'rt001-footer-box1',
|
10 |
+
'content' => '<ul>
|
11 |
+
<li><a href="{{store url="customer-service"}}">Customer Service</a></li>
|
12 |
+
<li><a href="{{store url="sales/guest/form"}}">Orders and Returns</a></li>
|
13 |
+
<li><a href="{{store url="customer-service"}}">Shipping and Delivery</a></li>
|
14 |
+
<li><a href="{{store url="catalog/seo_sitemap/category"}}">Sitemap</a></li>
|
15 |
+
</ul>',
|
16 |
+
'is_active' => 1,
|
17 |
+
'stores' => array(0)
|
18 |
+
);
|
19 |
+
Mage::getModel('cms/block')->setData($staticBlock)->save();
|
20 |
+
|
21 |
+
$staticBlock = array(
|
22 |
+
'title' => 'About Us',
|
23 |
+
'identifier' => 'rt001-footer-box2',
|
24 |
+
'content' => '<ul>
|
25 |
+
<li><a href="{{store url="about-magento-demo-store"}}">About Us</a></li>
|
26 |
+
<li><a href="{{store url="privacy-policy-cookie-restriction-mode"}}">Privacy Policy</a></li>
|
27 |
+
<li><a href="{{store url="contacts"}}">Contact Us</a></li>
|
28 |
+
<li><a href="{{store url="customer-service"}}">Shopping Infos</a></li>
|
29 |
+
</ul>',
|
30 |
+
'is_active' => 1,
|
31 |
+
'stores' => array(0)
|
32 |
+
);
|
33 |
+
Mage::getModel('cms/block')->setData($staticBlock)->save();
|
34 |
+
|
35 |
+
$staticBlock = array(
|
36 |
+
'title' => 'New Products',
|
37 |
+
'identifier' => 'rt001-footer-box3',
|
38 |
+
'content' => '<ul>
|
39 |
+
<li><a href="{{store url="#"}}">Textlink</a></li>
|
40 |
+
<li><a href="{{store url="#"}}">Textlink</a></li>
|
41 |
+
<li><a href="{{store url="#"}}">Textlink</a></li>
|
42 |
+
<li><a href="{{store url="#"}}">Textlink</a></li>
|
43 |
+
</ul>',
|
44 |
+
'is_active' => 1,
|
45 |
+
'stores' => array(0)
|
46 |
+
);
|
47 |
+
Mage::getModel('cms/block')->setData($staticBlock)->save();
|
48 |
+
|
49 |
+
$staticBlock = array(
|
50 |
+
'title' => 'Popular',
|
51 |
+
'identifier' => 'rt001-footer-box4',
|
52 |
+
'content' => '<ul>
|
53 |
+
<li><a href="{{store url="#"}}">Textlink</a></li>
|
54 |
+
<li><a href="{{store url="#"}}">Textlink</a></li>
|
55 |
+
<li><a href="{{store url="#"}}">Textlink</a></li>
|
56 |
+
<li><a href="{{store url="#"}}">Textlink</a></li>
|
57 |
+
</ul>',
|
58 |
+
'is_active' => 1,
|
59 |
+
'stores' => array(0)
|
60 |
+
);
|
61 |
+
Mage::getModel('cms/block')->setData($staticBlock)->save();
|
62 |
+
|
63 |
+
$staticBlock = array(
|
64 |
+
'title' => 'Left Collout Banners',
|
65 |
+
'identifier' => 'left_collout_banner',
|
66 |
+
'content' => '
|
67 |
+
<ul>
|
68 |
+
<li><a href="{{store url="furniture.phtml"}}">
|
69 |
+
<img src="{{media url="wysiwyg/img/col_left_callout.jpg"}}" alt="Image1" /></a></li>
|
70 |
+
<li><img src="{{media url="wysiwyg/img/ph_callout_left_rebel.jpg"}}" alt="Image2" /></li>
|
71 |
+
<li><img src="{{media url="wysiwyg/img/col_left_callout.jpg"}}" alt="Image3" /></li>
|
72 |
+
</ul>',
|
73 |
+
'is_active' => 1,
|
74 |
+
'stores' => array(0)
|
75 |
+
);
|
76 |
+
Mage::getModel('cms/block')->setData($staticBlock)->save();
|
77 |
+
|
78 |
+
$staticBlock = array(
|
79 |
+
'title' => 'Right Collout Banners',
|
80 |
+
'identifier' => 'right_collout_banner',
|
81 |
+
'content' => '
|
82 |
+
<ul>
|
83 |
+
<li><a href="{{store url="apparel.html"}}">
|
84 |
+
<img src="{{media url="wysiwyg/img/ph_callout_left_rebel.jpg"}}" alt="Image1" /></a></li>
|
85 |
+
<li><img src="{{media url="wysiwyg/img/col_left_callout.jpg"}}" alt="Image2" /></li>
|
86 |
+
<li><img src="{{media url="wysiwyg/img/ph_callout_left_rebel.jpg"}}" alt="Image3" /></li>
|
87 |
+
</ul>',
|
88 |
+
'is_active' => 1,
|
89 |
+
'stores' => array(0)
|
90 |
+
);
|
91 |
+
Mage::getModel('cms/block')->setData($staticBlock)->save();
|
92 |
+
|
93 |
+
$staticBlock = array(
|
94 |
+
'title' => 'Category Banners',
|
95 |
+
'identifier' => 'kartparadigm_category_banners',
|
96 |
+
'content' => '
|
97 |
+
<table style="width: 100%; height: auto;" border="0" cellspacing="10">
|
98 |
+
<tbody>
|
99 |
+
<tr>
|
100 |
+
<td><a href="{{store url="electronics/cell-phones.html"}}">
|
101 |
+
<img style="padding: 10;" src="{{media url="wysiwyg/img/electronics_cellphones.jpg"}}" alt="Image1" width="90%" />
|
102 |
+
</a></td>
|
103 |
+
<td><a href="{{store url="electronics/cameras.html"}}">
|
104 |
+
<img style="padding: 10;" src="{{media url="wysiwyg/img/electronics_digitalcameras.jpg"}}" alt="Image2" width="90%" />
|
105 |
+
</a></td>
|
106 |
+
<td><a href="{{store url="electronics/computers.html"}}">
|
107 |
+
<img style="padding: 10;" src="{{media url="wysiwyg/img/electronics_laptops.jpg"}}" alt="Image3" width="90%" />
|
108 |
+
</a></td>
|
109 |
+
</tr>
|
110 |
+
</tbody>
|
111 |
+
</table>',
|
112 |
+
'is_active' => 1,
|
113 |
+
'stores' => array(0)
|
114 |
+
);
|
115 |
+
Mage::getModel('cms/block')->setData($staticBlock)->save();
|
116 |
+
|
117 |
+
$staticBlock = array(
|
118 |
+
'title' => 'Custom Banners Slider',
|
119 |
+
'identifier' => 'custom_banners_slider',
|
120 |
+
'content' => '
|
121 |
+
<div id="custom_slider" class="owl-carousel owl-theme">
|
122 |
+
<div class="item"><a href="#"> <img src="{{media url="wysiwyg/img/col_left_callout.jpg"}}" alt="Image1" /></a></div>
|
123 |
+
<div class="item"><a href="#"> <img src="{{media url="wysiwyg/img/ph_callout_left_rebel.jpg"}}" alt="Image2" /></a></div>
|
124 |
+
<div class="item"><a href="#"> <img src="{{media url="wysiwyg/img/col_left_callout.jpg"}}" alt="Image3" /></a></div>
|
125 |
+
</div>',
|
126 |
+
'is_active' => 1,
|
127 |
+
'stores' => array(0)
|
128 |
+
);
|
129 |
+
Mage::getModel('cms/block')->setData($staticBlock)->save();
|
130 |
+
|
131 |
+
Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID);
|
132 |
+
$cmsPageData = array(
|
133 |
+
'title' => 'Kartparadigm Home Page',
|
134 |
+
'root_template' => 'one_column',
|
135 |
+
'meta_keywords' => 'meta,keywords',
|
136 |
+
'meta_description' => 'meta description',
|
137 |
+
'identifier' => 'kartparadigm-home',
|
138 |
+
'is_active' => 1,
|
139 |
+
'sort_order' => 0,
|
140 |
+
'stores' => array(0),//available for all store views
|
141 |
+
'content' => '
|
142 |
+
{{block type="cms/block" block_id="kartparadigm_category_banners"}}
|
143 |
+
{{widget type="catalog/product_widget_new" display_type="all_products" products_count="10" template="catalog/product/widget/new/content/new_grid.phtml"}}'
|
144 |
+
);
|
145 |
+
|
146 |
+
Mage::getModel('cms/page')->setData($cmsPageData)->save();
|
147 |
+
|
148 |
+
$this->endSetup();
|
149 |
+
?>
|
app/design/adminhtml/default/kartparadigm/template/catalog/form/renderer/fieldset/element.phtml
CHANGED
@@ -29,7 +29,11 @@
|
|
29 |
* @see Mage_Adminhtml_Block_Catalog_Form_Renderer_Fieldset_Element
|
30 |
*/
|
31 |
?>
|
32 |
-
<?php
|
|
|
|
|
|
|
|
|
33 |
<?php $this->checkFieldDisable() ?>
|
34 |
<?php
|
35 |
$elementToggleCode = $_element->getToggleCode() ? $_element->getToggleCode()
|
@@ -41,7 +45,8 @@
|
|
41 |
<td class="hidden" colspan="100"><?php echo trim($_element->getElementHtml()) ?></td>
|
42 |
</tr>
|
43 |
<?php else: ?>
|
44 |
-
<tr
|
|
|
45 |
<td class="label"><?php echo trim($this->getElementLabelHtml()) ?></td>
|
46 |
<td class="value">
|
47 |
<?php echo trim($this->getElementHtml()) ?>
|
@@ -56,5 +61,6 @@
|
|
56 |
<label for="<?php echo $_element->getHtmlId() ?>_default" class="normal"><?php echo $this->__('Use Default Value') ?></label>
|
57 |
</td>
|
58 |
<?php endif; ?>
|
|
|
59 |
</tr>
|
60 |
<?php endif; ?>
|
29 |
* @see Mage_Adminhtml_Block_Catalog_Form_Renderer_Fieldset_Element
|
30 |
*/
|
31 |
?>
|
32 |
+
<?php
|
33 |
+
|
34 |
+
|
35 |
+
|
36 |
+
$_element = $this->getElement(); ?>
|
37 |
<?php $this->checkFieldDisable() ?>
|
38 |
<?php
|
39 |
$elementToggleCode = $_element->getToggleCode() ? $_element->getToggleCode()
|
45 |
<td class="hidden" colspan="100"><?php echo trim($_element->getElementHtml()) ?></td>
|
46 |
</tr>
|
47 |
<?php else: ?>
|
48 |
+
<tr >
|
49 |
+
|
50 |
<td class="label"><?php echo trim($this->getElementLabelHtml()) ?></td>
|
51 |
<td class="value">
|
52 |
<?php echo trim($this->getElementHtml()) ?>
|
61 |
<label for="<?php echo $_element->getHtmlId() ?>_default" class="normal"><?php echo $this->__('Use Default Value') ?></label>
|
62 |
</td>
|
63 |
<?php endif; ?>
|
64 |
+
|
65 |
</tr>
|
66 |
<?php endif; ?>
|
app/design/adminhtml/default/kartparadigm/template/catalog/form/renderer/fieldset/element.phtml~
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_default
|
23 |
+
* @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @see Mage_Adminhtml_Block_Catalog_Form_Renderer_Fieldset_Element
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<?php
|
33 |
+
|
34 |
+
|
35 |
+
|
36 |
+
$_element = $this->getElement(); ?>
|
37 |
+
<?php $this->checkFieldDisable() ?>
|
38 |
+
<?php
|
39 |
+
$elementToggleCode = $_element->getToggleCode() ? $_element->getToggleCode()
|
40 |
+
: 'toggleValueElements(this, this.parentNode.parentNode)';
|
41 |
+
?>
|
42 |
+
|
43 |
+
<?php if ($_element->getType()=='hidden'): ?>
|
44 |
+
<tr>
|
45 |
+
<td class="hidden" colspan="100"><?php echo trim($_element->getElementHtml()) ?></td>
|
46 |
+
</tr>
|
47 |
+
<?php else: ?>
|
48 |
+
<tr >
|
49 |
+
|
50 |
+
<td class="label"><?php echo trim($this->getElementLabelHtml()) ?></td>
|
51 |
+
<td class="value">
|
52 |
+
<?php echo trim($this->getElementHtml()) ?>
|
53 |
+
<?php if ($_element->getNote()) : ?>
|
54 |
+
<p class="note"><?php echo $_element->getNote() ?></p>
|
55 |
+
<?php endif; ?>
|
56 |
+
</td>
|
57 |
+
<td class="scope-label"><span class="nobr"><?php echo $this->getScopeLabel() ?></span></td>
|
58 |
+
<?php if ($this->canDisplayUseDefault()): ?>
|
59 |
+
<td class="value use-default">
|
60 |
+
<input <?php if($_element->getReadonly()):?> disabled="disabled"<?php endif; ?> type="checkbox" name="use_default[]" id="<?php echo $_element->getHtmlId() ?>_default"<?php if ($this->usedDefault()): ?> checked="checked"<?php endif; ?> onclick="<?php echo $elementToggleCode; ?>" value="<?php echo $this->getAttributeCode() ?>"/>
|
61 |
+
<label for="<?php echo $_element->getHtmlId() ?>_default" class="normal"><?php echo $this->__('Use Default Value') ?></label>
|
62 |
+
</td>
|
63 |
+
<?php endif; ?>
|
64 |
+
|
65 |
+
</tr>
|
66 |
+
<?php endif; ?>
|
app/design/adminhtml/default/kartparadigm/template/catalog/product/edit.phtml~
ADDED
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
<?php
|
3 |
+
/**
|
4 |
+
* Template for Mage_Adminhtml_Block_Catalog_Product_Edit
|
5 |
+
*/
|
6 |
+
?>
|
7 |
+
|
8 |
+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
|
9 |
+
<script>
|
10 |
+
var ps=$.noConflict();
|
11 |
+
ps(document).ready(function(){
|
12 |
+
ps("#min_gcamt").hide();
|
13 |
+
ps("#max_gcamt").hide();
|
14 |
+
ps("#giftcard_value").show();
|
15 |
+
ps("#price_type").change(function() {
|
16 |
+
|
17 |
+
var data=ps('option:selected',ps(this)).text();
|
18 |
+
if(data=='Fixed Price')
|
19 |
+
{
|
20 |
+
ps("#min_gcamt").hide();
|
21 |
+
ps("#max_gcamt").hide();
|
22 |
+
ps("#giftcard_value").show();
|
23 |
+
}
|
24 |
+
else if(data=='Range Price')
|
25 |
+
{
|
26 |
+
ps("#min_gcamt").show();
|
27 |
+
ps("#max_gcamt").show();
|
28 |
+
ps("#giftcard_value").hide();
|
29 |
+
}
|
30 |
+
else
|
31 |
+
ps("#giftcard_value").show();
|
32 |
+
});
|
33 |
+
});
|
34 |
+
</script>
|
35 |
+
|
36 |
+
|
37 |
+
<div class="content-header">
|
38 |
+
<h3 class="icon-head head-products"><?php echo $this->getHeader() ?></h3>
|
39 |
+
<p class="content-buttons form-buttons"><?php echo $this->getBackButtonHtml() ?>
|
40 |
+
<?php echo $this->getCancelButtonHtml() ?>
|
41 |
+
<?php if($this->getProductId()): ?>
|
42 |
+
<?php echo $this->getDeleteButtonHtml() ?>
|
43 |
+
<?php if($this->getProductSetId() && $this->getIsConfigured()): ?>
|
44 |
+
<?php echo $this->getDuplicateButtonHtml() ?>
|
45 |
+
<?php endif; ?>
|
46 |
+
<?php endif; ?>
|
47 |
+
<?php if($this->getProductSetId() && $this->getIsConfigured()): ?>
|
48 |
+
<?php echo $this->getSaveButtonHtml() ?>
|
49 |
+
<?php echo $this->getSaveAndEditButtonHtml() ?>
|
50 |
+
<?php endif; ?>
|
51 |
+
</p>
|
52 |
+
</div>
|
53 |
+
<form action="<?php echo $this->getSaveUrl() ?>" method="post" id="product_edit_form" enctype="multipart/form-data">
|
54 |
+
<?php echo $this->getBlockHtml('formkey')?>
|
55 |
+
<div style="display:none"></div>
|
56 |
+
</form>
|
57 |
+
<script type="text/javascript">
|
58 |
+
//<![CDATA[
|
59 |
+
var productTemplateSyntax = /(^|.|\r|\n)({{(\w+)}})/;
|
60 |
+
var productForm = new varienForm('product_edit_form', '<?php echo $this->getValidationUrl() ?>');
|
61 |
+
productForm._processValidationResult = function(transport) {
|
62 |
+
var response = transport.responseText.evalJSON();
|
63 |
+
if (response.error){
|
64 |
+
if (response.attribute && $(response.attribute)) {
|
65 |
+
$(response.attribute).setHasError(true, productForm);
|
66 |
+
Validation.ajaxError($(response.attribute), response.message);
|
67 |
+
if (!Prototype.Browser.IE){
|
68 |
+
$(response.attribute).focus();
|
69 |
+
}
|
70 |
+
}
|
71 |
+
else if ($('messages')) {
|
72 |
+
$('messages').innerHTML = '<ul class="messages"><li class="error-msg"><ul><li>' + response.message + '</li></ul></li></ul>';
|
73 |
+
}
|
74 |
+
}
|
75 |
+
else{
|
76 |
+
productForm._submit();
|
77 |
+
}
|
78 |
+
};
|
79 |
+
function saveAndContinueEdit(urlTemplate) {
|
80 |
+
var template = new Template(urlTemplate, productTemplateSyntax);
|
81 |
+
var url = template.evaluate({tab_id:product_info_tabsJsTabs.activeTab.id});
|
82 |
+
productForm.submit(url);
|
83 |
+
}
|
84 |
+
function setSettings(urlTemplate, setElement, typeElement) {
|
85 |
+
var template = new Template(urlTemplate, productTemplateSyntax);
|
86 |
+
setLocation(template.evaluate({attribute_set:$F(setElement),type:$F(typeElement)}));
|
87 |
+
}
|
88 |
+
|
89 |
+
function setSuperSettings(urlTemplate, attributesClass, validateField) {
|
90 |
+
var attributesFields = $$('.' + attributesClass);
|
91 |
+
var attributes = Form.serializeElements(attributesFields, true).attribute;
|
92 |
+
if(typeof attributes == 'string') {
|
93 |
+
attributes = [attributes];
|
94 |
+
}
|
95 |
+
|
96 |
+
if(!attributes) {
|
97 |
+
$(validateField).value = 'no-attributes';
|
98 |
+
} else {
|
99 |
+
$(validateField).value = 'has-attributes';
|
100 |
+
}
|
101 |
+
|
102 |
+
if (productForm.validator.validate()) {
|
103 |
+
var template = new Template(urlTemplate, productTemplateSyntax);
|
104 |
+
var url = template.evaluate({
|
105 |
+
attributes: encode_base64(attributes.join(',')).replace(new RegExp('/','g'),'%2F').replace(new RegExp('=','g'),'%3D')
|
106 |
+
});
|
107 |
+
setLocation(url);
|
108 |
+
}
|
109 |
+
}
|
110 |
+
|
111 |
+
function checkMaxLength(Object, MaxLen)
|
112 |
+
{
|
113 |
+
if (Object.value.length > MaxLen-1) {
|
114 |
+
Object.value = Object.value.substr(0, MaxLen);
|
115 |
+
}
|
116 |
+
return 1;
|
117 |
+
}
|
118 |
+
|
119 |
+
Event.observe(window, 'load', function() {
|
120 |
+
var objName = '<?php echo $this->getSelectedTabId() ?>';
|
121 |
+
if (objName) {
|
122 |
+
obj = $(objName);
|
123 |
+
//IE fix (bubbling event model)
|
124 |
+
product_info_tabsJsTabs.setSkipDisplayFirstTab();
|
125 |
+
product_info_tabsJsTabs.showTabContent(obj);
|
126 |
+
}
|
127 |
+
Product.AttributesBridge.setTabsObject(product_info_tabsJsTabs);
|
128 |
+
});
|
129 |
+
|
130 |
+
Validation.addAllThese([
|
131 |
+
['validate-super-product-attributes', '<?php echo Mage::helper('catalog')->__('Please select one or more attributes.') ?>', function(v) {
|
132 |
+
return (v != "no-attributes");
|
133 |
+
}]]);
|
134 |
+
//]]>
|
135 |
+
</script>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Kartparadigm_Giftcard</name>
|
4 |
-
<version>1.5.
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Giftcard product codes are used to buy products from store</description>
|
11 |
<notes>Giftcard Extension Tested in 1.8 and Working Fine</notes>
|
12 |
<authors><author><name>Kartparadigm</name><user>kartparadigm</user><email>kartparadigm@gmail.com</email></author></authors>
|
13 |
-
<date>2015-03-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Kartparadigm"><dir name="Giftcard"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Form"><dir name="Renderer"><dir name="Fieldset"><file name="Element.php" hash="17050e37b24626ee24ad6ac2b7a4822a"/></dir></dir></dir></dir><dir name="Customer"><dir name="Edit"><dir name="Tab"><dir name="Giftcard"><file name="List.php" hash="7abb5f6a9d0098b30b65944b40fd9ad5"/></dir><file name="Giftcard.php" hash="a76ded858f806fcfbd98f55a22911a15"/></dir></dir></dir><dir name="Groupsend"><dir name="Edit"><file name="Form.php" hash="c3b50bf823b004ba57e2219c42b7ef96"/><file name="Form.php~" hash="dfd150e3c6d08630791a6238b88a8328"/><file name="Tabs.php~" hash="894890ac5d0f7ef6dae1dbb162861bee"/></dir><file name="Edit.php" hash="163356d156d010e175864d9fd9a20472"/></dir><file name="Groupsend.php" hash="3df73363e8501c9e743b5441cc8af43c"/><dir name="Registries"><dir name="Edit"><file name="Form.php" hash="a49e7bb6f609aa02863a2e31f7246355"/></dir><file name="Edit.php" hash="cab16c05aa27713b1f0ee1c7a87f0074"/><file name="Grid.php" hash="83e7cf397a098b8781d22739ee1f73f9"/></dir><file name="Registries.php" hash="5e4db8fdafb8dab2b66ebeb5127b21a9"/><dir name="Templates"><dir name="Edit"><file name="Form.php" hash="dfd2051bb0a9795a43b3434eda069efd"/></dir><file name="Edit.php" hash="96ab9201e133b99ab6dc325fcfb2f161"/><file name="Grid.php" hash="69e8f1ebb651f59f76b2ce0401ee5d5e"/></dir><file name="Templates.php" hash="004967e1c9ebbc58a7bb4d1cd9cbeaf7"/></dir><file name="Balance.php" hash="86c44b60c5a7a45f20892f61a37b6e29"/><dir name="Catalog"><dir name="Product"><dir name="View"><file name="Type.php" hash="b5e6bfdfcd4e10bf347be102cc7b501b"/></dir></dir></dir><dir name="Payment"><file name="Form.php" hash="a3f96979e4213379e95746c280cfd934"/><file name="Info.php" hash="a77b1cbfc1a625997d255d2ca12752a0"/></dir><file name="View.php" hash="5ef34e972c5d02b5f2aa9491da9d33d5"/></dir><dir name="Helper"><file name="Data.php" hash="16ecfad5aff0b9b921d32823a2a860a5"/><file name="Data.php~" hash="16ecfad5aff0b9b921d32823a2a860a5"/><file name="Payment.php" hash="bcd7ff2a288daba5c8757154e114b854"/><file name="Payment.php~" hash="bcd7ff2a288daba5c8757154e114b854"/></dir><dir name="Model"><file name="Custommethods.php" hash="3cebfb6a54d4a9ad3f6ad58a7dbf37e2"/><file name="Giftcard.php" hash="081146193dc762092716247ca8392565"/><file name="Giftcardtemplate.php" hash="fbb3912a24b90428915b2f88648c88a0"/><file name="Giftcardtrans.php" hash="5adb9c6700568f721b1fd639a7a5c549"/><dir name="Mysql4"><dir name="Giftcard"><file name="Collection.php" hash="fc8623fa3ef4eead6dae31ed78c5fc92"/><file name="Collection.php~" hash="05bf9f2c151bf7ce8d13a2261fb12f51"/></dir><file name="Giftcard.php" hash="c5b07a78a587883f3e189bfa324e9cc8"/><file name="Giftcard.php~" hash="9d3b8baf73c040696528017971b060fa"/><dir name="Giftcardtemplate"><file name="Collection.php" hash="ab9b4578b8f188e8a50b4c94d0725685"/><file name="Collection.php~" hash="f2fbfe9e9332e27ef96b28183d223d16"/></dir><file name="Giftcardtemplate.php" hash="3a4132f99a06bd4b20254377aadd19fc"/><file name="Giftcardtemplate.php~" hash="f5c9a2f6443ad607e8e3a05e3f18847a"/><dir name="Giftcardtrans"><file name="Collection.php" hash="6f3b6dc5328295ea86989abd02a0424c"/><file name="Collection.php~" hash="b6cf8f0827786f6e97c9b25b54bd16a5"/></dir><file name="Giftcardtrans.php" hash="fb63b8ebf8f84ffb4b0ada2e8e6b3068"/><file name="Giftcardtrans.php~" hash="fc622dd95f06afe35cae494d0b81c456"/><file name="Template.php~" hash="8c54ea2544046ccf890e47d4ed3cd5db"/><file name="Templates.php~" hash="8c54ea2544046ccf890e47d4ed3cd5db"/></dir><file name="Observer.php" hash="b57d809d5d18c5052a4666b26c5218f2"/><file name="Observer.php~" hash="9fb9820e8f86a8558a6405046434a91e"/><dir name="Product"><file name="Type.php" hash="8f4056f991455ce5047887560bd42283"/><file name="Type.php~" hash="8f4056f991455ce5047887560bd42283"/></dir><dir name="Quote"><file name="Payment.php" hash="6ad5e1533144996c5589c5971cec133e"/><file name="Payment.php~" hash="6ad5e1533144996c5589c5971cec133e"/><file name="Total.php~" hash="660d49fadd0c041c9fd989788137f359"/></dir><
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Kartparadigm_Giftcard</name>
|
4 |
+
<version>1.5.1.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL</license>
|
7 |
<channel>community</channel>
|
10 |
<description>Giftcard product codes are used to buy products from store</description>
|
11 |
<notes>Giftcard Extension Tested in 1.8 and Working Fine</notes>
|
12 |
<authors><author><name>Kartparadigm</name><user>kartparadigm</user><email>kartparadigm@gmail.com</email></author></authors>
|
13 |
+
<date>2015-03-23</date>
|
14 |
+
<time>11:18:09</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Kartparadigm"><dir name="Giftcard"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Form"><dir name="Renderer"><dir name="Fieldset"><file name="Element.php" hash="17050e37b24626ee24ad6ac2b7a4822a"/></dir></dir></dir></dir><dir name="Customer"><dir name="Edit"><dir name="Tab"><dir name="Giftcard"><file name="List.php" hash="7abb5f6a9d0098b30b65944b40fd9ad5"/></dir><file name="Giftcard.php" hash="a76ded858f806fcfbd98f55a22911a15"/></dir></dir></dir><dir name="Groupsend"><dir name="Edit"><file name="Form.php" hash="c3b50bf823b004ba57e2219c42b7ef96"/><file name="Form.php~" hash="dfd150e3c6d08630791a6238b88a8328"/><file name="Tabs.php~" hash="894890ac5d0f7ef6dae1dbb162861bee"/></dir><file name="Edit.php" hash="163356d156d010e175864d9fd9a20472"/></dir><file name="Groupsend.php" hash="3df73363e8501c9e743b5441cc8af43c"/><dir name="Registries"><dir name="Edit"><file name="Form.php" hash="a49e7bb6f609aa02863a2e31f7246355"/></dir><file name="Edit.php" hash="cab16c05aa27713b1f0ee1c7a87f0074"/><file name="Grid.php" hash="83e7cf397a098b8781d22739ee1f73f9"/></dir><file name="Registries.php" hash="5e4db8fdafb8dab2b66ebeb5127b21a9"/><dir name="Templates"><dir name="Edit"><file name="Form.php" hash="dfd2051bb0a9795a43b3434eda069efd"/></dir><file name="Edit.php" hash="96ab9201e133b99ab6dc325fcfb2f161"/><file name="Grid.php" hash="69e8f1ebb651f59f76b2ce0401ee5d5e"/></dir><file name="Templates.php" hash="004967e1c9ebbc58a7bb4d1cd9cbeaf7"/></dir><file name="Balance.php" hash="86c44b60c5a7a45f20892f61a37b6e29"/><dir name="Catalog"><dir name="Product"><dir name="View"><file name="Type.php" hash="b5e6bfdfcd4e10bf347be102cc7b501b"/></dir></dir></dir><dir name="Payment"><file name="Form.php" hash="a3f96979e4213379e95746c280cfd934"/><file name="Info.php" hash="a77b1cbfc1a625997d255d2ca12752a0"/></dir><file name="View.php" hash="5ef34e972c5d02b5f2aa9491da9d33d5"/></dir><dir name="Helper"><file name="Data.php" hash="16ecfad5aff0b9b921d32823a2a860a5"/><file name="Data.php~" hash="16ecfad5aff0b9b921d32823a2a860a5"/><file name="Payment.php" hash="bcd7ff2a288daba5c8757154e114b854"/><file name="Payment.php~" hash="bcd7ff2a288daba5c8757154e114b854"/></dir><dir name="Model"><file name="Custommethods.php" hash="3cebfb6a54d4a9ad3f6ad58a7dbf37e2"/><file name="Giftcard.php" hash="081146193dc762092716247ca8392565"/><file name="Giftcardtemplate.php" hash="fbb3912a24b90428915b2f88648c88a0"/><file name="Giftcardtrans.php" hash="5adb9c6700568f721b1fd639a7a5c549"/><dir name="Mysql4"><dir name="Giftcard"><file name="Collection.php" hash="fc8623fa3ef4eead6dae31ed78c5fc92"/><file name="Collection.php~" hash="05bf9f2c151bf7ce8d13a2261fb12f51"/></dir><file name="Giftcard.php" hash="c5b07a78a587883f3e189bfa324e9cc8"/><file name="Giftcard.php~" hash="9d3b8baf73c040696528017971b060fa"/><dir name="Giftcardtemplate"><file name="Collection.php" hash="ab9b4578b8f188e8a50b4c94d0725685"/><file name="Collection.php~" hash="f2fbfe9e9332e27ef96b28183d223d16"/></dir><file name="Giftcardtemplate.php" hash="3a4132f99a06bd4b20254377aadd19fc"/><file name="Giftcardtemplate.php~" hash="f5c9a2f6443ad607e8e3a05e3f18847a"/><dir name="Giftcardtrans"><file name="Collection.php" hash="6f3b6dc5328295ea86989abd02a0424c"/><file name="Collection.php~" hash="b6cf8f0827786f6e97c9b25b54bd16a5"/></dir><file name="Giftcardtrans.php" hash="fb63b8ebf8f84ffb4b0ada2e8e6b3068"/><file name="Giftcardtrans.php~" hash="fc622dd95f06afe35cae494d0b81c456"/><file name="Template.php~" hash="8c54ea2544046ccf890e47d4ed3cd5db"/><file name="Templates.php~" hash="8c54ea2544046ccf890e47d4ed3cd5db"/></dir><file name="Observer.php" hash="b57d809d5d18c5052a4666b26c5218f2"/><file name="Observer.php~" hash="9fb9820e8f86a8558a6405046434a91e"/><dir name="Product"><file name="Type.php" hash="8f4056f991455ce5047887560bd42283"/><file name="Type.php~" hash="8f4056f991455ce5047887560bd42283"/></dir><dir name="Quote"><file name="Payment.php" hash="6ad5e1533144996c5589c5971cec133e"/><file name="Payment.php~" hash="6ad5e1533144996c5589c5971cec133e"/><file name="Total.php~" hash="660d49fadd0c041c9fd989788137f359"/></dir><dir name="Resource"><file name="Setup.php" hash="9a09b300732fdbe5ebcd4914e607b46f"/><file name="Setup.php~" hash="9a09b300732fdbe5ebcd4914e607b46f"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="GiftcardController.php" hash="9dd4f4ca4ab3583769d5d3140ad58edc"/><file name="TemplateController.php" hash="9dee0be88f3c6ecc33356b1ba671b15d"/></dir><file name="CustomerController.php" hash="3c65b0337b06565b9b106a82afc706d6"/><file name="IndexController.php" hash="e4fb8ec50fdf8f25a810207b64e05f0d"/></dir><dir name="etc"><file name="adminhtml.xml" hash="2f753c2c901fe16df9b2dbdf93cc6731"/><file name="adminhtml.xml~" hash="2f753c2c901fe16df9b2dbdf93cc6731"/><file name="config.xml" hash="42b89e028d48411ecfa3a0fe82dc4d6e"/><file name="config.xml~" hash="42b89e028d48411ecfa3a0fe82dc4d6e"/><file name="system.xml" hash="a7601b0b343995dc25ad0631b529e079"/><file name="system.xml~" hash="26287cd1d9461c900a4e5a19ec858f95"/></dir><dir name="sql"><dir name="kartparadigm_giftcard_setup"><file name="install-0.1.0.php" hash="832d74de34ac2105e69ae96db29ea848"/><file name="upgrade-0.1.0-0.1.1.php" hash="091e1f143d0b588364f6452db953b0ee"/><file name="upgrade-0.1.1-0.1.2 .php" hash="738146964a99b9752e00cfbce581de0e"/><file name="upgrade-0.1.2-0.1.3.php" hash="703f3f61b6ae27bf3ce52a3a0f0b64c6"/><file name="upgrade-0.1.3-0.1.4.php" hash="fe8b9c9ceb3955e85ceef9a99f123591"/><file name="upgrade-0.1.4-0.1.5.php" hash="6eb4e7e4c9abd0fca35e26b9ec7f4f09"/></dir></dir></dir><dir name="Theme"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Font.php" hash="3599b033416ebbc47cb29cafcaee1d92"/></dir></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="55bc660756d1d82f38bf7b6220d9745b"/></dir><dir name="Model"><dir name="Config"><file name="Font.php" hash="2d9c8970e46b276286aebdbb6aadad22"/><file name="Header.php" hash="b8dd7f630481aafa26a69b24e665fbf2"/></dir></dir><dir name="etc"><file name="config.xml" hash="9a7322e27aadaec500be22393023fac2"/><file name="system.xml" hash="e56cfa8938e4af450776521c57c49d81"/></dir><dir name="sql"><dir name="theme_setup"><file name="mysql4-install-0.1.0.php" hash="20ca91407bfc3dcc4c66f2b7cc2fa985"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="giftcard.xml" hash="1c0f86139a17fac13d4393fccbdd7b74"/></dir><dir name="template"><dir name="kartparadigm"><dir name="giftcard"><file name="view.phtml" hash="be2ac452b636c0050c8bca2b20b3d399"/><file name="view.phtml~" hash="bdbdb46981fb80bdc0b29de58a08ea8f"/></dir></dir></dir></dir><dir name="kartparadigm"><dir name="template"><dir name="catalog"><dir name="form"><dir name="renderer"><dir name="fieldset"><file name="element.phtml" hash="82656db359d9521faa49a11c2774ab6e"/><file name="element.phtml~" hash="82656db359d9521faa49a11c2774ab6e"/></dir></dir></dir><dir name="product"><file name="edit.phtml" hash="b4071beacb31042d3e8fd5f5ac0c6127"/><file name="edit.phtml~" hash="b4071beacb31042d3e8fd5f5ac0c6127"/></dir></dir></dir></dir></dir><dir name="base"><dir name="default"><dir name="template"><dir name="kartparadigm"><dir name="giftcard"><dir name="customer"><file name="main.phtml" hash="d7eca62cebcb44d6386870f32e79b1d7"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="kartparadigm"><file name="giftcard.xml" hash="19e29afe175650261b05310d1c6ba91b"/></dir></dir><dir name="template"><dir name="kartparadigm"><dir name="giftcard"><dir name="customer"><file name="balance.phtml" hash="74e76ca3735feab4bf02bc72090ba0b8"/><file name="balview.phtml" hash="22e843fd69058ca76527bd130b3b78d5"/><file name="shareview.phtml" hash="da8e03e56ad748f54a6dc8710dd2a558"/></dir><dir name="payment"><file name="form.phtml" hash="5bee798c8677379f565bd2ee6e05a79b"/></dir><dir name="product"><file name="coupon.phtml" hash="8b637da2ba83dec8d980eba60c629fc2"/><file name="giftcardprice.phtml" hash="b7412477510cc777380db91d18f639f3"/><file name="listprice.phtml" hash="ca21cf3ca82946ccaa20e0041d5e2da6"/><file name="media.phtml" hash="6f6af8239b788467854e15a736d855b1"/><file name="type.phtml" hash="d25055ec13b4b19eb6daf5ba3c0fc8d6"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Kartparadigm_Giftcard.xml" hash="f5df5aa804a3e1df5efa551b8a5e7fe6"/></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><dir name="giftcard"><file name="custom_email_template1.html" hash="3eba5b074ba17c3ff643de246e6edfe1"/></dir></dir></dir><file name="Kartparadigm_Giftcard.csv" hash="dc235c2229d9e2b2b40bf5e4bc69afe2"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="js"><dir name="giftcard"><file name="blurbox.js" hash="1d248e0b91cb6e61264e43c93dc497ce"/><file name="jquery.min-1.11.1.js" hash="8101d596b2b8fa35fe3a634ea342d7c3"/></dir></dir></dir></dir></dir></target><target name="magemedia"><dir name="giftcard"><file name="bar.gif" hash="aed53f61e4a67494a2829e7d9c32597b"/><file name="clos.png" hash="3af928af8bfcc76e5935a665b81b0c62"/><file name="greet.jpg" hash="f9be686771c81af6e1d5bc98846f3c6a"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|