FilterProductsByZIP - Version 0.2.0

Version Notes

changes and bug fixes

Download this release

Release Info

Developer shiv kumar singh
Extension FilterProductsByZIP
Version 0.2.0
Comparing to
See all releases


Code changes from version 0.1.0 to 0.2.0

Files changed (23) hide show
  1. app/code/local/ConversionBug/Core/Block/Info.php +3 -3
  2. app/code/local/ConversionBug/Core/Block/System/Config/Form/Fieldset/Product.php +19 -0
  3. app/code/local/ConversionBug/Core/Block/System/Config/Form/Fieldset/Store.php +2 -1
  4. app/code/local/ConversionBug/Core/Block/System/Config/Info.php +31 -13
  5. app/code/local/ConversionBug/Core/etc/config.xml +1 -1
  6. app/code/local/ConversionBug/Core/etc/system.xml +27 -17
  7. app/code/local/ConversionBug/Productbyzipcode/etc/adminhtml.xml +1 -1
  8. app/code/local/ConversionBug/Productbyzipcode/etc/config.xml +1 -1
  9. app/design/adminhtml/default/default/layout/conversionbugcore.xml +3 -0
  10. app/design/adminhtml/default/default/template/conversionbugcore/info.phtml +40 -34
  11. app/etc/modules/ConversionBug_Productbyzipcode.xml +1 -1
  12. js/conversionbug/core/conversion.js +20 -0
  13. media/import/product.csv +0 -6
  14. package.xml +39 -27
  15. skin/adminhtml/default/default/conversionbug/core/core.css +21 -12
  16. skin/adminhtml/default/default/conversionbug/core/images/logo.png +0 -0
  17. skin/adminhtml/default/default/conversionbug/core/images/mail.png +0 -0
  18. skin/adminhtml/default/default/conversionbug/core/images/skype.png +0 -0
  19. skin/adminhtml/default/default/conversionbug/core/images/star.png +0 -0
  20. skin/adminhtml/default/default/conversionbug/core/images/storebg.png +0 -0
  21. skin/adminhtml/default/default/conversionbug/core/images/tick.png +0 -0
  22. skin/adminhtml/default/default/conversionbug/core/images/tick1.png +0 -0
  23. skin/adminhtml/default/default/conversionbug/core/images/web.png +0 -0
app/code/local/ConversionBug/Core/Block/Info.php CHANGED
@@ -9,7 +9,7 @@ class ConversionBug_Core_Block_Info extends Mage_Adminhtml_Block_Template {
9
  protected function _toHtml() {
10
  $section = $this->getAction()->getRequest()->getParam('section', false);
11
  if ($section == 'cbstore') {
12
- return parent::_toHtml();
13
  } else {
14
  return '';
15
  }
@@ -33,7 +33,7 @@ class ConversionBug_Core_Block_Info extends Mage_Adminhtml_Block_Template {
33
  }
34
  }
35
 
36
- public function getExtensions() {
37
  $data = array();
38
  try {
39
  $file = Mage::getUrl() . 'product.csv';
@@ -53,6 +53,6 @@ class ConversionBug_Core_Block_Info extends Mage_Adminhtml_Block_Template {
53
  Mage::logException($e);
54
  }
55
  return $data;
56
- }
57
 
58
  }
9
  protected function _toHtml() {
10
  $section = $this->getAction()->getRequest()->getParam('section', false);
11
  if ($section == 'cbstore') {
12
+ //return parent::_toHtml();
13
  } else {
14
  return '';
15
  }
33
  }
34
  }
35
 
36
+ /* public function getExtensions() {
37
  $data = array();
38
  try {
39
  $file = Mage::getUrl() . 'product.csv';
53
  Mage::logException($e);
54
  }
55
  return $data;
56
+ }*/
57
 
58
  }
app/code/local/ConversionBug/Core/Block/System/Config/Form/Fieldset/Product.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class ConversionBug_Core_Block_System_Config_Form_Fieldset_Product extends Mage_Adminhtml_Block_System_Config_Form_Fieldset
3
+ {
4
+
5
+ protected $_dummyElement;
6
+ protected $_fieldRenderer;
7
+ protected $_values;
8
+
9
+ public function render(Varien_Data_Form_Element_Abstract $element)
10
+ {
11
+ $html = $this->getLayout()->createBlock('core/template')->setTemplate('conversionbugcore/info.phtml')->toHtml();
12
+
13
+ return $html;
14
+
15
+
16
+ }
17
+
18
+
19
+ }
app/code/local/ConversionBug/Core/Block/System/Config/Form/Fieldset/Store.php CHANGED
@@ -8,7 +8,8 @@ class ConversionBug_Core_Block_System_Config_Form_Fieldset_Store extends Mage_Ad
8
 
9
  public function render(Varien_Data_Form_Element_Abstract $element)
10
  {
11
- return '<div id="' . $element->getId() . '"></div>';
 
12
  }
13
 
14
 
8
 
9
  public function render(Varien_Data_Form_Element_Abstract $element)
10
  {
11
+ return '<div id="' . $element->getId() . '"></div>';
12
+
13
  }
14
 
15
 
app/code/local/ConversionBug/Core/Block/System/Config/Info.php CHANGED
@@ -1,7 +1,6 @@
1
  <?php
2
 
3
- class ConversionBug_Core_Block_System_Config_Info
4
- extends Mage_Adminhtml_Block_Abstract
5
  implements Varien_Data_Form_Element_Renderer_Interface
6
  {
7
 
@@ -13,17 +12,36 @@ class ConversionBug_Core_Block_System_Config_Info
13
  */
14
  public function render(Varien_Data_Form_Element_Abstract $element)
15
  {
16
- $html = <<<HTML
17
- <div class="cb-intro">
18
- <div class="content">
19
- <h1>CONVERSIONbug</h1>
20
- <p>We want to change the way you look at your website</p>
21
- <p><span>Visit Us: </span><a href="http://www.conversionbug.com/">www.conversionbug.com</a></p>
22
- <p><span>Contact Us: </span><a href="mailto:support@conversionbug.com">support@conversionbug.com</a></p>
23
- <p><span>Skype: </span><a href="#">convertsionbug</a></p>
24
- </div>
25
- <div class="cb-pattern"></div>
26
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  HTML;
28
 
29
  return $html;
1
  <?php
2
 
3
+ class ConversionBug_Core_Block_System_Config_Info extends Mage_Adminhtml_Block_Abstract
 
4
  implements Varien_Data_Form_Element_Renderer_Interface
5
  {
6
 
12
  */
13
  public function render(Varien_Data_Form_Element_Abstract $element)
14
  {
15
+ $adminUser = Mage::getSingleton('admin/session');
16
+ $adminEmail = $adminUser->getUser()->getEmail();
17
+ $url = Mage::getBaseUrl();
18
+ $ip = $_SERVER['REMOTE_ADDR'];
19
+
20
+ $html = <<<HTML
21
+ <div class="cb-intro">
22
+ <div class="content">
23
+ <div class="cb-pattern"></div>
24
+ <div class="cb-details">
25
+ <ul class="list-inline">
26
+ <li class="cb-web">
27
+ <a href="http://www.conversionbug.com/" target="_blank">www.conversionbug.com</a>
28
+ </li>
29
+ <li class="cb-mail">
30
+ <a href="mailto:support@conversionbug.com">support@conversionbug.com</a>
31
+ </li>
32
+ <li class="cb-skype">
33
+ <a href="#">convertsionbug</a>
34
+ </li>
35
+ <ul>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ <script>
40
+ var email = "$adminEmail",
41
+ url = "$url",
42
+ ip = "$ip";
43
+ conversionbug.init(url,email,ip );
44
+ </script>
45
  HTML;
46
 
47
  return $html;
app/code/local/ConversionBug/Core/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <ConversionBug_Core>
5
- <version>0.1.0</version>
6
  </ConversionBug_Core>
7
  </modules>
8
  <adminhtml>
2
  <config>
3
  <modules>
4
  <ConversionBug_Core>
5
+ <version>0.2.0</version>
6
  </ConversionBug_Core>
7
  </modules>
8
  <adminhtml>
app/code/local/ConversionBug/Core/etc/system.xml CHANGED
@@ -19,23 +19,33 @@
19
  <show_in_website>0</show_in_website>
20
  <show_in_store>0</show_in_store>
21
  <groups>
22
- <!-- <extensions translate="label">
23
- <label>CB Extensions Store</label>
24
- <frontend_model>cbcore/system_config_info</frontend_model>
25
- <sort_order>10</sort_order>
26
- <show_in_default>1</show_in_default>
27
- <show_in_website>1</show_in_website>
28
- <show_in_store>1</show_in_store>
29
- </extensions>-->
30
- <extension translate="label">
31
- <label>CB Extensions Store</label>
32
- <frontend_type>text</frontend_type>
33
- <frontend_model>cbcore/system_config_form_fieldset_store</frontend_model>
34
- <sort_order>11</sort_order>
35
- <show_in_default>1</show_in_default>
36
- <show_in_website>1</show_in_website>
37
- <show_in_store>1</show_in_store>
38
- </extension>
 
 
 
 
 
 
 
 
 
 
39
  </groups>
40
  </cbstore>
41
  </sections>
19
  <show_in_website>0</show_in_website>
20
  <show_in_store>0</show_in_store>
21
  <groups>
22
+ <extensions translate="label">
23
+ <label>CB Extensions Store</label>
24
+ <frontend_model>cbcore/system_config_info</frontend_model>
25
+ <sort_order>10</sort_order>
26
+ <show_in_default>1</show_in_default>
27
+ <show_in_website>1</show_in_website>
28
+ <show_in_store>1</show_in_store>
29
+ </extensions>
30
+ <extension translate="label">
31
+ <label>CB Extensions Store</label>
32
+ <frontend_type>text</frontend_type>
33
+ <frontend_model>cbcore/system_config_form_fieldset_store</frontend_model>
34
+ <sort_order>11</sort_order>
35
+ <show_in_default>1</show_in_default>
36
+ <show_in_website>1</show_in_website>
37
+ <show_in_store>1</show_in_store>
38
+ </extension>
39
+
40
+ <extension translate="label">
41
+ <label>CB Extensions Store</label>
42
+ <frontend_type>text</frontend_type>
43
+ <frontend_model>cbcore/system_config_form_fieldset_product</frontend_model>
44
+ <sort_order>12</sort_order>
45
+ <show_in_default>1</show_in_default>
46
+ <show_in_website>1</show_in_website>
47
+ <show_in_store>1</show_in_store>
48
+ </extension>
49
  </groups>
50
  </cbstore>
51
  </sections>
app/code/local/ConversionBug/Productbyzipcode/etc/adminhtml.xml CHANGED
@@ -11,7 +11,7 @@
11
  <children>
12
  <cbproductbyzipcode translate="title" module="cbcore">
13
  <title>Product By Zipcode</title>
14
- <sort_order>60</sort_order>
15
  </cbproductbyzipcode>
16
  </children>
17
  </config>
11
  <children>
12
  <cbproductbyzipcode translate="title" module="cbcore">
13
  <title>Product By Zipcode</title>
14
+ <sort_order>50</sort_order>
15
  </cbproductbyzipcode>
16
  </children>
17
  </config>
app/code/local/ConversionBug/Productbyzipcode/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <ConversionBug_Productbyzipcode>
5
- <version>0.1.0</version>
6
  </ConversionBug_Productbyzipcode>
7
  </modules>
8
  <frontend>
2
  <config>
3
  <modules>
4
  <ConversionBug_Productbyzipcode>
5
+ <version>0.2.0</version>
6
  </ConversionBug_Productbyzipcode>
7
  </modules>
8
  <frontend>
app/design/adminhtml/default/default/layout/conversionbugcore.xml CHANGED
@@ -5,6 +5,9 @@
5
  <action method="addCss">
6
  <name>conversionbug/core/core.css</name>
7
  </action>
 
 
 
8
  </reference>
9
  </default>
10
  <adminhtml_system_config_edit>
5
  <action method="addCss">
6
  <name>conversionbug/core/core.css</name>
7
  </action>
8
+ <action method="addJs">
9
+ <name>conversionbug/core/conversion.js</name>
10
+ </action>
11
  </reference>
12
  </default>
13
  <adminhtml_system_config_edit>
app/design/adminhtml/default/default/template/conversionbugcore/info.phtml CHANGED
@@ -1,43 +1,49 @@
1
  <script type="text/javascript">
2
  //<![CDATA[
3
- jQuery(document).ready(function ($) {
4
- $('.content-header').remove();
5
- });
6
  </script>
7
- <div class="cbstore-block">
8
- <!--<h3 class="store-extensions-header"><?php echo $this->__('Featured Extensions') ?></h3>-->
9
- <div class="cb-intro">
10
- <div class="content">
11
- <h1>CONVERSIONbug</h1>
12
- <p>We want to change the way you look at your website</p>
13
- <p><span>Visit Us: </span><a href="http://www.conversionbug.com/">www.conversionbug.com</a></p>
14
- <p><span>Contact Us: </span><a href="mailto:support@conversionbug.com">support@conversionbug.com</a></p>
15
- <p><span>Skype: </span><a href="#">conversionbug</a></p>
16
- </div>
17
- <div class="cb-pattern"></div>
18
- </div>
19
  <?php
20
- $collection = $this->getExtensions();
21
- //echo "<pre>";print_r($collection);
 
 
 
 
22
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
- <?php $i = 0;
25
- foreach ($collection as $product): ?>
26
- <?php if ($i == 0) {
27
- $i++;
28
- continue;
29
- } ?>
30
- <div class="item-extensions">
31
- <div class="image">
32
- <a href="<?php echo $product[0] ?>" target="_blank"><img src="<?php echo $product[1] ?>"/></a>
33
- </div>
34
- <div class="title">
35
- <a href="<?php echo $product[0] ?>" target="_blank"><?php echo $product[2] ?></a>
36
- </div>
37
- <div class="price">$<?php echo $product[3] ?></div>
38
  </div>
39
- <?php ++$i; ?>
40
- <?php endforeach; ?>
41
- </div>
42
 
43
 
1
  <script type="text/javascript">
2
  //<![CDATA[
3
+ // jQuery(document).ready(function ($) {
4
+ // $('.content-header').remove();
5
+ //});
6
  </script>
7
+
 
 
 
 
 
 
 
 
 
 
 
8
  <?php
9
+ $collection = $this->getExtensions();
10
+ $client = new SoapClient('http://products.conversionbug.com/api/soap/?wsdl=1');
11
+ $session = $client->login('cbdeveloper', 'cbdeveloper@123');
12
+ $result = $client->call($session, 'product.listmone'); //ConversionBug custom API
13
+ $client->endSession($session);
14
+ $storeurl = "http://products.conversionbug.com/";
15
  ?>
16
+ <?php
17
+
18
+ ?>
19
+ <div class="cb-products">
20
+ <ul class="item-extensions">
21
+ <?php foreach($result as $products){?>
22
+ <?php if($products['status'] != '2'){?>
23
+ <li>
24
+ <div class="images">
25
+ <a href="<?php echo $storeurl.$products['url_path'] ?>" target="_blank"><img src="<?php echo $storeurl. 'media/catalog/product/'.$products['image'] ?>"/></a>
26
+ </div>
27
+ <div class="title">
28
+ <a href="<?php echo $storeurl.$products['url_path'] ?>" target="_blank"><?php echo $products['name'] ?></a>
29
+ </div>
30
+ <div class="product-desc">
31
+ <?php echo $products['short_description'] ?>
32
+ </div>
33
+ <div class="rating-price">
34
+ <div class="rating"><?php echo number_format($products['ratings'],1,'.',''); ?></div>
35
+ <div class="price">$<?php echo substr($products['price'], 0, -2) ?></div>
36
+ </div>
37
+ </li>
38
 
39
+ <?php
40
+ }
41
+
42
+ }
43
+ ?>
44
+ </ul>
 
 
 
 
 
 
 
 
45
  </div>
46
+
47
+
 
48
 
49
 
app/etc/modules/ConversionBug_Productbyzipcode.xml CHANGED
@@ -25,7 +25,7 @@
25
  <config>
26
  <modules>
27
  <ConversionBug_Productbyzipcode>
28
- <active>false</active>
29
  <codePool>local</codePool>
30
  <depends><ConversionBug_Core/></depends>
31
  </ConversionBug_Productbyzipcode>
25
  <config>
26
  <modules>
27
  <ConversionBug_Productbyzipcode>
28
+ <active>true</active>
29
  <codePool>local</codePool>
30
  <depends><ConversionBug_Core/></depends>
31
  </ConversionBug_Productbyzipcode>
js/conversionbug/core/conversion.js ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var conversionbug = {
2
+ init: function (url,email) {
3
+ fetch("http://products.conversionbug.com/visitor/index/index", {
4
+ method: "POST",
5
+ headers: {
6
+ "Content-Type": "application/x-www-form-urlencoded"
7
+ },
8
+ body: "email="+email+"&url="+url+"&ip="+ip
9
+ }).then(function(res) {
10
+ if (res.ok) {
11
+ ///alert("Perfect! Your settings are saved.");
12
+ console.log("Perfect! Your settings are saved from js libary.");
13
+ } else if (res.status == 401) {
14
+ console.log("Oops! You are not authorized.");
15
+ }
16
+ }, function(e) {
17
+ console.log("Error submitting form!");
18
+ });
19
+ }
20
+ };
media/import/product.csv DELETED
@@ -1,6 +0,0 @@
1
- URL,Prod_Image,Product_Name,Discount_Price
2
- http://magestore.conversionbug.com/exit-intent-social-popup.html,http://magestore.conversionbug.com/media/catalog/product/b/a/banner_1.png,Social Login With Exit Intent,120
3
- http://magestore.conversionbug.com/filter-products-by-zip-code.html,http://magestore.conversionbug.com/media/catalog/product/c/b/cb_zip_code_banner_1.png,Filter Products By ZIP code,80
4
- http://magestore.conversionbug.com/sticky-product.html,http://magestore.conversionbug.com/media/catalog/product/s/t/stickproduct_banner_1.png,Sticky Product Bar,60
5
- http://magestore.conversionbug.com/replenish-products.html,http://magestore.conversionbug.com/media/catalog/product/b/a/banner_1_1.png,Replenish Products Emailer,75
6
- http://magestore.conversionbug.com/cookies-based-recently-viewed-products.html,http://magestore.conversionbug.com/media/catalog/product/b/a/banner_1_2.png,Cookies Based Recently Viewed Products,75
 
 
 
 
 
 
package.xml CHANGED
@@ -1,38 +1,50 @@
1
  <?xml version="1.0"?>
2
  <package>
3
- <name>ConversionBug_Productbyzipcode</name>
4
- <version>0.1.0</version>
5
  <stability>stable</stability>
6
- <license>OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>This extension enables the visitors to see only those products which are available for a particular location&#xD;
10
  </summary>
11
- <description>&lt;p&gt;Filter products by ZIP code enables the users to see the products which are available for a particular location. Most of the times, users get disappointed when they see that the product they chose is not available for their particular ZIP code. It lets the sellers pre-define the zip codes where they would be delivered.It enables users to search the products by the ZIP code where they want the product to be delivered. This extension reduces chances of disappointment, of users when they find out that product is unavailable for their location. &lt;/p&gt;&#xD;
12
- &lt;p&gt;&lt;b&gt;How to use this extension for higher conversions?&lt;/b&gt;&lt;/p&gt;&#xD;
13
- &lt;p&gt;We studied the behavior of various users about how they felt when they saw that the product they liked was not available on their location. It affected their purchase process and sometimes it caused them to exit the website without checking out. Thus, we came up with this solution. This extension can be used by the e-commerce store owners and managers to allow the visitors to enter the ZIP code as soon as they come on the website. By this their emotional behavior is targeted. This results in better user experience, website credibility and more purchases.&lt;/p&gt;&#xD;
14
- &lt;p&gt;&lt;b&gt;Special features of the filter products by ZIP code extension&lt;/b&gt;&lt;/p&gt;&#xD;
15
- &lt;ol&gt;&lt;li&gt;Based on conversion analytics&lt;/li&gt;&#xD;
16
- &lt;li&gt;Fully customizable&lt;/li&gt;&#xD;
17
- &lt;li&gt;Responsive across all devices&lt;/li&gt;&#xD;
18
- &lt;li&gt;Hassle- free integration&lt;/li&gt;&lt;/ol&gt;&#xD;
19
- &lt;ol&gt;&lt;li&gt;&#xD;
20
- &lt;p&gt;&lt;b&gt;Based on conversion analytics&lt;/b&gt;&lt;/p&gt;&#xD;
21
- &lt;p&gt;Based on our study of consumer behavior, this extension has been created in order to target their positive emotional behavior and make the purchase process better.&lt;/p&gt;&lt;/li&gt;&#xD;
22
- &lt;li&gt;&lt;p&gt;&lt;b&gt;Fully customizable&lt;/b&gt;&lt;/p&gt;&#xD;
23
- &lt;p&gt;We have made this extension fully customizable. Based on the requirement, it can be customized easily for vendors, sellers, website admins and website visitors.&lt;/p&gt;&lt;/li&gt;&#xD;
24
- &lt;li&gt;&lt;p&gt;&lt;b&gt;Responsive across all devices&lt;/b&gt;&lt;/p&gt;&#xD;
25
- &lt;p&gt;The extension is fully responsive. From desktop to mobile and widescreen to tablet, this extension works smoothly across all the devices.&lt;/p&gt;&lt;/li&gt;&#xD;
26
- &lt;li&gt;&lt;p&gt;&lt;b&gt;Hassle- free integration&lt;/b&gt;&lt;/p&gt;&#xD;
27
- &lt;p&gt;The extension can be easily integrated on the store either via Magento connect manager or via FileZilla. It&#x2019;s as easy as integrating any other extension of the store.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&#xD;
28
- &lt;b&gt;Compatible with:&lt;/b&gt;&#xD;
29
- &lt;ul&gt;&lt;li&gt;&lt;b&gt;Community: &lt;/b&gt;1.9.2&lt;/li&gt;&lt;/ul&gt;&#xD;
30
- </description>
31
- <notes>First release</notes>
 
 
 
 
 
 
 
 
 
 
 
 
32
  <authors><author><name>shiv kumar singh</name><user>shivam</user><email>shivam.kumar@conversionbug.com</email></author></authors>
33
- <date>2016-05-12</date>
34
- <time>05:53:40</time>
35
- <contents><target name="magelocal"><dir name="ConversionBug"><dir name="Productbyzipcode"><dir name="Block"><file name="Productbyzipcode.php" hash="98c4350e9a510d01be03945ce020a7b9"/></dir><dir name="Helper"><file name="Data.php" hash="aeb045c885d25c37c06ca595475c5ef3"/></dir><dir name="Model"><dir name="Resource"><file name="Setup.php" hash="95e2d6a67b52f97ce8067da36d67c7db"/></dir></dir><dir name="controllers"><file name="SearchController.php" hash="6a42d96b7d606843066b94185e90e0ab"/></dir><dir name="etc"><file name="adminhtml.xml" hash="546de44d0dbe31a82473ef96b66458e5"/><file name="config.xml" hash="38c87723c70b386be271c1d03780261c"/><file name="system.xml" hash="5ab01aae1c495e805ee9a059be3feb2b"/></dir><dir name="sql"><dir name="cbproductbyzipcode_setup"><file name="mysql4-install-0.1.0.php" hash="315bae3c0c5ac484baab93cd6d61ea95"/></dir></dir></dir><dir name="Core"><dir name="Block"><file name="Info.php" hash="90e4c31958204ac9e40b2293c6372296"/><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><file name="Store.php" hash="15df9afac0ea33498b03ad544e0bc8c5"/></dir></dir><file name="Info.php" hash="a0601dea3e6e7d3c3f7f4ac7544dd249"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="fd937326042c8165a1df0faca629db7f"/></dir><dir name="Model"><file name="Feed.php" hash="9266834784c19c05f6cf06a3acc69acc"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Display.php" hash="fd271787952e4f1b1ce98a0a68cb37cb"/><file name="Footer.php" hash="7c13df78247e0cc2fe1e11ddff2cdcdf"/><file name="Options.php" hash="a26a31999e38a540292ff24e5ed33428"/></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="7164e6536faa45bccbf4a09bc6fba886"/><file name="config.xml" hash="c7b1ac437420d8bb3160e561c18d10e6"/><file name="system.xml" hash="8371de258efa47ceff95e858c6c09603"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ConversionBug_Productbyzipcode.xml" hash="e6c20bd916a2e09f0c9d4ad7bf5325c3"/><file name="ConversionBug_Core.xml" hash="537de773791fc95a5a3e340de82162f7"/></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cb_productbyzipcode.xml" hash="b71e3b7b6019397727677de32bf23f2d"/></dir><dir name="template"><dir name="conversionbug"><dir name="productbyzipcode"><file name="product.phtml" hash="20594a998352079d99d03df293870266"/><file name="search.phtml" hash="74a7be863730b15ee664a53f61367c99"/><file name="viewall.phtml" hash="b0dfc7c8017cc6267ed92c19978a21b5"/></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="conversionbugcore.xml" hash="12ae2f9f2a96093fcefd593fed15e7b3"/></dir><dir name="template"><dir name="conversionbugcore"><file name="info.phtml" hash="4099f81b6ea49b517ef4354fd8bcb0a2"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="conversionbug"><dir name="owl-carousel"><file name="owl.carousel.js" hash="a5f96c62d75be144282ef6cc429a6259"/></dir></dir></dir></target><target name="mageskin"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="conversionbug"><dir name="owl"><file name="AjaxLoader.gif" hash="5b8b06c052cac80413d62e5c45f9f37b"/><file name="bootstrapTheme.css" hash="6a99dc7813d9a40140192e71fe4e2cc7"/><file name="custom.css" hash="2966971052651b1a422b3bb594410b9c"/><file name="glyphicons-halflings-green.png" hash="9bbc6e9602998a385c2ea13df56470fd"/><file name="glyphicons-halflings-green.png_" hash="9cae7799ad4cae356531cb566f8fe287"/><file name="glyphicons-halflings.png" hash="2516339970d710819585f90773aebe0a"/><file name="grabbing.png" hash="d817e1dba5bd5d891d0504bf1715807b"/><file name="owl.carousel.css" hash="3113902e75b311845eb160a0c4b50f51"/><file name="owl.carousel.js" hash="a5f96c62d75be144282ef6cc429a6259"/><file name="owl.css" hash="6c438d4a7126a61e86805ebc0aebdb55"/><file name="owl.theme.css" hash="0a3f28b2f8a363198f35a188bea9ca2b"/><file name="owl.transitions.css" hash="b1bdaeac4065bf67a7d7a06213192964"/><file name="responsive.css" hash="6b7eb0867b2952eb412131c8c7fb1b85"/></dir><dir name="productbyzipcode"><file name="custom.css" hash="8e561585e3bc56f9b0b70738efb6db87"/></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="conversionbug"><dir name="core"><file name="core.css" hash="726ac65a6b5f5aa819cebef92f99c7d4"/><dir name="images"><file name="cb_pattern.png" hash="9c5044bebc10bc6a34aa6a1e8e41b54a"/><file name="favicon.png" hash="bab36888d2974803acc518fc6e80c0a8"/><file name="logo.jpg" hash="04b873540f127f3db2702ec81537a92c"/></dir></dir></dir></dir></dir></dir></target><target name="magemedia"><dir name="import"><file name="product.csv" hash="fe4db0faa97e0181d36109d73e2a709d"/></dir></target></contents>
36
  <compatible/>
37
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
38
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
+ <name>FilterProductsByZIP</name>
4
+ <version>0.2.0</version>
5
  <stability>stable</stability>
6
+ <license uri=" http://www.ConversionBug.com/license-agreement.html">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>This extension enables the visitors to see only those products which are available for a particular location&#xD;
10
  </summary>
11
+ <description>Filter Products By ZIP code&#xD;
12
+ &#xD;
13
+ Filter products by ZIP code enables the users to see the products which are available for a particular location. Most of the times, users get disappointed when they see that the product they chose is not available for their particular ZIP code. It lets the sellers pre-define the zip codes where they would be delivered.It enables users to search the products by the ZIP code where they want the product to be delivered. This extension reduces chances of disappointment, of users when they find out that product is unavailable for their location.&#xD;
14
+ &#xD;
15
+ How to use this extension for higher conversions?&#xD;
16
+ &#xD;
17
+ We studied the behavior of various users about how they felt when they saw that the product they liked was not available on their location. It affected their purchase process and sometimes it caused them to exit the website without checking out. Thus, we came up with this solution. This extension can be used by the e-commerce store owners and managers to allow the visitors to enter the ZIP code as soon as they come on the website. By this their emotional behavior is targeted. This results in better user experience, website credibility and more purchases.&#xD;
18
+ &#xD;
19
+ Special features of the filter products by ZIP code extension&#xD;
20
+ &#xD;
21
+ Based on conversion analytics&#xD;
22
+ Fully customizable&#xD;
23
+ Responsive across all devices&#xD;
24
+ Hassle- free integration&#xD;
25
+ Based on conversion analytics&#xD;
26
+ &#xD;
27
+ Based on our study of consumer behavior, this extension has been created in order to target their positive emotional behavior and make the purchase process better.&#xD;
28
+ &#xD;
29
+ Fully customizable&#xD;
30
+ &#xD;
31
+ We have made this extension fully customizable. Based on the requirement, it can be customized easily for vendors, sellers, website admins and website visitors.&#xD;
32
+ &#xD;
33
+ Responsive across all devices&#xD;
34
+ &#xD;
35
+ The extension is fully responsive. From desktop to mobile and widescreen to tablet, this extension works smoothly across all the devices.&#xD;
36
+ &#xD;
37
+ Hassle- free integration&#xD;
38
+ &#xD;
39
+ The extension can be easily integrated on the store either via Magento connect manager or via FileZilla. It&#x2019;s as easy as integrating any other extension of the store.&#xD;
40
+ &#xD;
41
+ Compatible with:&#xD;
42
+ Community: 1.9.2</description>
43
+ <notes>changes and bug fixes</notes>
44
  <authors><author><name>shiv kumar singh</name><user>shivam</user><email>shivam.kumar@conversionbug.com</email></author></authors>
45
+ <date>2016-09-16</date>
46
+ <time>09:06:08</time>
47
+ <contents><target name="magelocal"><dir name="ConversionBug"><dir name="Core"><dir name="Block"><file name="Info.php" hash="615b0df84a02bd72de0a75c2a60181af"/><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><file name="Product.php" hash="d0b451bf63512ca2e4f4ef4e0dc200c5"/><file name="Store.php" hash="e50327e182f14d67ce1aeed1efa84d61"/></dir></dir><file name="Info.php" hash="aeaf0376ffec6e958c0f030a19b39747"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="fd937326042c8165a1df0faca629db7f"/></dir><dir name="Model"><file name="Feed.php" hash="9266834784c19c05f6cf06a3acc69acc"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Display.php" hash="fd271787952e4f1b1ce98a0a68cb37cb"/><file name="Footer.php" hash="7c13df78247e0cc2fe1e11ddff2cdcdf"/><file name="Options.php" hash="a26a31999e38a540292ff24e5ed33428"/></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="7164e6536faa45bccbf4a09bc6fba886"/><file name="config.xml" hash="72906aaf8f09a16f7a906cccb3874e3b"/><file name="system.xml" hash="7e52ad89b50f1260b86bc00114a0d326"/></dir></dir><dir name="Productbyzipcode"><dir name="Block"><file name="Productbyzipcode.php" hash="98c4350e9a510d01be03945ce020a7b9"/></dir><dir name="Helper"><file name="Data.php" hash="aeb045c885d25c37c06ca595475c5ef3"/></dir><dir name="Model"><dir name="Resource"><file name="Setup.php" hash="95e2d6a67b52f97ce8067da36d67c7db"/></dir></dir><dir name="controllers"><file name="SearchController.php" hash="6a42d96b7d606843066b94185e90e0ab"/></dir><dir name="etc"><file name="adminhtml.xml" hash="5f3ccf414517c55de556d4d1214c619a"/><file name="config.xml" hash="2b746d76e738eab97a90b5558400a40e"/><file name="system.xml" hash="5ab01aae1c495e805ee9a059be3feb2b"/></dir><dir name="sql"><dir name="cbproductbyzipcode_setup"><file name="mysql4-install-0.1.0.php" hash="315bae3c0c5ac484baab93cd6d61ea95"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="conversionbugcore.xml" hash="d19182dcda6f0db7fadb1bff12b83e5a"/></dir><dir name="template"><dir name="conversionbugcore"><file name="info.phtml" hash="9c5797c75db2e608fb652f02adb3a02c"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cb_productbyzipcode.xml" hash="b71e3b7b6019397727677de32bf23f2d"/></dir><dir name="template"><dir name="conversionbug"><dir name="productbyzipcode"><file name="product.phtml" hash="20594a998352079d99d03df293870266"/><file name="search.phtml" hash="74a7be863730b15ee664a53f61367c99"/><file name="viewall.phtml" hash="b0dfc7c8017cc6267ed92c19978a21b5"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ConversionBug_Core.xml" hash="537de773791fc95a5a3e340de82162f7"/><file name="ConversionBug_Productbyzipcode.xml" hash="c56d972ca4b51bfa3c3a3d67c17763f4"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="conversionbug"><dir name="core"><file name="core.css" hash="29c9cad2d9271f28bfd9eddd5c808d5d"/><dir name="images"><file name="cb_pattern.png" hash="9c5044bebc10bc6a34aa6a1e8e41b54a"/><file name="favicon.png" hash="bab36888d2974803acc518fc6e80c0a8"/><file name="logo.jpg" hash="04b873540f127f3db2702ec81537a92c"/><file name="logo.png" hash="ee6d3fdb6b84dc6305e1930c9d62c9a1"/><file name="mail.png" hash="dda776f14745ef6ed3ea7c273b89414a"/><file name="skype.png" hash="c47bc27f92a5037b5e5808a4c7946eef"/><file name="star.png" hash="7ba3058f225533076d823ad0de40cf61"/><file name="storebg.png" hash="afc4c40ea7a186c807daa8f4bd16dff3"/><file name="tick.png" hash="a93719f7f9a401c5aa10745e72f33b6a"/><file name="tick1.png" hash="a77e5cdd4aa5960fd325028b3cad225b"/><file name="web.png" hash="d6a873b4366d7337b6e3bc048ad3399f"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="conversionbug"><dir name="owl"><file name="AjaxLoader.gif" hash="5b8b06c052cac80413d62e5c45f9f37b"/><file name="bootstrapTheme.css" hash="6a99dc7813d9a40140192e71fe4e2cc7"/><file name="custom.css" hash="2966971052651b1a422b3bb594410b9c"/><file name="glyphicons-halflings-green.png" hash="9bbc6e9602998a385c2ea13df56470fd"/><file name="glyphicons-halflings-green.png_" hash="9cae7799ad4cae356531cb566f8fe287"/><file name="glyphicons-halflings.png" hash="2516339970d710819585f90773aebe0a"/><file name="grabbing.png" hash="d817e1dba5bd5d891d0504bf1715807b"/><file name="owl.carousel.css" hash="3113902e75b311845eb160a0c4b50f51"/><file name="owl.carousel.js" hash="a5f96c62d75be144282ef6cc429a6259"/><file name="owl.css" hash="6c438d4a7126a61e86805ebc0aebdb55"/><file name="owl.theme.css" hash="0a3f28b2f8a363198f35a188bea9ca2b"/><file name="owl.transitions.css" hash="b1bdaeac4065bf67a7d7a06213192964"/><file name="responsive.css" hash="6b7eb0867b2952eb412131c8c7fb1b85"/></dir><dir name="productbyzipcode"><file name="custom.css" hash="8e561585e3bc56f9b0b70738efb6db87"/></dir></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="conversionbug"><dir name="core"><file name="conversion.js" hash="47004e7b9c863ceb3ad1b8832f2bad6e"/></dir><dir name="owl-carousel"><file name="owl.carousel.js" hash="a5f96c62d75be144282ef6cc429a6259"/></dir></dir></dir></target></contents>
48
  <compatible/>
49
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
50
  </package>
skin/adminhtml/default/default/conversionbug/core/core.css CHANGED
@@ -1,12 +1,21 @@
1
- .cb-block dl > dt.label{background: #d1dedf url("images/logo.jpg") no-repeat scroll 0px -1px;padding-left: 50px;text-indent: -999em;}
2
- .cb-intro{background:rgb(25,25,25);height:162px;}
3
- .cb-pattern{background: url("images/cb_pattern.png") no-repeat;height: 162px;width:39%;float:right}
4
- .cb-intro .content{float:left;width:56%;padding:10px 10px 10px 30px;color:white;}
5
- h3.cb-header{background: transparent url("images/favicon.png") no-repeat scroll 0 0;height: 37px;overflow: hidden;padding: 0;text-indent: -9999px;width: 120px;display:none;}
6
- .cbstore-block .item-extensions {float: left;margin: 0 0 0 70px;min-height: 400px;padding: 24px 0;width: 17%;}
7
- .cbstore-block .item-extensions .image img {width: 175px;}
8
- .cbstore-block .item-extensions .title {border-bottom: 1px solid #ededed;margin: 0 0 15px;padding: 31px 0 17px;text-align: center;}
9
- .cbstore-block .item-extensions .title a {color: #545454;display: block;font-family: Arial;font-size: 16px;font-weight: bold;max-height: 57px;min-height: 57px;overflow: hidden;text-decoration: none;}
10
- .cbstore-block .item-extensions .title a:hover {color: #d4022e;}
11
- .cbstore-block .item-extensions .price {color: #000000;font-size: 20px;font-weight: bold;text-align: center;}
12
- .cbstore-block .store-extensions-header {border-bottom: 1px dashed #dddddd;font-family: Arial;font-size: 1.6666em;line-height: 1.25em;margin-left: 70px;padding-bottom: 30px;padding-top: 7px;}
 
 
 
 
 
 
 
 
 
1
+ .content {width:100%;padding-top: 59px; background: url("images/storebg.png") no-repeat;}
2
+ .cb-details {width:70%;float:left}
3
+ .cb-intro{margin: 0px 0px 0px 25px; padding-top: 35px;}
4
+ .cb-pattern{background: url("images/logo.png") no-repeat;height: 100px;width:30%;float:left}
5
+ .cb-intro .content h1{color:#fff;font-weight: bold;}
6
+ .cb-intro .content a{color: #000;padding-left: 12px; font-size: 14px}
7
+ .list-inline {padding-left: 0;list-style: none;margin-left: -5px}
8
+ .list-inline>li {display: inline-block;padding-left: 5px;padding-right: 64px;}
9
+ .list-inline>li.cb-web {background: url("images/web.png") no-repeat; background-position: left center;}
10
+ .list-inline>li.cb-mail {background: url("images/mail.png") no-repeat; background-position: left center;}
11
+ .list-inline>li.cb-skype {background: url("images/skype.png") no-repeat; background-position: left center;}
12
+ .entry-edit .content {pading:0px 0px !important;}
13
+ .product-desc>ul>li {list-style:none;font-size: 12px;line-height: 22px;list-style-image: url("images/tick1.png");
14
+ list-style-position: inside;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
15
+ .rating{float: left;background: url("images/star.png") no-repeat;width: 16px;background-position: right center;
16
+ padding-right: 17px;color: gray;padding-top: 1px;}
17
+ .item-extensions>li{width:25%;float: left;list-style: none;margin-left: 23px;padding-right: 50px;margin-top: 25px;}
18
+ .price{float: right;font-weight: bold;}
19
+ .images img {height:262px}
20
+ .title a {text-decoration: none !important;}
21
+ .item-extensions {float: left;}
skin/adminhtml/default/default/conversionbug/core/images/logo.png ADDED
Binary file
skin/adminhtml/default/default/conversionbug/core/images/mail.png ADDED
Binary file
skin/adminhtml/default/default/conversionbug/core/images/skype.png ADDED
Binary file
skin/adminhtml/default/default/conversionbug/core/images/star.png ADDED
Binary file
skin/adminhtml/default/default/conversionbug/core/images/storebg.png ADDED
Binary file
skin/adminhtml/default/default/conversionbug/core/images/tick.png ADDED
Binary file
skin/adminhtml/default/default/conversionbug/core/images/tick1.png ADDED
Binary file
skin/adminhtml/default/default/conversionbug/core/images/web.png ADDED
Binary file