Version Notes
Sql cleaning process added.
Download this release
Release Info
Developer | Zikkio |
Extension | Zikkio |
Version | 1.0.9 |
Comparing to | |
See all releases |
Code changes from version 1.0.8 to 1.0.9
- app/code/community/Zikkio/Zikkio/Model/Observer.php +5 -5
- app/code/community/Zikkio/Zikkio/etc/config.xml +1 -1
- app/code/community/Zikkio/{.DS_Store → Zikkio/sql/zikkio_setup/.DS_Store} +0 -0
- app/code/community/Zikkio/Zikkio/sql/zikkio_setup/mysql4-install-1-0-5.php +134 -0
- app/code/community/Zikkio/Zikkio/sql/zikkio_setup/mysql4-install-1-0-8.php +0 -125
- app/code/community/Zikkio/Zikkio/sql/zikkio_setup/mysql4-install-1-0-9.php +134 -0
- bridge2cart/bridge.php +1 -1
- bridge2cart/config.php +0 -1
- package.xml +5 -5
app/code/community/Zikkio/Zikkio/Model/Observer.php
CHANGED
@@ -34,7 +34,7 @@ class Zikkio_Zikkio_Model_Observer {
|
|
34 |
|
35 |
$zikkio_api_key = Mage::getStoreConfig('zikkio_settings/zikkio_api', Mage::app()->getStore());
|
36 |
|
37 |
-
Mage::log('Zikkio_Zikkio_Model_Observer@saveApiKey()-> '.$zikkio_api_key['zikkio_api'], null, '
|
38 |
|
39 |
$root_magento = Mage::getBaseDir();
|
40 |
$zikkio_bridge_directory = $root_magento . "/bridge2cart";
|
@@ -43,12 +43,12 @@ class Zikkio_Zikkio_Model_Observer {
|
|
43 |
|
44 |
$content_file = '<?php define("M1_TOKEN", "' . $zikkio_api_key['zikkio_api'] . '");';
|
45 |
|
46 |
-
|
47 |
-
|
48 |
|
49 |
file_put_contents($file, $content_file);
|
50 |
|
51 |
-
|
52 |
chmod($file, 0644);
|
53 |
}
|
54 |
|
@@ -57,4 +57,4 @@ class Zikkio_Zikkio_Model_Observer {
|
|
57 |
}
|
58 |
}
|
59 |
|
60 |
-
}
|
34 |
|
35 |
$zikkio_api_key = Mage::getStoreConfig('zikkio_settings/zikkio_api', Mage::app()->getStore());
|
36 |
|
37 |
+
Mage::log('Zikkio_Zikkio_Model_Observer@saveApiKey()-> '.$zikkio_api_key['zikkio_api'], null, 'zikkio.log');
|
38 |
|
39 |
$root_magento = Mage::getBaseDir();
|
40 |
$zikkio_bridge_directory = $root_magento . "/bridge2cart";
|
43 |
|
44 |
$content_file = '<?php define("M1_TOKEN", "' . $zikkio_api_key['zikkio_api'] . '");';
|
45 |
|
46 |
+
chmod($file, 0777);
|
47 |
+
chmod($zikkio_bridge_directory, 0777);
|
48 |
|
49 |
file_put_contents($file, $content_file);
|
50 |
|
51 |
+
if (chmod($file, 0777)) {
|
52 |
chmod($file, 0644);
|
53 |
}
|
54 |
|
57 |
}
|
58 |
}
|
59 |
|
60 |
+
}
|
app/code/community/Zikkio/Zikkio/etc/config.xml
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
<modules>
|
6 |
<Zikkio_Zikkio>
|
7 |
-
<version>1.0.
|
8 |
</Zikkio_Zikkio>
|
9 |
</modules>
|
10 |
|
4 |
|
5 |
<modules>
|
6 |
<Zikkio_Zikkio>
|
7 |
+
<version>1.0.9</version>
|
8 |
</Zikkio_Zikkio>
|
9 |
</modules>
|
10 |
|
app/code/community/Zikkio/{.DS_Store → Zikkio/sql/zikkio_setup/.DS_Store}
RENAMED
Binary file
|
app/code/community/Zikkio/Zikkio/sql/zikkio_setup/mysql4-install-1-0-5.php
ADDED
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
* DELETE FROM `core_resource` WHERE ((`code` = 'zikkio_setup' AND `code` = 'zikkio_setup' COLLATE utf8mb4_bin));
|
5 |
+
*/
|
6 |
+
|
7 |
+
//die('mysql4-install-1-0-9.php');
|
8 |
+
|
9 |
+
$installer = $this;
|
10 |
+
$setup = new Mage_Eav_Model_Entity_Setup('core_setup');
|
11 |
+
|
12 |
+
$installer->startSetup();
|
13 |
+
|
14 |
+
$attributeSetCollection = Mage::getResourceModel('eav/entity_attribute_set_collection')->load();
|
15 |
+
|
16 |
+
foreach ($attributeSetCollection as $id => $attributeSet) {
|
17 |
+
|
18 |
+
$entityTypeId = $attributeSet->getEntityTypeId();
|
19 |
+
$name = $attributeSet->getAttributeSetName();
|
20 |
+
|
21 |
+
$setup->addAttributeGroup('catalog_product', $name, 'Zikkio', 1000);
|
22 |
+
|
23 |
+
$setup->addAttribute('catalog_product', 'zikkio_asin', array(
|
24 |
+
'group' => 'Zikkio',
|
25 |
+
'type' => 'text',
|
26 |
+
'backend' => '',
|
27 |
+
'label' => 'Zikkio ASIN',
|
28 |
+
'class' => '',
|
29 |
+
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE, //SCOPE_GLOBAL
|
30 |
+
'visible' => true,
|
31 |
+
'required' => false,
|
32 |
+
'user_defined' => true,
|
33 |
+
'searchable' => false,
|
34 |
+
'filterable' => false,
|
35 |
+
'comparable' => false,
|
36 |
+
'visible_on_front' => false,
|
37 |
+
'unique' => false,
|
38 |
+
'apply_to' => 'simple,configurable,bundle,grouped',
|
39 |
+
'is_configurable' => false,
|
40 |
+
'visible_on_front' => 0,
|
41 |
+
'visible_in_advanced_search' => 0,
|
42 |
+
'is_html_allowed_on_front' => 0,
|
43 |
+
));
|
44 |
+
|
45 |
+
$setup->addAttribute('catalog_product', 'zikkio_ean', array(
|
46 |
+
'group' => 'Zikkio',
|
47 |
+
'type' => 'text',
|
48 |
+
'backend' => '',
|
49 |
+
'label' => 'Zikkio EAN',
|
50 |
+
'class' => '',
|
51 |
+
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE, //SCOPE_GLOBAL
|
52 |
+
'visible' => true,
|
53 |
+
'required' => false,
|
54 |
+
'user_defined' => true,
|
55 |
+
'searchable' => false,
|
56 |
+
'filterable' => false,
|
57 |
+
'comparable' => false,
|
58 |
+
'visible_on_front' => false,
|
59 |
+
'unique' => false,
|
60 |
+
'apply_to' => 'simple,configurable,bundle,grouped',
|
61 |
+
'is_configurable' => false,
|
62 |
+
'visible_on_front' => 0,
|
63 |
+
'visible_in_advanced_search' => 0,
|
64 |
+
'is_html_allowed_on_front' => 0,
|
65 |
+
));
|
66 |
+
|
67 |
+
$setup->addAttribute('catalog_product', 'zikkio_msrp', array(
|
68 |
+
'group' => 'Zikkio',
|
69 |
+
'type' => 'text',
|
70 |
+
'backend' => '',
|
71 |
+
'label' => 'Zikkio MSRP',
|
72 |
+
'class' => '',
|
73 |
+
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE, //SCOPE_GLOBAL
|
74 |
+
'visible' => true,
|
75 |
+
'required' => false,
|
76 |
+
'user_defined' => true,
|
77 |
+
'searchable' => false,
|
78 |
+
'filterable' => false,
|
79 |
+
'comparable' => false,
|
80 |
+
'visible_on_front' => false,
|
81 |
+
'unique' => false,
|
82 |
+
'apply_to' => 'simple,configurable,bundle,grouped',
|
83 |
+
'is_configurable' => false,
|
84 |
+
'visible_on_front' => 0,
|
85 |
+
'visible_in_advanced_search' => 0,
|
86 |
+
'is_html_allowed_on_front' => 0,
|
87 |
+
));
|
88 |
+
|
89 |
+
$setup->addAttribute('catalog_product', 'zikkio_retailers_price', array(
|
90 |
+
'group' => 'Zikkio',
|
91 |
+
'type' => 'text',
|
92 |
+
'backend' => '',
|
93 |
+
'label' => 'Zikkio Retailers Price',
|
94 |
+
'class' => '',
|
95 |
+
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE, //SCOPE_GLOBAL
|
96 |
+
'visible' => true,
|
97 |
+
'required' => false,
|
98 |
+
'user_defined' => true,
|
99 |
+
'searchable' => false,
|
100 |
+
'filterable' => false,
|
101 |
+
'comparable' => false,
|
102 |
+
'visible_on_front' => false,
|
103 |
+
'unique' => false,
|
104 |
+
'apply_to' => 'simple,configurable,bundle,grouped',
|
105 |
+
'is_configurable' => false,
|
106 |
+
'visible_on_front' => 0,
|
107 |
+
'visible_in_advanced_search' => 0,
|
108 |
+
'is_html_allowed_on_front' => 0,
|
109 |
+
));
|
110 |
+
|
111 |
+
$setup->addAttribute('catalog_product', 'zikkio_upc', array(
|
112 |
+
'group' => 'Zikkio',
|
113 |
+
'type' => 'text',
|
114 |
+
'backend' => '',
|
115 |
+
'label' => 'Zikkio UPC',
|
116 |
+
'class' => '',
|
117 |
+
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE, //SCOPE_GLOBAL
|
118 |
+
'visible' => true,
|
119 |
+
'required' => false,
|
120 |
+
'user_defined' => true,
|
121 |
+
'searchable' => false,
|
122 |
+
'filterable' => false,
|
123 |
+
'comparable' => false,
|
124 |
+
'visible_on_front' => false,
|
125 |
+
'unique' => false,
|
126 |
+
'apply_to' => 'simple,configurable,bundle,grouped',
|
127 |
+
'is_configurable' => false,
|
128 |
+
'visible_on_front' => 0,
|
129 |
+
'visible_in_advanced_search' => 0,
|
130 |
+
'is_html_allowed_on_front' => 0,
|
131 |
+
));
|
132 |
+
}
|
133 |
+
|
134 |
+
$installer->endSetup();
|
app/code/community/Zikkio/Zikkio/sql/zikkio_setup/mysql4-install-1-0-8.php
DELETED
@@ -1,125 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/*
|
4 |
-
* DELETE FROM `core_resource` WHERE ((`code` = 'zikkio_setup' AND `code` = 'zikkio_setup' COLLATE utf8mb4_bin));
|
5 |
-
*/
|
6 |
-
|
7 |
-
//die('mysql4-install-1-0-5.php');
|
8 |
-
|
9 |
-
$installer = $this;
|
10 |
-
$setup = new Mage_Eav_Model_Entity_Setup('core_setup');
|
11 |
-
|
12 |
-
$installer->startSetup();
|
13 |
-
$setup->addAttributeGroup('catalog_product', 'Default', 'Zikkio', 1000);
|
14 |
-
|
15 |
-
$setup->addAttribute('catalog_product', 'zikkio_asin', array(
|
16 |
-
'group' => 'Zikkio',
|
17 |
-
'type' => 'text',
|
18 |
-
'backend' => '',
|
19 |
-
'label' => 'Zikkio ASIN',
|
20 |
-
'class' => '',
|
21 |
-
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE, //SCOPE_GLOBAL
|
22 |
-
'visible' => true,
|
23 |
-
'required' => false,
|
24 |
-
'user_defined' => true,
|
25 |
-
'searchable' => false,
|
26 |
-
'filterable' => false,
|
27 |
-
'comparable' => false,
|
28 |
-
'visible_on_front' => false,
|
29 |
-
'unique' => false,
|
30 |
-
'apply_to' => 'simple,configurable,bundle,grouped',
|
31 |
-
'is_configurable' => false,
|
32 |
-
'visible_on_front' => 0,
|
33 |
-
'visible_in_advanced_search' => 0,
|
34 |
-
'is_html_allowed_on_front' => 0,
|
35 |
-
));
|
36 |
-
|
37 |
-
$setup->addAttribute('catalog_product', 'zikkio_ean', array(
|
38 |
-
'group' => 'Zikkio',
|
39 |
-
'type' => 'text',
|
40 |
-
'backend' => '',
|
41 |
-
'label' => 'Zikkio EAN',
|
42 |
-
'class' => '',
|
43 |
-
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE, //SCOPE_GLOBAL
|
44 |
-
'visible' => true,
|
45 |
-
'required' => false,
|
46 |
-
'user_defined' => true,
|
47 |
-
'searchable' => false,
|
48 |
-
'filterable' => false,
|
49 |
-
'comparable' => false,
|
50 |
-
'visible_on_front' => false,
|
51 |
-
'unique' => false,
|
52 |
-
'apply_to' => 'simple,configurable,bundle,grouped',
|
53 |
-
'is_configurable' => false,
|
54 |
-
'visible_on_front' => 0,
|
55 |
-
'visible_in_advanced_search' => 0,
|
56 |
-
'is_html_allowed_on_front' => 0,
|
57 |
-
));
|
58 |
-
|
59 |
-
$setup->addAttribute('catalog_product', 'zikkio_msrp', array(
|
60 |
-
'group' => 'Zikkio',
|
61 |
-
'type' => 'text',
|
62 |
-
'backend' => '',
|
63 |
-
'label' => 'Zikkio MSRP',
|
64 |
-
'class' => '',
|
65 |
-
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE, //SCOPE_GLOBAL
|
66 |
-
'visible' => true,
|
67 |
-
'required' => false,
|
68 |
-
'user_defined' => true,
|
69 |
-
'searchable' => false,
|
70 |
-
'filterable' => false,
|
71 |
-
'comparable' => false,
|
72 |
-
'visible_on_front' => false,
|
73 |
-
'unique' => false,
|
74 |
-
'apply_to' => 'simple,configurable,bundle,grouped',
|
75 |
-
'is_configurable' => false,
|
76 |
-
'visible_on_front' => 0,
|
77 |
-
'visible_in_advanced_search' => 0,
|
78 |
-
'is_html_allowed_on_front' => 0,
|
79 |
-
));
|
80 |
-
|
81 |
-
$setup->addAttribute('catalog_product', 'zikkio_retailers_price', array(
|
82 |
-
'group' => 'Zikkio',
|
83 |
-
'type' => 'text',
|
84 |
-
'backend' => '',
|
85 |
-
'label' => 'Zikkio Retailers Price',
|
86 |
-
'class' => '',
|
87 |
-
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE, //SCOPE_GLOBAL
|
88 |
-
'visible' => true,
|
89 |
-
'required' => false,
|
90 |
-
'user_defined' => true,
|
91 |
-
'searchable' => false,
|
92 |
-
'filterable' => false,
|
93 |
-
'comparable' => false,
|
94 |
-
'visible_on_front' => false,
|
95 |
-
'unique' => false,
|
96 |
-
'apply_to' => 'simple,configurable,bundle,grouped',
|
97 |
-
'is_configurable' => false,
|
98 |
-
'visible_on_front' => 0,
|
99 |
-
'visible_in_advanced_search' => 0,
|
100 |
-
'is_html_allowed_on_front' => 0,
|
101 |
-
));
|
102 |
-
|
103 |
-
$setup->addAttribute('catalog_product', 'zikkio_upc', array(
|
104 |
-
'group' => 'Zikkio',
|
105 |
-
'type' => 'text',
|
106 |
-
'backend' => '',
|
107 |
-
'label' => 'Zikkio UPC',
|
108 |
-
'class' => '',
|
109 |
-
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE, //SCOPE_GLOBAL
|
110 |
-
'visible' => true,
|
111 |
-
'required' => false,
|
112 |
-
'user_defined' => true,
|
113 |
-
'searchable' => false,
|
114 |
-
'filterable' => false,
|
115 |
-
'comparable' => false,
|
116 |
-
'visible_on_front' => false,
|
117 |
-
'unique' => false,
|
118 |
-
'apply_to' => 'simple,configurable,bundle,grouped',
|
119 |
-
'is_configurable' => false,
|
120 |
-
'visible_on_front' => 0,
|
121 |
-
'visible_in_advanced_search' => 0,
|
122 |
-
'is_html_allowed_on_front' => 0,
|
123 |
-
));
|
124 |
-
|
125 |
-
$installer->endSetup();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Zikkio/Zikkio/sql/zikkio_setup/mysql4-install-1-0-9.php
ADDED
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
* DELETE FROM `core_resource` WHERE ((`code` = 'zikkio_setup' AND `code` = 'zikkio_setup' COLLATE utf8mb4_bin));
|
5 |
+
*/
|
6 |
+
|
7 |
+
//die('mysql4-install-1-0-9.php');
|
8 |
+
|
9 |
+
$installer = $this;
|
10 |
+
$setup = new Mage_Eav_Model_Entity_Setup('core_setup');
|
11 |
+
|
12 |
+
$installer->startSetup();
|
13 |
+
|
14 |
+
$attributeSetCollection = Mage::getResourceModel('eav/entity_attribute_set_collection')->load();
|
15 |
+
|
16 |
+
foreach ($attributeSetCollection as $id => $attributeSet) {
|
17 |
+
|
18 |
+
$entityTypeId = $attributeSet->getEntityTypeId();
|
19 |
+
$name = $attributeSet->getAttributeSetName();
|
20 |
+
|
21 |
+
$setup->addAttributeGroup('catalog_product', $name, 'Zikkio', 1000);
|
22 |
+
|
23 |
+
$setup->addAttribute('catalog_product', 'zikkio_asin', array(
|
24 |
+
'group' => 'Zikkio',
|
25 |
+
'type' => 'text',
|
26 |
+
'backend' => '',
|
27 |
+
'label' => 'Zikkio ASIN',
|
28 |
+
'class' => '',
|
29 |
+
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE, //SCOPE_GLOBAL
|
30 |
+
'visible' => true,
|
31 |
+
'required' => false,
|
32 |
+
'user_defined' => true,
|
33 |
+
'searchable' => false,
|
34 |
+
'filterable' => false,
|
35 |
+
'comparable' => false,
|
36 |
+
'visible_on_front' => false,
|
37 |
+
'unique' => false,
|
38 |
+
'apply_to' => 'simple,configurable,bundle,grouped',
|
39 |
+
'is_configurable' => false,
|
40 |
+
'visible_on_front' => 0,
|
41 |
+
'visible_in_advanced_search' => 0,
|
42 |
+
'is_html_allowed_on_front' => 0,
|
43 |
+
));
|
44 |
+
|
45 |
+
$setup->addAttribute('catalog_product', 'zikkio_ean', array(
|
46 |
+
'group' => 'Zikkio',
|
47 |
+
'type' => 'text',
|
48 |
+
'backend' => '',
|
49 |
+
'label' => 'Zikkio EAN',
|
50 |
+
'class' => '',
|
51 |
+
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE, //SCOPE_GLOBAL
|
52 |
+
'visible' => true,
|
53 |
+
'required' => false,
|
54 |
+
'user_defined' => true,
|
55 |
+
'searchable' => false,
|
56 |
+
'filterable' => false,
|
57 |
+
'comparable' => false,
|
58 |
+
'visible_on_front' => false,
|
59 |
+
'unique' => false,
|
60 |
+
'apply_to' => 'simple,configurable,bundle,grouped',
|
61 |
+
'is_configurable' => false,
|
62 |
+
'visible_on_front' => 0,
|
63 |
+
'visible_in_advanced_search' => 0,
|
64 |
+
'is_html_allowed_on_front' => 0,
|
65 |
+
));
|
66 |
+
|
67 |
+
$setup->addAttribute('catalog_product', 'zikkio_msrp', array(
|
68 |
+
'group' => 'Zikkio',
|
69 |
+
'type' => 'text',
|
70 |
+
'backend' => '',
|
71 |
+
'label' => 'Zikkio MSRP',
|
72 |
+
'class' => '',
|
73 |
+
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE, //SCOPE_GLOBAL
|
74 |
+
'visible' => true,
|
75 |
+
'required' => false,
|
76 |
+
'user_defined' => true,
|
77 |
+
'searchable' => false,
|
78 |
+
'filterable' => false,
|
79 |
+
'comparable' => false,
|
80 |
+
'visible_on_front' => false,
|
81 |
+
'unique' => false,
|
82 |
+
'apply_to' => 'simple,configurable,bundle,grouped',
|
83 |
+
'is_configurable' => false,
|
84 |
+
'visible_on_front' => 0,
|
85 |
+
'visible_in_advanced_search' => 0,
|
86 |
+
'is_html_allowed_on_front' => 0,
|
87 |
+
));
|
88 |
+
|
89 |
+
$setup->addAttribute('catalog_product', 'zikkio_retailers_price', array(
|
90 |
+
'group' => 'Zikkio',
|
91 |
+
'type' => 'text',
|
92 |
+
'backend' => '',
|
93 |
+
'label' => 'Zikkio Retailers Price',
|
94 |
+
'class' => '',
|
95 |
+
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE, //SCOPE_GLOBAL
|
96 |
+
'visible' => true,
|
97 |
+
'required' => false,
|
98 |
+
'user_defined' => true,
|
99 |
+
'searchable' => false,
|
100 |
+
'filterable' => false,
|
101 |
+
'comparable' => false,
|
102 |
+
'visible_on_front' => false,
|
103 |
+
'unique' => false,
|
104 |
+
'apply_to' => 'simple,configurable,bundle,grouped',
|
105 |
+
'is_configurable' => false,
|
106 |
+
'visible_on_front' => 0,
|
107 |
+
'visible_in_advanced_search' => 0,
|
108 |
+
'is_html_allowed_on_front' => 0,
|
109 |
+
));
|
110 |
+
|
111 |
+
$setup->addAttribute('catalog_product', 'zikkio_upc', array(
|
112 |
+
'group' => 'Zikkio',
|
113 |
+
'type' => 'text',
|
114 |
+
'backend' => '',
|
115 |
+
'label' => 'Zikkio UPC',
|
116 |
+
'class' => '',
|
117 |
+
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE, //SCOPE_GLOBAL
|
118 |
+
'visible' => true,
|
119 |
+
'required' => false,
|
120 |
+
'user_defined' => true,
|
121 |
+
'searchable' => false,
|
122 |
+
'filterable' => false,
|
123 |
+
'comparable' => false,
|
124 |
+
'visible_on_front' => false,
|
125 |
+
'unique' => false,
|
126 |
+
'apply_to' => 'simple,configurable,bundle,grouped',
|
127 |
+
'is_configurable' => false,
|
128 |
+
'visible_on_front' => 0,
|
129 |
+
'visible_in_advanced_search' => 0,
|
130 |
+
'is_html_allowed_on_front' => 0,
|
131 |
+
));
|
132 |
+
}
|
133 |
+
|
134 |
+
$installer->endSetup();
|
bridge2cart/bridge.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*-----------------------------------------------------------------------------+
|
3 |
| MagneticOne |
|
4 |
| Copyright (c) 2012 MagneticOne.com <contact@magneticone.com> |
|
5 |
-
| All rights reserved
|
6 |
+------------------------------------------------------------------------------+
|
7 |
| PLEASE READ THE FULL TEXT OF SOFTWARE LICENSE AGREEMENT IN THE "license.txt"|
|
8 |
| FILE PROVIDED WITH THIS DISTRIBUTION. THE AGREEMENT TEXT IS ALSO AVAILABLE |
|
2 |
/*-----------------------------------------------------------------------------+
|
3 |
| MagneticOne |
|
4 |
| Copyright (c) 2012 MagneticOne.com <contact@magneticone.com> |
|
5 |
+
| All rights reserved |
|
6 |
+------------------------------------------------------------------------------+
|
7 |
| PLEASE READ THE FULL TEXT OF SOFTWARE LICENSE AGREEMENT IN THE "license.txt"|
|
8 |
| FILE PROVIDED WITH THIS DISTRIBUTION. THE AGREEMENT TEXT IS ALSO AVAILABLE |
|
bridge2cart/config.php
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<?php define("M1_TOKEN", "7704da1581ddebce0eeb358f69421ceb");
|
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Zikkio</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Import millions of products with a click and start trading with the power of drop-shipping.</summary>
|
10 |
<description>Zikkio module is the connector between your Magento and Zikkio service. With Zikkio module active you can import/export orders and products to Zikkio.</description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>Zikkio</name><user>Zikkio</user><email>account@zikkio.com</email></author></authors>
|
13 |
-
<date>2016-10-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Zikkio"><dir name="Zikkio"><dir name="Helper"><file name="Data.php" hash="c0ed36a46c1298365d1ad17e548b5aaf"/></dir><dir name="Model"><file name="Data.php" hash="d98c6fb54881cca19d8a6d46beb39781"/><file name="Observer.php" hash="
|
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>Zikkio</name>
|
4 |
+
<version>1.0.9</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Import millions of products with a click and start trading with the power of drop-shipping.</summary>
|
10 |
<description>Zikkio module is the connector between your Magento and Zikkio service. With Zikkio module active you can import/export orders and products to Zikkio.</description>
|
11 |
+
<notes>Sql cleaning process added.</notes>
|
12 |
<authors><author><name>Zikkio</name><user>Zikkio</user><email>account@zikkio.com</email></author></authors>
|
13 |
+
<date>2016-10-28</date>
|
14 |
+
<time>16:41:10</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Zikkio"><dir name="Zikkio"><dir name="Helper"><file name="Data.php" hash="c0ed36a46c1298365d1ad17e548b5aaf"/></dir><dir name="Model"><file name="Data.php" hash="d98c6fb54881cca19d8a6d46beb39781"/><file name="Observer.php" hash="acb0c849ffe77bb9aef12f6b45c1d027"/><file name="Options.php" hash="5da5644b3f2707fee327d333fc6c6326"/><dir name="Resource"><file name="Setup.php" hash="2708a24475b41a0721cb396c5bff43bc"/></dir></dir><dir name="etc"><file name="config.xml" hash="d8f70bf0c240f6e2a20425453bab4172"/><file name="system.xml" hash="86bc7ee1d4ba4b7053bdaf941274791f"/></dir><dir name="sql"><dir name="zikkio_setup"><file name="mysql4-install-1-0-5.php" hash="ad446f4cf7fda786b6510d6d999e3efc"/><file name="mysql4-install-1-0-9.php" hash="ad446f4cf7fda786b6510d6d999e3efc"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Zikkio_Zikkio.xml" hash="19ddad4db1d8e52f39f58148d5c61372"/></dir></target><target name="mage"><dir name="bridge2cart"><file name="bridge.php" hash="84b71a49ce41efa85a2872f824c6b171"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|