addwish - Version 0.7.0

Version Notes

Get addwish on your site and we'll show your products on ours!

addwish is a wish list that lets users share the products they want with people who want to buy them. But unlike other wish lists, with addwish your products also appear as inspiration in searches for similar products on addwish.com. If addwish users select your product for their list, their family and friends are automatically directed to your web shop where they can make the purchase.


  • Easy to install and maintenance free

  • Increases traffic to your shop

  • High conversion rates

Download this release

Release Info

Developer addwish
Extension addwish
Version 0.7.0
Comparing to
See all releases


Code changes from version 0.6.0 to 0.7.0

Files changed (47) hide show
  1. app/code/local/Addwish/Awext/Block/Adminhtml/Awext.php +12 -0
  2. app/code/local/Addwish/{Integrator/Block/Adminhtml/Integrator → Awext/Block/Adminhtml/Awext}/Grid.php +50 -50
  3. app/code/local/Addwish/Awext/Block/Adminhtml/Awext/Renderer.php +4 -0
  4. app/code/local/Addwish/Awext/Block/Adminhtml/Awext/View.php +12 -0
  5. app/code/local/Addwish/Awext/Block/Adminhtml/Awext/View/Tab/Details.php +7 -0
  6. app/code/local/Addwish/Awext/Block/Adminhtml/Awext/View/Tab/Details/List.php +20 -0
  7. app/code/local/Addwish/{Integrator/Block/Adminhtml/Integrator → Awext/Block/Adminhtml/Awext}/View/Tab/Form.php +1 -1
  8. app/code/local/Addwish/Awext/Block/Adminhtml/Awext/View/Tab/Recommend.php +7 -0
  9. app/code/local/Addwish/Awext/Block/Adminhtml/Awext/View/Tab/Recommend/List.php +20 -0
  10. app/code/local/Addwish/Awext/Block/Adminhtml/Awext/View/Tab/Search.php +7 -0
  11. app/code/local/Addwish/Awext/Block/Adminhtml/Awext/View/Tab/Search/List.php +20 -0
  12. app/code/local/Addwish/Awext/Block/Adminhtml/Awext/View/Tabs.php +40 -0
  13. app/code/local/Addwish/{Integrator/Block/Integrator.php → Awext/Block/Awext.php} +7 -7
  14. app/code/local/Addwish/Awext/Helper/Data.php +6 -0
  15. app/code/local/Addwish/Awext/Model/Awext.php +10 -0
  16. app/code/local/Addwish/Awext/Model/Mysql4/Awext.php +9 -0
  17. app/code/local/Addwish/Awext/Model/Mysql4/Awext/Collection.php +10 -0
  18. app/code/local/Addwish/{Integrator → Awext}/Model/Observer.php +9 -7
  19. app/code/local/Addwish/{Integrator/controllers/Adminhtml/IntegratorController.php → Awext/controllers/Adminhtml/AwextController.php} +7 -7
  20. app/code/local/Addwish/{Integrator → Awext}/controllers/IndexController.php +29 -4
  21. app/code/local/Addwish/{Integrator → Awext}/etc/config.xml +49 -49
  22. app/code/local/Addwish/{Integrator → Awext}/sql/addwish_setup/mysql4-install-0.0.4.php +2 -2
  23. app/code/local/Addwish/Integrator/Block/Adminhtml/Integrator.php +0 -12
  24. app/code/local/Addwish/Integrator/Block/Adminhtml/Integrator/Renderer.php +0 -4
  25. app/code/local/Addwish/Integrator/Block/Adminhtml/Integrator/View.php +0 -12
  26. app/code/local/Addwish/Integrator/Block/Adminhtml/Integrator/View/Tab/Details.php +0 -7
  27. app/code/local/Addwish/Integrator/Block/Adminhtml/Integrator/View/Tab/Details/List.php +0 -20
  28. app/code/local/Addwish/Integrator/Block/Adminhtml/Integrator/View/Tab/Recommend.php +0 -7
  29. app/code/local/Addwish/Integrator/Block/Adminhtml/Integrator/View/Tab/Recommend/List.php +0 -20
  30. app/code/local/Addwish/Integrator/Block/Adminhtml/Integrator/View/Tab/Search.php +0 -7
  31. app/code/local/Addwish/Integrator/Block/Adminhtml/Integrator/View/Tab/Search/List.php +0 -20
  32. app/code/local/Addwish/Integrator/Block/Adminhtml/Integrator/View/Tabs.php +0 -40
  33. app/code/local/Addwish/Integrator/Helper/Data.php +0 -6
  34. app/code/local/Addwish/Integrator/Model/Integrator.php +0 -10
  35. app/code/local/Addwish/Integrator/Model/Mysql4/Integrator.php +0 -9
  36. app/code/local/Addwish/Integrator/Model/Mysql4/Integrator/Collection.php +0 -10
  37. app/design/adminhtml/default/default/layout/{integrator.xml → awext.xml} +8 -8
  38. app/design/adminhtml/default/default/template/{integrator/integrator → awext}/list.phtml +4 -4
  39. app/design/adminhtml/default/default/template/{integrator → awext}/recommendations.phtml +2 -2
  40. app/design/adminhtml/default/default/template/{integrator → awext}/search.phtml +0 -0
  41. app/design/frontend/base/default/layout/awext.xml +42 -0
  42. app/design/frontend/base/default/layout/integrator.xml +0 -37
  43. app/design/frontend/base/default/template/addwish/integrator.phtml +16 -16
  44. app/design/frontend/base/default/template/addwish/product-span.phtml +3 -2
  45. app/design/frontend/base/default/template/addwish/upsells-page.phtml +4 -4
  46. app/etc/modules/{Addwish_Integrator.xml → Addwish_Awext.xml} +11 -11
  47. package.xml +5 -5
app/code/local/Addwish/Awext/Block/Adminhtml/Awext.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Addwish_Awext_Block_Adminhtml_Awext extends Mage_Adminhtml_Block_Widget_Grid_Container
3
+ {
4
+ public function __construct()
5
+ {
6
+ $this->_controller = 'adminhtml_awext';
7
+ $this->_blockGroup = 'awext';
8
+ $this->_headerText = Mage::helper('awext')->__('AddWish');
9
+ $this->_addButtonLabel = Mage::helper('awext')->__('AddWish');
10
+ parent::__construct();
11
+ }
12
+ }
app/code/local/Addwish/{Integrator/Block/Adminhtml/Integrator → Awext/Block/Adminhtml/Awext}/Grid.php RENAMED
@@ -1,51 +1,51 @@
1
- <?php
2
-
3
- class Addwish_Integrator_Block_Adminhtml_Integrator_Grid extends Mage_Adminhtml_Block_Widget_Grid
4
- {
5
- public function __construct()
6
- {
7
- parent::__construct();
8
- $this->setId('integratorGrid');
9
- $this->setDefaultSort('id');
10
- $this->setDefaultDir('ASC');
11
- $this->setSaveParametersInSession(true);
12
- }
13
-
14
- protected function _prepareCollection()
15
- {
16
- $collection = Mage::getModel('integrator/integrator')->getCollection();
17
- $this->setCollection($collection);
18
- return parent::_prepareCollection();
19
- }
20
-
21
- protected function _prepareColumns()
22
- {
23
- $this->addColumn('id', array(
24
- 'header' => Mage::helper('integrator')->__('ID'),
25
- 'align' =>'right',
26
- 'width' => '50px',
27
- 'index' => 'id',
28
- ));
29
-
30
- $this->addColumn('email', array(
31
- 'header' => Mage::helper('integrator')->__('Email ID'),
32
- 'align' => 'left',
33
- 'index' => 'email',
34
- ));
35
-
36
- return parent::_prepareColumns();
37
- }
38
-
39
- protected function _prepareMassaction()
40
- {
41
- $this->setMassactionIdField('id');
42
- $this->getMassactionBlock()->setFormFieldName('integrator');
43
- return $this;
44
- }
45
-
46
- public function getRowUrl($row)
47
- {
48
- return $this->getUrl('*/*/edit', array('id' => $row->getId()));
49
- }
50
-
51
  }
1
+ <?php
2
+
3
+ class Addwish_Awext_Block_Adminhtml_Awext_Grid extends Mage_Adminhtml_Block_Widget_Grid
4
+ {
5
+ public function __construct()
6
+ {
7
+ parent::__construct();
8
+ $this->setId('awextGrid');
9
+ $this->setDefaultSort('id');
10
+ $this->setDefaultDir('ASC');
11
+ $this->setSaveParametersInSession(true);
12
+ }
13
+
14
+ protected function _prepareCollection()
15
+ {
16
+ $collection = Mage::getModel('awext/awext')->getCollection();
17
+ $this->setCollection($collection);
18
+ return parent::_prepareCollection();
19
+ }
20
+
21
+ protected function _prepareColumns()
22
+ {
23
+ $this->addColumn('id', array(
24
+ 'header' => Mage::helper('awext')->__('ID'),
25
+ 'align' =>'right',
26
+ 'width' => '50px',
27
+ 'index' => 'id',
28
+ ));
29
+
30
+ $this->addColumn('email', array(
31
+ 'header' => Mage::helper('awext')->__('Email ID'),
32
+ 'align' => 'left',
33
+ 'index' => 'email',
34
+ ));
35
+
36
+ return parent::_prepareColumns();
37
+ }
38
+
39
+ protected function _prepareMassaction()
40
+ {
41
+ $this->setMassactionIdField('id');
42
+ $this->getMassactionBlock()->setFormFieldName('awext');
43
+ return $this;
44
+ }
45
+
46
+ public function getRowUrl($row)
47
+ {
48
+ return $this->getUrl('*/*/edit', array('id' => $row->getId()));
49
+ }
50
+
51
  }
app/code/local/Addwish/Awext/Block/Adminhtml/Awext/Renderer.php ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <?php
2
+ class Addwish_Awext_Block_Adminhtml_Awext_Renderer extends Mage_Adminhtml_Block_Widget_Form_Container
3
+ {
4
+ }
app/code/local/Addwish/Awext/Block/Adminhtml/Awext/View.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Addwish_Awext_Block_Adminhtml_Awext_View extends Mage_Adminhtml_Block_Widget_Form_Container
3
+ {
4
+ public function __construct()
5
+ {
6
+
7
+ }
8
+ public function getHeaderText()
9
+ {
10
+ return Mage::helper('awext')->__("addwish");
11
+ }
12
+ }
app/code/local/Addwish/Awext/Block/Adminhtml/Awext/View/Tab/Details.php ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?php
2
+ class Addwish_Awext_Block_Adminhtml_Awext_View_Tab_Details extends Mage_Adminhtml_Block_Text_List
3
+ {
4
+
5
+
6
+
7
+ }
app/code/local/Addwish/Awext/Block/Adminhtml/Awext/View/Tab/Details/List.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Addwish_Awext_Block_Adminhtml_Awext_View_Tab_Details_List extends Mage_Adminhtml_Block_Template
3
+ {
4
+ public function __construct()
5
+ {
6
+ $this->setTemplate('awext/list.phtml');
7
+ }
8
+
9
+ protected function _toHtml()
10
+ {
11
+ $awextCollection = Mage::getModel('awext/awext')->getCollection();
12
+ $this->assign('awextCollection', $awextCollection->getData());
13
+ return parent::_toHtml();
14
+ }
15
+
16
+ protected function _prepareLayout()
17
+ {
18
+ return parent::_prepareLayout();
19
+ }
20
+ }
app/code/local/Addwish/{Integrator/Block/Adminhtml/Integrator → Awext/Block/Adminhtml/Awext}/View/Tab/Form.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- class Addwish_Integrator_Block_Adminhtml_Integrator_View_Tab_Form extends Mage_Adminhtml_Block_Widget_Form
4
  {
5
  protected function _prepareForm()
6
  {
1
  <?php
2
 
3
+ class Addwish_Awext_Block_Adminhtml_Awext_View_Tab_Form extends Mage_Adminhtml_Block_Widget_Form
4
  {
5
  protected function _prepareForm()
6
  {
app/code/local/Addwish/Awext/Block/Adminhtml/Awext/View/Tab/Recommend.php ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?php
2
+ class Addwish_Awext_Block_Adminhtml_Awext_View_Tab_Recommend extends Mage_Adminhtml_Block_Text_List
3
+ {
4
+
5
+
6
+
7
+ }
app/code/local/Addwish/Awext/Block/Adminhtml/Awext/View/Tab/Recommend/List.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Addwish_Awext_Block_Adminhtml_Awext_View_Tab_Recommend_List extends Mage_Adminhtml_Block_Template
3
+ {
4
+ public function __construct()
5
+ {
6
+ $this->setTemplate('awext/recommendations.phtml');
7
+ }
8
+
9
+ protected function _toHtml()
10
+ {
11
+ $awextCollection = Mage::getModel('awext/awext')->getCollection();
12
+ $this->assign('awextCollection', $awextCollection->getData());
13
+ return parent::_toHtml();
14
+ }
15
+
16
+ protected function _prepareLayout()
17
+ {
18
+ return parent::_prepareLayout();
19
+ }
20
+ }
app/code/local/Addwish/Awext/Block/Adminhtml/Awext/View/Tab/Search.php ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?php
2
+ class Addwish_Awext_Block_Adminhtml_Awext_View_Tab_Search extends Mage_Adminhtml_Block_Text_List
3
+ {
4
+
5
+
6
+
7
+ }
app/code/local/Addwish/Awext/Block/Adminhtml/Awext/View/Tab/Search/List.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Addwish_Awext_Block_Adminhtml_Awext_View_Tab_Search_List extends Mage_Adminhtml_Block_Template
3
+ {
4
+ public function __construct()
5
+ {
6
+ $this->setTemplate('awext/search.phtml');
7
+ }
8
+
9
+ protected function _toHtml()
10
+ {
11
+ $awextCollection = Mage::getModel('awext/awext')->getCollection();
12
+ $this->assign('awextCollection', $awextCollection->getData());
13
+ return parent::_toHtml();
14
+ }
15
+
16
+ protected function _prepareLayout()
17
+ {
18
+ return parent::_prepareLayout();
19
+ }
20
+ }
app/code/local/Addwish/Awext/Block/Adminhtml/Awext/View/Tabs.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Addwish_Awext_Block_Adminhtml_Awext_View_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
4
+ {
5
+
6
+ public function __construct()
7
+ {
8
+ parent::__construct();
9
+ $this->setId('awext_tabs');
10
+ $this->setTitle(Mage::helper('awext')->__('addwish Settings'));
11
+ }
12
+
13
+ protected function _beforeToHtml()
14
+ {
15
+ $this->addTab('details_section', array(
16
+ 'label' => Mage::helper('awext')->__('Setup'),
17
+ 'title' => Mage::helper('awext')->__('Setup'),
18
+ 'content' => $this->getLayout()->createBlock('awext/adminhtml_awext_view_tab_details_list')
19
+ ->toHtml(),
20
+ 'active' => ( $this->getRequest()->getParam('tab') == 'details_section' ) ? true : false,
21
+ ));
22
+
23
+ $this->addTab('recommendation_section', array(
24
+ 'label' => Mage::helper('awext')->__('Recommendations'),
25
+ 'title' => Mage::helper('awext')->__('Recommendations'),
26
+ 'content' => $this->getLayout()->createBlock('awext/adminhtml_awext_view_tab_recommend_list')
27
+ ->toHtml(),
28
+ 'active' => ( $this->getRequest()->getParam('tab') == 'recommendation_section' ) ? true : false,
29
+ ));
30
+
31
+ $this->addTab('search_section', array(
32
+ 'label' => Mage::helper('awext')->__('Search'),
33
+ 'title' => Mage::helper('awext')->__('Search'),
34
+ 'content' => $this->getLayout()->createBlock('awext/adminhtml_awext_view_tab_search_list')
35
+ ->toHtml(),
36
+ 'active' => ( $this->getRequest()->getParam('tab') == 'search_section' ) ? true : false,
37
+ ));
38
+ return parent::_beforeToHtml();
39
+ }
40
+ }
app/code/local/Addwish/{Integrator/Block/Integrator.php → Awext/Block/Awext.php} RENAMED
@@ -1,8 +1,8 @@
1
- <?php
2
- class Addwish_Integrator_Block_Integrator extends Mage_Core_Block_Template
3
- {
4
- public function _prepareLayout()
5
- {
6
- return parent::_prepareLayout();
7
- }
8
  }
1
+ <?php
2
+ class Addwish_Awext_Block_Awext extends Mage_Core_Block_Template
3
+ {
4
+ public function _prepareLayout()
5
+ {
6
+ return parent::_prepareLayout();
7
+ }
8
  }
app/code/local/Addwish/Awext/Helper/Data.php ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Addwish_Awext_Helper_Data extends Mage_Core_Helper_Abstract
4
+ {
5
+
6
+ }
app/code/local/Addwish/Awext/Model/Awext.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Addwish_Awext_Model_Awext extends Mage_Core_Model_Abstract
4
+ {
5
+ public function _construct()
6
+ {
7
+ parent::_construct();
8
+ $this->_init('awext/awext');
9
+ }
10
+ }
app/code/local/Addwish/Awext/Model/Mysql4/Awext.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Addwish_Awext_Model_Mysql4_Awext extends Mage_Core_Model_Mysql4_Abstract
4
+ {
5
+ public function _construct()
6
+ {
7
+ $this->_init('awext/awext', 'id');
8
+ }
9
+ }
app/code/local/Addwish/Awext/Model/Mysql4/Awext/Collection.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Addwish_Awext_Model_Mysql4_Awext_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
4
+ {
5
+ public function _construct()
6
+ {
7
+ parent::_construct();
8
+ $this->_init('awext/awext');
9
+ }
10
+ }
app/code/local/Addwish/{Integrator → Awext}/Model/Observer.php RENAMED
@@ -1,18 +1,20 @@
1
  <?php
2
- class Addwish_Integrator_Model_Observer
3
  {
4
 
5
  public function inspectCartAddData($observer=null){
6
- $model = Mage::getModel('integrator/integrator')->load(1);
7
  if($model->getData('enableUpsells')==1){
8
- $url = Mage::getUrl('integrator/index/upsells');
 
 
9
  Mage::getSingleton('core/session')->addSuccess('Product Added to Cart!');
10
- Mage::app()->getFrontController()->getResponse()->setRedirect($url);
11
- Mage::app()->getResponse()->sendResponse();
12
- exit;
13
- exit;
14
  }
15
  }
 
16
  public function customerRegisterData($observer=null){
17
  $event = $observer->getEvent();
18
  $customer = $event->getCustomer();
1
  <?php
2
+ class Addwish_Awext_Model_Observer
3
  {
4
 
5
  public function inspectCartAddData($observer=null){
6
+ $model = Mage::getModel('awext/awext')->load(1);
7
  if($model->getData('enableUpsells')==1){
8
+ $request = $observer->getEvent()->getRequest();
9
+
10
+ $url = Mage::getUrl('awext/index/upsells');
11
  Mage::getSingleton('core/session')->addSuccess('Product Added to Cart!');
12
+ $request->setParam('return_url',$url);
13
+ }else{
14
+ return;
 
15
  }
16
  }
17
+
18
  public function customerRegisterData($observer=null){
19
  $event = $observer->getEvent();
20
  $customer = $event->getCustomer();
app/code/local/Addwish/{Integrator/controllers/Adminhtml/IntegratorController.php → Awext/controllers/Adminhtml/AwextController.php} RENAMED
@@ -1,11 +1,11 @@
1
  <?php
2
 
3
- class Addwish_Integrator_Adminhtml_IntegratorController extends Mage_Adminhtml_Controller_action
4
  {
5
 
6
  protected function _initAction() {
7
  $this->loadLayout()
8
- ->_setActiveMenu('integrator/integrator')
9
  ->_addBreadcrumb(Mage::helper('adminhtml')->__('AddWish Settings'), Mage::helper('adminhtml')->__('AddWish Settings'));
10
  return $this;
11
  }
@@ -13,7 +13,7 @@ class Addwish_Integrator_Adminhtml_IntegratorController extends Mage_Adminhtml_C
13
  $this->_initAction()
14
  ->renderLayout();
15
  }
16
- protected function _integratorModule($moduleName) {
17
  // Disable the module itself
18
  $nodePath = "modules/$moduleName/active";
19
  if (Mage::helper('core/data')->isModuleEnabled($moduleName)) {
@@ -29,7 +29,7 @@ class Addwish_Integrator_Adminhtml_IntegratorController extends Mage_Adminhtml_C
29
  public function viewAction(){
30
  $this->loadLayout();
31
  $this->_initLayoutMessages('core/session');
32
- $this->_setActiveMenu('integrator/integrator');
33
  $this->_addBreadcrumb(Mage::helper('adminhtml')->__('AddWish'), Mage::helper('adminhtml')->__('AddWish'));
34
  $this->_addBreadcrumb(Mage::helper('adminhtml')->__('AddWish'), Mage::helper('adminhtml')->__('AddWish'));
35
 
@@ -61,7 +61,7 @@ class Addwish_Integrator_Adminhtml_IntegratorController extends Mage_Adminhtml_C
61
  }
62
  break;
63
  }
64
- $model = Mage::getModel('integrator/integrator');
65
  $model->setData($k)
66
  ->setId(1);
67
 
@@ -73,8 +73,8 @@ class Addwish_Integrator_Adminhtml_IntegratorController extends Mage_Adminhtml_C
73
  exit;
74
  }
75
  }
76
- $this->_addContent($this->getLayout()->createBlock('integrator/adminhtml_integrator_view'))
77
- ->_addLeft($this->getLayout()->createBlock('integrator/adminhtml_integrator_view_tabs'));
78
  $this->renderLayout();
79
  }
80
  public function editAction() {
1
  <?php
2
 
3
+ class Addwish_Awext_Adminhtml_AwextController extends Mage_Adminhtml_Controller_action
4
  {
5
 
6
  protected function _initAction() {
7
  $this->loadLayout()
8
+ ->_setActiveMenu('awext/awext')
9
  ->_addBreadcrumb(Mage::helper('adminhtml')->__('AddWish Settings'), Mage::helper('adminhtml')->__('AddWish Settings'));
10
  return $this;
11
  }
13
  $this->_initAction()
14
  ->renderLayout();
15
  }
16
+ protected function _awextModule($moduleName) {
17
  // Disable the module itself
18
  $nodePath = "modules/$moduleName/active";
19
  if (Mage::helper('core/data')->isModuleEnabled($moduleName)) {
29
  public function viewAction(){
30
  $this->loadLayout();
31
  $this->_initLayoutMessages('core/session');
32
+ $this->_setActiveMenu('awext/awext');
33
  $this->_addBreadcrumb(Mage::helper('adminhtml')->__('AddWish'), Mage::helper('adminhtml')->__('AddWish'));
34
  $this->_addBreadcrumb(Mage::helper('adminhtml')->__('AddWish'), Mage::helper('adminhtml')->__('AddWish'));
35
 
61
  }
62
  break;
63
  }
64
+ $model = Mage::getModel('awext/awext');
65
  $model->setData($k)
66
  ->setId(1);
67
 
73
  exit;
74
  }
75
  }
76
+ $this->_addContent($this->getLayout()->createBlock('awext/adminhtml_awext_view'))
77
+ ->_addLeft($this->getLayout()->createBlock('awext/adminhtml_awext_view_tabs'));
78
  $this->renderLayout();
79
  }
80
  public function editAction() {
app/code/local/Addwish/{Integrator → Awext}/controllers/IndexController.php RENAMED
@@ -1,5 +1,5 @@
1
  <?php
2
- class Addwish_Integrator_IndexController extends Mage_Core_Controller_Front_Action
3
  {
4
  public function searchAction(){
5
  $this->loadLayout();
@@ -10,7 +10,7 @@ class Addwish_Integrator_IndexController extends Mage_Core_Controller_Front_Acti
10
  $this->renderLayout();
11
  }
12
  public function orderListAction(){
13
- $model = Mage::getModel('integrator/integrator')->load(1);
14
  if($model->getData('ipaddress')!=''){
15
  $allowedIps=explode(",",$model->getData('ipaddress'));
16
  $ipaddress = '';
@@ -38,6 +38,7 @@ class Addwish_Integrator_IndexController extends Mage_Core_Controller_Front_Acti
38
  echo "Access Denied";
39
  exit;
40
  }
 
41
  $exportFromDate=$this->getRequest()->getParam('exportFromDate');
42
  $exportToDate=$this->getRequest()->getParam('exportToDate');
43
  $fromDate = date('Y-m-d H:i:s', strtotime($exportFromDate));
@@ -66,11 +67,33 @@ class Addwish_Integrator_IndexController extends Mage_Core_Controller_Front_Acti
66
  }
67
  public function indexAction()
68
  {
69
- $model = Mage::getModel('integrator/integrator')->load(1);
70
  if($model->getData('enable_product_feed')==0){
71
  echo "Access Denied";
72
  exit;
73
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  header("Content-type: text/xml");
75
  $products_out='<?xml version="1.0" encoding="UTF-8"?><products>';
76
  $products = Mage::getModel('catalog/product')->getCollection()->addAttributeToFilter('visibility', 4);
@@ -122,7 +145,9 @@ $model = Mage::getModel('integrator/integrator')->load(1);
122
  }
123
 
124
  if($product->getData('gender')){
125
- $products_out.= "<gender>".$product->getData('gender')."</gender>";
 
 
126
  }
127
  if($product->getData('pricedetail')){
128
  $products_out.= "<pricedetail>".$product->getData('pricedetail')."</pricedetail>";
1
  <?php
2
+ class Addwish_Awext_IndexController extends Mage_Core_Controller_Front_Action
3
  {
4
  public function searchAction(){
5
  $this->loadLayout();
10
  $this->renderLayout();
11
  }
12
  public function orderListAction(){
13
+ $model = Mage::getModel('awext/awext')->load(1);
14
  if($model->getData('ipaddress')!=''){
15
  $allowedIps=explode(",",$model->getData('ipaddress'));
16
  $ipaddress = '';
38
  echo "Access Denied";
39
  exit;
40
  }
41
+
42
  $exportFromDate=$this->getRequest()->getParam('exportFromDate');
43
  $exportToDate=$this->getRequest()->getParam('exportToDate');
44
  $fromDate = date('Y-m-d H:i:s', strtotime($exportFromDate));
67
  }
68
  public function indexAction()
69
  {
70
+ $model = Mage::getModel('awext/awext')->load(1);
71
  if($model->getData('enable_product_feed')==0){
72
  echo "Access Denied";
73
  exit;
74
  }
75
+ if($model->getData('ipaddress')!=''){
76
+ $allowedIps=explode(",",$model->getData('ipaddress'));
77
+ $ipaddress = '';
78
+ if ($_SERVER['HTTP_CLIENT_IP'])
79
+ $ipaddress = $_SERVER['HTTP_CLIENT_IP'];
80
+ else if($_SERVER['HTTP_X_FORWARDED_FOR'])
81
+ $ipaddress = $_SERVER['HTTP_X_FORWARDED_FOR'];
82
+ else if($_SERVER['HTTP_X_FORWARDED'])
83
+ $ipaddress = $_SERVER['HTTP_X_FORWARDED'];
84
+ else if($_SERVER['HTTP_FORWARDED_FOR'])
85
+ $ipaddress = $_SERVER['HTTP_FORWARDED_FOR'];
86
+ else if($_SERVER['HTTP_FORWARDED'])
87
+ $ipaddress = $_SERVER['HTTP_FORWARDED'];
88
+ else if($_SERVER['REMOTE_ADDR'])
89
+ $ipaddress = $_SERVER['REMOTE_ADDR'];
90
+ else
91
+ $ipaddress = 'UNKNOWN';
92
+ if(!in_array($ipaddress,$allowedIps)){
93
+ echo "Access Denied";
94
+ exit;
95
+ }
96
+ }
97
  header("Content-type: text/xml");
98
  $products_out='<?xml version="1.0" encoding="UTF-8"?><products>';
99
  $products = Mage::getModel('catalog/product')->getCollection()->addAttributeToFilter('visibility', 4);
145
  }
146
 
147
  if($product->getData('gender')){
148
+ $attr = $product->getResource()->getAttribute("gender");
149
+ $genderLabel = $attr->getSource()->getOptionText($product->getData('gender'));
150
+ $products_out.= "<gender>".$genderLabel."</gender>";
151
  }
152
  if($product->getData('pricedetail')){
153
  $products_out.= "<pricedetail>".$product->getData('pricedetail')."</pricedetail>";
app/code/local/Addwish/{Integrator → Awext}/etc/config.xml RENAMED
@@ -1,19 +1,20 @@
1
  <?xml version="1.0"?>
2
  <config>
3
  <modules>
4
- <Addwish_Integrator>
5
  <version>0.2.0</version>
6
- </Addwish_Integrator>
7
  </modules>
8
 
9
  <frontend>
10
 
11
 
12
  <events>
 
13
  <sales_quote_address_save_after>
14
  <observers>
15
  <getbillingData>
16
- <class>Addwish_Integrator_Model_Observer</class>
17
  <method>getbillingData</method>
18
  </getbillingData>
19
  </observers>
@@ -21,7 +22,7 @@
21
  <controller_action_layout_load_before>
22
  <observers>
23
  <addwishHeader>
24
- <class>Addwish_Integrator_Model_Observer</class>
25
  <method>addwishHeader</method>
26
  </addwishHeader>
27
  </observers>
@@ -29,7 +30,7 @@
29
  <customer_register_success>
30
  <observers>
31
  <inspectCartAddData>
32
- <class>Addwish_Integrator_Model_Observer</class>
33
  <method>customerRegisterData</method>
34
  </inspectCartAddData>
35
  </observers>
@@ -37,57 +38,56 @@
37
  <checkout_cart_add_product_complete>
38
  <observers>
39
  <inspectCartAddData>
40
- <class>Addwish_Integrator_Model_Observer</class>
41
  <method>inspectCartAddData</method>
42
  </inspectCartAddData>
43
  </observers>
44
  </checkout_cart_add_product_complete>
45
  </events>
46
  <routers>
47
- <integrator>
48
  <use>standard</use>
49
  <args>
50
- <module>Addwish_Integrator</module>
51
- <frontName>integrator</frontName>
52
  </args>
53
- </integrator>
54
  </routers>
55
  <layout>
56
  <updates>
57
- <integrator>
58
- <file>integrator.xml</file>
59
- </integrator>
60
  </updates>
61
  </layout>
62
  </frontend>
63
  <admin>
64
- <routers>
65
-
66
- <adminhtml>
67
- <args>
68
- <modules>
69
- <integrator after="Mage_Adminhtml">Integrator_Adminhtml</integrator>
70
- </modules>
71
- </args>
72
- </adminhtml>
73
 
74
-
 
 
 
 
 
 
 
75
  </routers>
76
  </admin>
77
  <adminhtml>
 
78
  <menu>
79
 
80
- <integrator module="integrator">
81
  <title>addwish</title>
82
  <sort_order>1</sort_order>
83
  <children>
84
- <items module="integrator">
85
  <title>addwish Configuration</title>
86
  <sort_order>0</sort_order>
87
- <action>integrator/adminhtml_integrator/view</action>
88
  </items>
89
  </children>
90
- </integrator>
91
  </menu>
92
  <acl>
93
  <resources>
@@ -96,42 +96,42 @@
96
  </all>
97
  <admin>
98
  <children>
99
- <Addwish_Integrator>
100
- <title>Integrator Module</title>
101
  <sort_order>10</sort_order>
102
- </Addwish_Integrator>
103
  </children>
104
  </admin>
105
  </resources>
106
  </acl>
107
  <layout>
108
  <updates>
109
- <integrator>
110
- <file>integrator.xml</file>
111
- </integrator>
112
  </updates>
113
  </layout>
114
  </adminhtml>
115
 
116
  <global>
117
  <models>
118
- <integrator>
119
- <class>Addwish_Integrator_Model</class>
120
- <resourceModel>integrator_mysql4</resourceModel>
121
- </integrator>
122
- <integrator_mysql4>
123
- <class>Addwish_Integrator_Model_Mysql4</class>
124
  <entities>
125
- <integrator>
126
  <table>addwish</table>
127
- </integrator>
128
  </entities>
129
- </integrator_mysql4>
130
  </models>
131
  <resources>
132
  <addwish_setup>
133
  <setup>
134
- <module>Addwish_Integrator</module>
135
  </setup>
136
  <connection>
137
  <use>core_setup</use>
@@ -149,14 +149,14 @@
149
  </addwish_read>
150
  </resources>
151
  <blocks>
152
- <integrator>
153
- <class>Addwish_Integrator_Block</class>
154
- </integrator>
155
  </blocks>
156
  <helpers>
157
- <integrator>
158
- <class>Addwish_Integrator_Helper</class>
159
- </integrator>
160
  </helpers>
161
  </global>
162
  </config>
1
  <?xml version="1.0"?>
2
  <config>
3
  <modules>
4
+ <Addwish_Awext>
5
  <version>0.2.0</version>
6
+ </Addwish_Awext>
7
  </modules>
8
 
9
  <frontend>
10
 
11
 
12
  <events>
13
+
14
  <sales_quote_address_save_after>
15
  <observers>
16
  <getbillingData>
17
+ <class>Addwish_Awext_Model_Observer</class>
18
  <method>getbillingData</method>
19
  </getbillingData>
20
  </observers>
22
  <controller_action_layout_load_before>
23
  <observers>
24
  <addwishHeader>
25
+ <class>Addwish_Awext_Model_Observer</class>
26
  <method>addwishHeader</method>
27
  </addwishHeader>
28
  </observers>
30
  <customer_register_success>
31
  <observers>
32
  <inspectCartAddData>
33
+ <class>Addwish_Awext_Model_Observer</class>
34
  <method>customerRegisterData</method>
35
  </inspectCartAddData>
36
  </observers>
38
  <checkout_cart_add_product_complete>
39
  <observers>
40
  <inspectCartAddData>
41
+ <class>Addwish_Awext_Model_Observer</class>
42
  <method>inspectCartAddData</method>
43
  </inspectCartAddData>
44
  </observers>
45
  </checkout_cart_add_product_complete>
46
  </events>
47
  <routers>
48
+ <awext>
49
  <use>standard</use>
50
  <args>
51
+ <module>Addwish_Awext</module>
52
+ <frontName>awext</frontName>
53
  </args>
54
+ </awext>
55
  </routers>
56
  <layout>
57
  <updates>
58
+ <awext>
59
+ <file>awext.xml</file>
60
+ </awext>
61
  </updates>
62
  </layout>
63
  </frontend>
64
  <admin>
 
 
 
 
 
 
 
 
 
65
 
66
+ <routers>
67
+ <awext>
68
+ <use>admin</use>
69
+ <args>
70
+ <module>Addwish_Awext</module>
71
+ <frontName>awext</frontName>
72
+ </args>
73
+ </awext>
74
  </routers>
75
  </admin>
76
  <adminhtml>
77
+
78
  <menu>
79
 
80
+ <awext module="awext">
81
  <title>addwish</title>
82
  <sort_order>1</sort_order>
83
  <children>
84
+ <items module="awext">
85
  <title>addwish Configuration</title>
86
  <sort_order>0</sort_order>
87
+ <action>awext/adminhtml_awext/view</action>
88
  </items>
89
  </children>
90
+ </awext>
91
  </menu>
92
  <acl>
93
  <resources>
96
  </all>
97
  <admin>
98
  <children>
99
+ <Addwish_Awext>
100
+ <title>Awext Module</title>
101
  <sort_order>10</sort_order>
102
+ </Addwish_Awext>
103
  </children>
104
  </admin>
105
  </resources>
106
  </acl>
107
  <layout>
108
  <updates>
109
+ <awext>
110
+ <file>awext.xml</file>
111
+ </awext>
112
  </updates>
113
  </layout>
114
  </adminhtml>
115
 
116
  <global>
117
  <models>
118
+ <awext>
119
+ <class>Addwish_Awext_Model</class>
120
+ <resourceModel>awext_mysql4</resourceModel>
121
+ </awext>
122
+ <awext_mysql4>
123
+ <class>Addwish_Awext_Model_Mysql4</class>
124
  <entities>
125
+ <awext>
126
  <table>addwish</table>
127
+ </awext>
128
  </entities>
129
+ </awext_mysql4>
130
  </models>
131
  <resources>
132
  <addwish_setup>
133
  <setup>
134
+ <module>Addwish_Awext</module>
135
  </setup>
136
  <connection>
137
  <use>core_setup</use>
149
  </addwish_read>
150
  </resources>
151
  <blocks>
152
+ <awext>
153
+ <class>Addwish_Awext_Block</class>
154
+ </awext>
155
  </blocks>
156
  <helpers>
157
+ <awext>
158
+ <class>Addwish_Awext_Helper</class>
159
+ </awext>
160
  </helpers>
161
  </global>
162
  </config>
app/code/local/Addwish/{Integrator → Awext}/sql/addwish_setup/mysql4-install-0.0.4.php RENAMED
@@ -21,8 +21,8 @@ truncate `".$prefix."addwish`;
21
  delete from `".$prefix."core_url_rewrite` where request_path in ('addwish-search-result.html','orderExportFeed.xml');
22
  INSERT INTO `".$prefix."addwish` (`id`, `userId`, `enableUpsells`,`ipaddress`) VALUES ('1', '', '0','46.137.110.51');");
23
 
24
- Mage::getModel('core/url_rewrite')->setIsSystem(0)->setOptions('')->setIdPath('Add Wish Search')->setTargetPath('/integrator/index/search')->setRequestPath('addwish-search-result.html')->save();
25
- Mage::getModel('core/url_rewrite')->setIsSystem(0)->setOptions('')->setIdPath('Add Wish Order list')->setTargetPath('integrator/index/orderlist')->setRequestPath('orderExportFeed.xml')->save();
26
 
27
 
28
  $installer->endSetup();
21
  delete from `".$prefix."core_url_rewrite` where request_path in ('addwish-search-result.html','orderExportFeed.xml');
22
  INSERT INTO `".$prefix."addwish` (`id`, `userId`, `enableUpsells`,`ipaddress`) VALUES ('1', '', '0','46.137.110.51');");
23
 
24
+ Mage::getModel('core/url_rewrite')->setIsSystem(0)->setOptions('')->setIdPath('Add Wish Search')->setTargetPath('/awext/index/search')->setRequestPath('addwish-search-result.html')->save();
25
+ Mage::getModel('core/url_rewrite')->setIsSystem(0)->setOptions('')->setIdPath('Add Wish Order list')->setTargetPath('awext/index/orderlist')->setRequestPath('orderExportFeed.xml')->save();
26
 
27
 
28
  $installer->endSetup();
app/code/local/Addwish/Integrator/Block/Adminhtml/Integrator.php DELETED
@@ -1,12 +0,0 @@
1
- <?php
2
- class Addwish_Integrator_Block_Adminhtml_Integrator extends Mage_Adminhtml_Block_Widget_Grid_Container
3
- {
4
- public function __construct()
5
- {
6
- $this->_controller = 'adminhtml_integrator';
7
- $this->_blockGroup = 'integrator';
8
- $this->_headerText = Mage::helper('integrator')->__('AddWish');
9
- $this->_addButtonLabel = Mage::helper('integrator')->__('AddWish');
10
- parent::__construct();
11
- }
12
- }
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Addwish/Integrator/Block/Adminhtml/Integrator/Renderer.php DELETED
@@ -1,4 +0,0 @@
1
- <?php
2
- class Addwish_Integrator_Block_Adminhtml_Integrator_Renderer extends Mage_Adminhtml_Block_Widget_Form_Container
3
- {
4
- }
 
 
 
 
app/code/local/Addwish/Integrator/Block/Adminhtml/Integrator/View.php DELETED
@@ -1,12 +0,0 @@
1
- <?php
2
- class Addwish_Integrator_Block_Adminhtml_Integrator_View extends Mage_Adminhtml_Block_Widget_Form_Container
3
- {
4
- public function __construct()
5
- {
6
-
7
- }
8
- public function getHeaderText()
9
- {
10
- return Mage::helper('integrator')->__("addwish");
11
- }
12
- }
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Addwish/Integrator/Block/Adminhtml/Integrator/View/Tab/Details.php DELETED
@@ -1,7 +0,0 @@
1
- <?php
2
- class Addwish_Integrator_Block_Adminhtml_Integrator_View_Tab_Details extends Mage_Adminhtml_Block_Text_List
3
- {
4
-
5
-
6
-
7
- }
 
 
 
 
 
 
 
app/code/local/Addwish/Integrator/Block/Adminhtml/Integrator/View/Tab/Details/List.php DELETED
@@ -1,20 +0,0 @@
1
- <?php
2
- class Addwish_Integrator_Block_Adminhtml_Integrator_View_Tab_Details_List extends Mage_Adminhtml_Block_Template
3
- {
4
- public function __construct()
5
- {
6
- $this->setTemplate('integrator/integrator/list.phtml');
7
- }
8
-
9
- protected function _toHtml()
10
- {
11
- $integratorCollection = Mage::getModel('integrator/integrator')->getCollection();
12
- $this->assign('integratorCollection', $integratorCollection->getData());
13
- return parent::_toHtml();
14
- }
15
-
16
- protected function _prepareLayout()
17
- {
18
- return parent::_prepareLayout();
19
- }
20
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Addwish/Integrator/Block/Adminhtml/Integrator/View/Tab/Recommend.php DELETED
@@ -1,7 +0,0 @@
1
- <?php
2
- class Addwish_Integrator_Block_Adminhtml_Integrator_View_Tab_Recommend extends Mage_Adminhtml_Block_Text_List
3
- {
4
-
5
-
6
-
7
- }
 
 
 
 
 
 
 
app/code/local/Addwish/Integrator/Block/Adminhtml/Integrator/View/Tab/Recommend/List.php DELETED
@@ -1,20 +0,0 @@
1
- <?php
2
- class Addwish_Integrator_Block_Adminhtml_Integrator_View_Tab_Recommend_List extends Mage_Adminhtml_Block_Template
3
- {
4
- public function __construct()
5
- {
6
- $this->setTemplate('integrator/recommendations.phtml');
7
- }
8
-
9
- protected function _toHtml()
10
- {
11
- $integratorCollection = Mage::getModel('integrator/integrator')->getCollection();
12
- $this->assign('integratorCollection', $integratorCollection->getData());
13
- return parent::_toHtml();
14
- }
15
-
16
- protected function _prepareLayout()
17
- {
18
- return parent::_prepareLayout();
19
- }
20
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Addwish/Integrator/Block/Adminhtml/Integrator/View/Tab/Search.php DELETED
@@ -1,7 +0,0 @@
1
- <?php
2
- class Addwish_Integrator_Block_Adminhtml_Integrator_View_Tab_Search extends Mage_Adminhtml_Block_Text_List
3
- {
4
-
5
-
6
-
7
- }
 
 
 
 
 
 
 
app/code/local/Addwish/Integrator/Block/Adminhtml/Integrator/View/Tab/Search/List.php DELETED
@@ -1,20 +0,0 @@
1
- <?php
2
- class Addwish_Integrator_Block_Adminhtml_Integrator_View_Tab_Search_List extends Mage_Adminhtml_Block_Template
3
- {
4
- public function __construct()
5
- {
6
- $this->setTemplate('integrator/search.phtml');
7
- }
8
-
9
- protected function _toHtml()
10
- {
11
- $integratorCollection = Mage::getModel('integrator/integrator')->getCollection();
12
- $this->assign('integratorCollection', $integratorCollection->getData());
13
- return parent::_toHtml();
14
- }
15
-
16
- protected function _prepareLayout()
17
- {
18
- return parent::_prepareLayout();
19
- }
20
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Addwish/Integrator/Block/Adminhtml/Integrator/View/Tabs.php DELETED
@@ -1,40 +0,0 @@
1
- <?php
2
-
3
- class Addwish_Integrator_Block_Adminhtml_Integrator_View_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
4
- {
5
-
6
- public function __construct()
7
- {
8
- parent::__construct();
9
- $this->setId('integrator_tabs');
10
- $this->setTitle(Mage::helper('integrator')->__('addwish Settings'));
11
- }
12
-
13
- protected function _beforeToHtml()
14
- {
15
- $this->addTab('details_section', array(
16
- 'label' => Mage::helper('integrator')->__('Setup'),
17
- 'title' => Mage::helper('integrator')->__('Setup'),
18
- 'content' => $this->getLayout()->createBlock('integrator/adminhtml_integrator_view_tab_details_list')
19
- ->toHtml(),
20
- 'active' => ( $this->getRequest()->getParam('tab') == 'details_section' ) ? true : false,
21
- ));
22
-
23
- $this->addTab('recommendation_section', array(
24
- 'label' => Mage::helper('integrator')->__('Recommendations'),
25
- 'title' => Mage::helper('integrator')->__('Recommendations'),
26
- 'content' => $this->getLayout()->createBlock('integrator/adminhtml_integrator_view_tab_recommend_list')
27
- ->toHtml(),
28
- 'active' => ( $this->getRequest()->getParam('tab') == 'recommendation_section' ) ? true : false,
29
- ));
30
-
31
- $this->addTab('search_section', array(
32
- 'label' => Mage::helper('integrator')->__('Search'),
33
- 'title' => Mage::helper('integrator')->__('Search'),
34
- 'content' => $this->getLayout()->createBlock('integrator/adminhtml_integrator_view_tab_search_list')
35
- ->toHtml(),
36
- 'active' => ( $this->getRequest()->getParam('tab') == 'search_section' ) ? true : false,
37
- ));
38
- return parent::_beforeToHtml();
39
- }
40
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Addwish/Integrator/Helper/Data.php DELETED
@@ -1,6 +0,0 @@
1
- <?php
2
-
3
- class Addwish_Integrator_Helper_Data extends Mage_Core_Helper_Abstract
4
- {
5
-
6
- }
 
 
 
 
 
 
app/code/local/Addwish/Integrator/Model/Integrator.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
-
3
- class Addwish_Integrator_Model_Integrator extends Mage_Core_Model_Abstract
4
- {
5
- public function _construct()
6
- {
7
- parent::_construct();
8
- $this->_init('integrator/integrator');
9
- }
10
- }
 
 
 
 
 
 
 
 
 
 
app/code/local/Addwish/Integrator/Model/Mysql4/Integrator.php DELETED
@@ -1,9 +0,0 @@
1
- <?php
2
-
3
- class Addwish_Integrator_Model_Mysql4_Integrator extends Mage_Core_Model_Mysql4_Abstract
4
- {
5
- public function _construct()
6
- {
7
- $this->_init('integrator/integrator', 'id');
8
- }
9
- }
 
 
 
 
 
 
 
 
 
app/code/local/Addwish/Integrator/Model/Mysql4/Integrator/Collection.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
-
3
- class Addwish_Integrator_Model_Mysql4_Integrator_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
4
- {
5
- public function _construct()
6
- {
7
- parent::_construct();
8
- $this->_init('integrator/integrator');
9
- }
10
- }
 
 
 
 
 
 
 
 
 
 
app/design/adminhtml/default/default/layout/{integrator.xml → awext.xml} RENAMED
@@ -1,6 +1,6 @@
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
- <integrator_adminhtml_integrator_index>
4
  <reference name="head">
5
  <action method="setTitle">
6
  <title>addwish Settings</title>
@@ -45,10 +45,10 @@
45
  </action>
46
  </reference>
47
  <reference name="content">
48
- <block type="integrator/adminhtml_integrator" name="integrator" />
49
  </reference>
50
- </integrator_adminhtml_integrator_index>
51
- <integrator_adminhtml_integrator_edit>
52
  <reference name="head">
53
  <action method="setTitle">
54
  <title>addwish Settings</title>
@@ -92,11 +92,11 @@
92
  <name>prototype/windows/themes/default.css</name>
93
  </action>
94
  </reference>
95
- </integrator_adminhtml_integrator_edit>
96
 
97
 
98
 
99
- <integrator_adminhtml_integrator_view>
100
  <reference name="head">
101
  <action method="setTitle">
102
  <title>addwish Settings</title>
@@ -141,9 +141,9 @@
141
  </action>
142
  </reference>
143
  <reference name="content">
144
- <block type="integrator/adminhtml_integrator_view" name="integrator" />
145
  </reference>
146
- </integrator_adminhtml_integrator_view>
147
 
148
 
149
 
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
+ <awext_adminhtml_awext_index>
4
  <reference name="head">
5
  <action method="setTitle">
6
  <title>addwish Settings</title>
45
  </action>
46
  </reference>
47
  <reference name="content">
48
+ <block type="awext/adminhtml_awext" name="awext" />
49
  </reference>
50
+ </awext_adminhtml_awext_index>
51
+ <awext_adminhtml_awext_edit>
52
  <reference name="head">
53
  <action method="setTitle">
54
  <title>addwish Settings</title>
92
  <name>prototype/windows/themes/default.css</name>
93
  </action>
94
  </reference>
95
+ </awext_adminhtml_awext_edit>
96
 
97
 
98
 
99
+ <awext_adminhtml_awext_view>
100
  <reference name="head">
101
  <action method="setTitle">
102
  <title>addwish Settings</title>
141
  </action>
142
  </reference>
143
  <reference name="content">
144
+ <block type="awext/adminhtml_awext_view" name="awext" />
145
  </reference>
146
+ </awext_adminhtml_awext_view>
147
 
148
 
149
 
app/design/adminhtml/default/default/template/{integrator/integrator → awext}/list.phtml RENAMED
@@ -15,7 +15,7 @@
15
  <fieldset id="general_region" class="config collapseable">
16
  <legend>Script Setup</legend>
17
  <?php
18
- $model = Mage::getModel('integrator/integrator')->load(1);
19
  ?>
20
  <div class="introtext" style="margin-bottom: 10px">
21
  In order to use this extension you'll need to have an addwish business ID.<br>If you don't already have one you can sign up for one on our <a href="http://www.addwish.com/business/"target="_blank">webpage</a> <br>
@@ -53,7 +53,7 @@ Once you have an addwish business ID enter it in the box below and press save.</
53
  <fieldset id="general_Dataregion" class="config collapseable">
54
  <legend>Data Export Setup</legend>
55
  <?php
56
- $model = Mage::getModel('integrator/integrator')->load(1);
57
  ?>
58
  <div style="margin-bottom: 10px" class="introtext">
59
  This extension will automatically create a product feed and an order history feed, which will allow addwish to correctly identify and display all the products on your webshop <br>and create relations between them, based on your historical orders. <br>
@@ -72,7 +72,7 @@ We have included a text area, where you can enter the IP addresses that you woul
72
  <h6>Product feed</h6>
73
  <div style="float:left">
74
  <input type="checkbox" value="1" name="enable_product_feed" <?php if($model->getData('enable_product_feed')==1){echo "checked='checked'";} ?>/><label style="margin-left: 10px;">Product feed</label>
75
- <p>You can access the feed from this URL: <a target="_blank" href="<?php echo Mage::getBaseUrl();?>integrator/index">/index.php/integrator/index</a> - <i><b>Please note that the feed is generated when ever the feed is requested, so coordinate with addwish as for when is the best time to request the feed</b></i></p><i><b>
76
  </b></i>
77
  </div>
78
 
@@ -85,7 +85,7 @@ We have included a text area, where you can enter the IP addresses that you woul
85
 
86
  <div style="margin-top: 10px;">
87
  <h6>Order feed</h6><p>Enable and disable the order feed here. Addwish uses this to gather all needed information from historical orders to get the best possible data for our algorithms. You can access the order feed from this link
88
- <a href="<?php echo Mage::getBaseUrl();?>integrator/index/orderList/?exportFromDate=2015-11-11&amp;exportToDate=2015-12-11" target="_blank">/integrator/index/orderList/?exportFromDate=2015-11-11&amp;exportToDate=2015-12-11</a></p>
89
  </div>
90
  <div style="clear:both; margin-top: 5px;"></div>
91
  <div style="float:left">
15
  <fieldset id="general_region" class="config collapseable">
16
  <legend>Script Setup</legend>
17
  <?php
18
+ $model = Mage::getModel('awext/awext')->load(1);
19
  ?>
20
  <div class="introtext" style="margin-bottom: 10px">
21
  In order to use this extension you'll need to have an addwish business ID.<br>If you don't already have one you can sign up for one on our <a href="http://www.addwish.com/business/"target="_blank">webpage</a> <br>
53
  <fieldset id="general_Dataregion" class="config collapseable">
54
  <legend>Data Export Setup</legend>
55
  <?php
56
+ $model = Mage::getModel('awext/awext')->load(1);
57
  ?>
58
  <div style="margin-bottom: 10px" class="introtext">
59
  This extension will automatically create a product feed and an order history feed, which will allow addwish to correctly identify and display all the products on your webshop <br>and create relations between them, based on your historical orders. <br>
72
  <h6>Product feed</h6>
73
  <div style="float:left">
74
  <input type="checkbox" value="1" name="enable_product_feed" <?php if($model->getData('enable_product_feed')==1){echo "checked='checked'";} ?>/><label style="margin-left: 10px;">Product feed</label>
75
+ <p>You can access the feed from this URL: <a target="_blank" href="<?php echo Mage::getBaseUrl();?>awext/index">/index.php/awext/index</a> - <i><b>Please note that the feed is generated when ever the feed is requested, so coordinate with addwish as for when is the best time to request the feed</b></i></p><i><b>
76
  </b></i>
77
  </div>
78
 
85
 
86
  <div style="margin-top: 10px;">
87
  <h6>Order feed</h6><p>Enable and disable the order feed here. Addwish uses this to gather all needed information from historical orders to get the best possible data for our algorithms. You can access the order feed from this link
88
+ <a href="<?php echo Mage::getBaseUrl();?>awext/index/orderList/?exportFromDate=2015-11-11&amp;exportToDate=2015-12-11" target="_blank">/awext/index/orderList/?exportFromDate=2015-11-11&amp;exportToDate=2015-12-11</a></p>
89
  </div>
90
  <div style="clear:both; margin-top: 5px;"></div>
91
  <div style="float:left">
app/design/adminhtml/default/default/template/{integrator → awext}/recommendations.phtml RENAMED
@@ -22,7 +22,7 @@
22
  <fieldset class="config collapseable" id="general_recommend">
23
  <legend>Recomendations</legend>
24
  <?php
25
- $model = Mage::getModel('integrator/integrator')->load(1);
26
  ?>
27
  <div style="margin-bottom: 20px;" class="introtext">
28
  Personalised recommendations will be displaying unique, relevant content targeted to their needs and shopping habits.
@@ -42,7 +42,7 @@ In this Magento extension we have included the possibility of having a special u
42
  On this upsell page we will have the opotunity to show specialised product recommendations for upsell based on the user and on the contents of the cart.
43
  <br>
44
  You can enable and disable the upsell page below. <br><br><b>Before enabling the upsell page, <u>please contact addwish support on <a href="mailto:support@addwish.com">support@addwish.com</a></u> to get you requirements for the recommendations on the upsell page implemented <br> Also please visit the upsell page before enabling the page to tailor the design of the upsell page. You can visit the page from this link : <br>
45
- <a href="<?php echo Mage::getBaseUrl();?>integrator/index/upsells?productId=3" target="_blank">integrator/index/upsells?productId=3</a></b><br><i>Notice that you can change the ID in the url, to see how the product recommendations will depend on the product added to the cart.
46
  </i>
47
  </div>
48
  <div style="clear:both"></div>
22
  <fieldset class="config collapseable" id="general_recommend">
23
  <legend>Recomendations</legend>
24
  <?php
25
+ $model = Mage::getModel('awext/awext')->load(1);
26
  ?>
27
  <div style="margin-bottom: 20px;" class="introtext">
28
  Personalised recommendations will be displaying unique, relevant content targeted to their needs and shopping habits.
42
  On this upsell page we will have the opotunity to show specialised product recommendations for upsell based on the user and on the contents of the cart.
43
  <br>
44
  You can enable and disable the upsell page below. <br><br><b>Before enabling the upsell page, <u>please contact addwish support on <a href="mailto:support@addwish.com">support@addwish.com</a></u> to get you requirements for the recommendations on the upsell page implemented <br> Also please visit the upsell page before enabling the page to tailor the design of the upsell page. You can visit the page from this link : <br>
45
+ <a href="<?php echo Mage::getBaseUrl();?>awext/index/upsells?productId=3" target="_blank">awext/index/upsells?productId=3</a></b><br><i>Notice that you can change the ID in the url, to see how the product recommendations will depend on the product added to the cart.
46
  </i>
47
  </div>
48
  <div style="clear:both"></div>
app/design/adminhtml/default/default/template/{integrator → awext}/search.phtml RENAMED
File without changes
app/design/frontend/base/default/layout/awext.xml ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <addwish_head_add>
4
+ <block type="core/template" name="addwishheader" template="addwish/addwish-head.phtml"/>
5
+ <reference name="header">
6
+ <action method="append"><block>addwishheader</block></action>
7
+ </reference>
8
+ <reference name="head">
9
+ <action method="append"><block>addwishheader</block></action>
10
+ </reference>
11
+ </addwish_head_add>
12
+ <default>
13
+ <reference name="before_body_end">
14
+ <block type="core/template" name="addwish-tracking" template="addwish/integrator.phtml" />
15
+ </reference>
16
+ </default>
17
+ <catalog_product_view>
18
+ <reference name="before_body_end">
19
+ <block type="core/template" name="addwish-cart" template="addwish/product-span.phtml" after="-" />
20
+ </reference>
21
+ </catalog_product_view>
22
+ <checkout_cart_index>
23
+ <reference name="before_body_end">
24
+ <block type="core/template" name="addwish-basket" template="addwish/basket-span.phtml" after="-" />
25
+ </reference>
26
+ </checkout_cart_index>
27
+ <checkout_onepage_success>
28
+ <reference name="before_body_end">
29
+ <block type="core/template" name="addwish-conversion" template="addwish/conversion-span.phtml" after="-" />
30
+ </reference>
31
+ </checkout_onepage_success>
32
+ <awext_index_search>
33
+ <reference name="content">
34
+ <block type="core/template" name="addwish-search-page" template="addwish/search-result-page.phtml" />
35
+ </reference>
36
+ </awext_index_search>
37
+ <awext_index_upsells>
38
+ <reference name="content">
39
+ <block type="core/template" name="addwish-upsells" template="addwish/upsells-page.phtml" />
40
+ </reference>
41
+ </awext_index_upsells>
42
+ </layout>
app/design/frontend/base/default/layout/integrator.xml DELETED
@@ -1,37 +0,0 @@
1
- <?xml version="1.0"?>
2
- <layout version="0.1.0">
3
- <addwish_head_add>
4
- <block type="core/template" name="addwishheader" template="addwish/addwish-head.phtml"/>
5
- <reference name="header">
6
- <action method="append"><block>addwishheader</block></action>
7
- </reference>
8
-
9
- <reference name="head">
10
- <action method="append"><block>addwishheader</block></action>
11
- </reference>
12
-
13
- </addwish_head_add>
14
- <default>
15
- <reference name="head">
16
- <block type="core/template" name="addwish" template="addwish/integrator.phtml" />
17
- </reference>
18
- </default>
19
- <catalog_product_view>
20
- <reference name="content"><block type="core/template" name="addwish" template="addwish/product-span.phtml" after="addtocart" /></reference>
21
- </catalog_product_view>
22
- <checkout_cart_index>
23
- <reference name="content"><block type="core/template" name="addwish" template="addwish/basket-span.phtml" after="addtocart" /></reference>
24
- </checkout_cart_index>
25
- <checkout_onepage_success>
26
- <reference name="content"><block type="core/template" name="addwish" template="addwish/conversion-span.phtml" after="addtocart" /></reference>
27
- </checkout_onepage_success>
28
-
29
- <integrator_index_search>
30
- <reference name="content"><block type="core/template" name="addwish" template="addwish/search-result-page.phtml" /></reference>
31
- </integrator_index_search>
32
- <integrator_index_upsells>
33
- <reference name="content"><block type="core/template" name="addwish" template="addwish/upsells-page.phtml" /></reference>
34
- </integrator_index_upsells>
35
-
36
-
37
- </layout>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/addwish/integrator.phtml CHANGED
@@ -1,17 +1,17 @@
1
- <?php
2
- $model = Mage::getModel('integrator/integrator')->load(1);
3
- if($model->getData('userId')!=''){
4
- ?><script type="text/javascript">
5
- (function() {
6
- var aws = document.createElement('script');
7
- aws.type = 'text/javascript';
8
- if (typeof(aws.async) != "undefined") { aws.async = true; }
9
- aws.src = (window.location.protocol == 'https:' ? 'https://d1pna5l3xsntoj.cloudfront.net' :
10
- 'http://cdn.addwish.com') + '/scripts/company/awAddGift.js#<?php echo $model->getData('userId');?>';
11
- var s = document.getElementsByTagName('script')[0];
12
- s.parentNode.insertBefore(aws, s);
13
- })();
14
- </script>
15
- <?php
16
- }
17
  ?>
1
+ <?php
2
+ $model = Mage::getModel('awext/awext')->load(1);
3
+ if($model->getData('userId')!=''){
4
+ ?><script type="text/javascript">
5
+ (function() {
6
+ var aws = document.createElement('script');
7
+ aws.type = 'text/javascript';
8
+ if (typeof(aws.async) != "undefined") { aws.async = true; }
9
+ aws.src = (window.location.protocol == 'https:' ? 'https://d1pna5l3xsntoj.cloudfront.net' :
10
+ 'http://cdn.addwish.com') + '/scripts/company/awAddGift.js#<?php echo $model->getData('userId');?>';
11
+ var s = document.getElementsByTagName('script')[0];
12
+ s.parentNode.insertBefore(aws, s);
13
+ })();
14
+ </script>
15
+ <?php
16
+ }
17
  ?>
app/design/frontend/base/default/template/addwish/product-span.phtml CHANGED
@@ -3,10 +3,11 @@ $product = Mage::registry('current_product');
3
  $specialPrice = number_format($product->getSpecialPrice(), 2, '.', '');
4
  $regularPrice = number_format($product->getPrice(), 2, '.', '');
5
  $product_image=Mage::helper('catalog/image')->init($product , 'thumbnail')->resize(256);
 
6
  ?>
7
  <span class="addwish-product-info" style="display:none"
8
  data-title="<?php echo htmlentities($product->getName());?>"
9
- data-imgurl="<?php echo $product_image;?>"
10
  <?php
11
  if(isset($specialPrice) && $specialPrice>0){
12
  echo 'data-price="'.$specialPrice.'"';
@@ -63,6 +64,6 @@ $uencURL=Mage::helper('checkout/cart')->getAddUrl($product);
63
  $elem1=explode("uenc/",$uencURL);
64
  $elem2=explode("/product",$elem1[1]);
65
  ?>
66
- data-formkey='<?php echo Mage::getSingleton('core/session')->getFormKey();?>'
67
  data-uenc='<?php echo $elem2[0];?>'
68
  ></span>
3
  $specialPrice = number_format($product->getSpecialPrice(), 2, '.', '');
4
  $regularPrice = number_format($product->getPrice(), 2, '.', '');
5
  $product_image=Mage::helper('catalog/image')->init($product , 'thumbnail')->resize(256);
6
+ $imageUrl = Mage::helper('catalog/image')->init($product , 'thumbnail')->resize(256);
7
  ?>
8
  <span class="addwish-product-info" style="display:none"
9
  data-title="<?php echo htmlentities($product->getName());?>"
10
+ data-imgurl="<?php echo $imageUrl ;?>"
11
  <?php
12
  if(isset($specialPrice) && $specialPrice>0){
13
  echo 'data-price="'.$specialPrice.'"';
64
  $elem1=explode("uenc/",$uencURL);
65
  $elem2=explode("/product",$elem1[1]);
66
  ?>
67
+ data-formkey='<?php echo Mage::getSingleton('core/session')->getFormKey();?>'
68
  data-uenc='<?php echo $elem2[0];?>'
69
  ></span>
app/design/frontend/base/default/template/addwish/upsells-page.phtml CHANGED
@@ -5,8 +5,8 @@ if($lastAddedProduct>0){
5
  ?>
6
 
7
 
8
- <span id="addwish-upsell-1" style="display:none"></span>
9
- <span id="addwish-upsell-2" style="display:none"></span>
10
  <span class="addwish-upsell-info" style="display:none" data-url="<?php echo $product->getProductUrl();?>"></span>
11
 
12
  <?php
@@ -14,8 +14,8 @@ if($lastAddedProduct>0){
14
  $productId=$this->getRequest()->getParam('productId');
15
  if($productId>0){
16
  $product=Mage::getModel('catalog/product')->load($productId);
17
- ?><span id="addwish-upsell-1" style="display:none"></span>
18
- <span id="addwish-upsell-2" style="display:none"></span>
19
  <span class="addwish-upsell-info" style="display:none" data-url="<?php echo $product->getProductUrl();?>"></span>
20
 
21
  <?php
5
  ?>
6
 
7
 
8
+ <span id="addwish-upsell-1"></span>
9
+ <span id="addwish-upsell-2"></span>
10
  <span class="addwish-upsell-info" style="display:none" data-url="<?php echo $product->getProductUrl();?>"></span>
11
 
12
  <?php
14
  $productId=$this->getRequest()->getParam('productId');
15
  if($productId>0){
16
  $product=Mage::getModel('catalog/product')->load($productId);
17
+ ?><span id="addwish-upsell-1"></span>
18
+ <span id="addwish-upsell-2"></span>
19
  <span class="addwish-upsell-info" style="display:none" data-url="<?php echo $product->getProductUrl();?>"></span>
20
 
21
  <?php
app/etc/modules/{Addwish_Integrator.xml → Addwish_Awext.xml} RENAMED
@@ -1,12 +1,12 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <config>
3
- <modules>
4
- <Addwish_Integrator>
5
- <active>true</active>
6
- <codePool>local</codePool>
7
- <depends>
8
- <Mage_Adminhtml/>
9
- </depends>
10
- </Addwish_Integrator>
11
- </modules>
12
  </config>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <modules>
4
+ <Addwish_Awext>
5
+ <active>true</active>
6
+ <codePool>local</codePool>
7
+ <depends>
8
+ <Mage_Adminhtml/>
9
+ </depends>
10
+ </Addwish_Awext>
11
+ </modules>
12
  </config>
package.xml CHANGED
@@ -2,11 +2,11 @@
2
  <package>
3
  <name>addwish</name>
4
  <version>0.6.0</version>
5
- <stability>devel</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>New and updated extension to integrate all addwish features</summary>
10
  <description>&lt;p&gt;&lt;b&gt;Get addwish on your site and we'll show your products on ours!&lt;/b&gt;&lt;/p&gt;&#xD;
11
  &#xD;
12
  &lt;p&gt;addwish is a wish list that lets users share the products they want with people who want to buy them. But unlike other wish lists, with addwish your products also appear as inspiration in searches for similar products on addwish.com. If addwish users select your product for their list, their family and friends are automatically directed to your web shop where they can make the purchase. &lt;/p&gt;&#xD;
@@ -26,9 +26,9 @@
26
  &lt;li&gt;High conversion rates&lt;/li&gt;&#xD;
27
  &lt;/ul&gt;</notes>
28
  <authors><author><name>addwish</name><user>addwish</user><email>krj@addwish.com</email></author></authors>
29
- <date>2016-02-09</date>
30
- <time>09:12:20</time>
31
- <contents><target name="magelocal"><dir name="Addwish"><dir name="Integrator"><dir name="Block"><dir name="Adminhtml"><dir name="Integrator"><file name="Grid.php" hash="3fa75f93b5251ffd849c662f964a1d57"/><file name="Renderer.php" hash="a7469e6df67f94a039a92874321da38e"/><dir name="View"><dir name="Tab"><dir name="Details"><file name="List.php" hash="d08e9b7f83f98b3050a7118ac2369242"/></dir><file name="Details.php" hash="b5220cabab90ccede514fa0e6766555b"/><file name="Form.php" hash="ad6373c64686899d246a11bb2fe17fc1"/><dir name="Recommend"><file name="List.php" hash="b35150ab52310670ab518cb45c1a2e33"/></dir><file name="Recommend.php" hash="6f19611e2e83f8247d97e591fc958bf1"/><dir name="Search"><file name="List.php" hash="5df43f1363e6ae96b94188d45ce7801a"/></dir><file name="Search.php" hash="73ffb13e76137acd67f9a9b9c7751358"/></dir><file name="Tabs.php" hash="1c573a29d7ceb90873409af2b674fc95"/></dir><file name="View.php" hash="42c8b170dae90fc7ef89d8dc5e99bc83"/></dir><file name="Integrator.php" hash="40496a2bd632188c498ada4477ac3752"/></dir><file name="Integrator.php" hash="458f91e566dc29429a8f4506485b254a"/></dir><dir name="Helper"><file name="Data.php" hash="a4de920a156bda655d1ae676f5080514"/></dir><dir name="Model"><file name="Integrator.php" hash="c41ae42230aa6837714da7922c626945"/><dir name="Mysql4"><dir name="Integrator"><file name="Collection.php" hash="d622ef3fcda60d4f980b1c504073c6a6"/></dir><file name="Integrator.php" hash="052377e4c9fdb94a912653287997e58b"/></dir><file name="Observer.php" hash="ca28f56253adfb730a4726220f377853"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="IntegratorController.php" hash="f08d441ac42d91de43c7357a084a08c1"/></dir><file name="IndexController.php" hash="612eec4325576ed8f91978945ed90efd"/></dir><dir name="etc"><file name="config.xml" hash="991238c9677b0c2d288508ab14b32e10"/></dir><dir name="sql"><dir name="addwish_setup"><file name="mysql4-install-0.0.4.php" hash="1dc029b0477be30c99ea8520f872c241"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="css"><file name="addwish.css" hash="f8711a6d3845f2c39698ca95064abb4c"/></dir><dir name="images"><dir name="addwish"><file name="addwish.png" hash="a588d24d1919d9206eff40a886b88ef1"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="integrator.xml" hash="7c7d92345ca22fb3f3ed42324d7b4656"/></dir><dir name="template"><dir name="integrator"><dir name="integrator"><file name="list.phtml" hash="886923c23566da59f0bf1810769782fc"/></dir><file name="recommendations.phtml" hash="961ff25fb0409a75f222c58d5c48ef22"/><file name="search.phtml" hash="bcf56fe0d8728a45ca5421a0d6273385"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="integrator.xml" hash="3100460c32f0145921305d0f1f6829de"/></dir><dir name="template"><dir name="addwish"><file name="addwish-head.phtml" hash="c5b6fa2cae55ad1ddd4a5c64f8d532f6"/><file name="basket-span.phtml" hash="43ae1f4ca8daad61d16ef84bbfcab2cf"/><file name="conversion-span.phtml" hash="69ab18c525182edc1b83b0690556ac8c"/><file name="integrator.phtml" hash="c28de947018ddc40f1a9dc9d6c51ee60"/><file name="product-span.phtml" hash="c1a0a4db17271f9d9ba522d159805e0c"/><file name="search-result-page.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="upsells-page.phtml" hash="ad85b6c194bc3deefc6c2e2a31569383"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Addwish_Integrator.xml" hash="b445d0c5897f7ecefabd04e2e4bc9530"/></dir></target></contents>
32
  <compatible/>
33
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
34
  </package>
2
  <package>
3
  <name>addwish</name>
4
  <version>0.6.0</version>
5
+ <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>New and updated extesion to integrate all addwish features</summary>
10
  <description>&lt;p&gt;&lt;b&gt;Get addwish on your site and we'll show your products on ours!&lt;/b&gt;&lt;/p&gt;&#xD;
11
  &#xD;
12
  &lt;p&gt;addwish is a wish list that lets users share the products they want with people who want to buy them. But unlike other wish lists, with addwish your products also appear as inspiration in searches for similar products on addwish.com. If addwish users select your product for their list, their family and friends are automatically directed to your web shop where they can make the purchase. &lt;/p&gt;&#xD;
26
  &lt;li&gt;High conversion rates&lt;/li&gt;&#xD;
27
  &lt;/ul&gt;</notes>
28
  <authors><author><name>addwish</name><user>addwish</user><email>krj@addwish.com</email></author></authors>
29
+ <date>2016-02-17</date>
30
+ <time>23:03:38</time>
31
+ <contents><target name="magelocal"><dir name="Addwish"><dir name="Awext"><dir name="Block"><dir name="Adminhtml"><dir name="Awext"><file name="Grid.php" hash="0a9e0cc01157a49a58cddf0ef4eddbad"/><file name="Renderer.php" hash="f5f132bb8089270358be38f9e1fb342d"/><dir name="View"><dir name="Tab"><dir name="Details"><file name="List.php" hash="629a98942f2354a0a10d14e8564fc542"/></dir><file name="Details.php" hash="9431059a450be7a0bb9d69867c2b2b10"/><file name="Form.php" hash="14b1192bea84fbee58e47ff749a004f4"/><dir name="Recommend"><file name="List.php" hash="a8f994f1e5a29abf1f4bbf48e826e1d2"/></dir><file name="Recommend.php" hash="5d4fe965a062adcb51567c93e5adec2f"/><dir name="Search"><file name="List.php" hash="c556a6030e13ae9933bdf16e2ff1ff33"/></dir><file name="Search.php" hash="f194d4fa52fa3e106baa49ffd981de06"/></dir><file name="Tabs.php" hash="51d7b9c59068451c28bf614d42fe303d"/></dir><file name="View.php" hash="a5a5aa835bdbaf1102b50e90dec526a8"/></dir><file name="Awext.php" hash="2e46d78792ff55c3285d77780ba3e784"/></dir><file name="Awext.php" hash="5d627b94fe5a46ab3c5a77debbabcff6"/></dir><dir name="Helper"><file name="Data.php" hash="cb01c88cb51f7576e38209e495593b0f"/></dir><dir name="Model"><file name="Awext.php" hash="1925cb6fd94cc7cd6baecda71964a424"/><dir name="Mysql4"><dir name="Awext"><file name="Collection.php" hash="12afe62372c67a5bd9154695c8d095f3"/></dir><file name="Awext.php" hash="363b3c47f302192e5aa815cde224ae10"/></dir><file name="Observer.php" hash="e85fea849acf03c9353e557588e3f21d"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="AwextController.php" hash="08cabd178385fe6bfebf94fa99454fa9"/></dir><file name="IndexController.php" hash="4a94e784b5bd94e7e5222f533527f9f4"/></dir><dir name="etc"><file name="config.xml" hash="c2c08a809a509d1b65dfa213594ebf07"/></dir><dir name="sql"><dir name="addwish_setup"><file name="mysql4-install-0.0.4.php" hash="77a5d3d50380396c9bd2a9dfdfea8905"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="css"><file name="addwish.css" hash="f8711a6d3845f2c39698ca95064abb4c"/></dir><dir name="images"><dir name="addwish"><file name="addwish.png" hash="a588d24d1919d9206eff40a886b88ef1"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="awext.xml" hash="4b3cd2d742068567c1c5c67fe349114d"/></dir><dir name="template"><dir name="awext"><file name="list.phtml" hash="bb61fbc456f4fc2ff550d0ffbd9e219e"/><file name="recommendations.phtml" hash="c6b1d8078020f427ce5a73e5566537d4"/><file name="search.phtml" hash="bcf56fe0d8728a45ca5421a0d6273385"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="awext.xml" hash="55de3edcbfdd85884f58b322f88cfc27"/></dir><dir name="template"><dir name="addwish"><file name="addwish-head.phtml" hash="c5b6fa2cae55ad1ddd4a5c64f8d532f6"/><file name="basket-span.phtml" hash="43ae1f4ca8daad61d16ef84bbfcab2cf"/><file name="conversion-span.phtml" hash="69ab18c525182edc1b83b0690556ac8c"/><file name="integrator.phtml" hash="a631b2e39787aa89c76065e4177fe218"/><file name="product-span.phtml" hash="3032d1d8fda08828ee085d64d157f2b0"/><file name="search-result-page.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="upsells-page.phtml" hash="ac41002da8c7bb57233599a00053ef77"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Addwish_Awext.xml" hash="fea2883f86536f249670eea31980f72c"/></dir></target></contents>
32
  <compatible/>
33
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
34
  </package>