lr_callprice - Version 0.1.2

Version Notes

Hides the price and the add to cart button for specific products and replaces it with a Call For Price Button

Download this release

Release Info

Developer Mitesh Prajapati
Extension lr_callprice
Version 0.1.2
Comparing to
See all releases


Code changes from version 0.1.1 to 0.1.2

app/code/local/LR/CallPrice/controllers/FormController.php CHANGED
@@ -1,6 +1,10 @@
1
  <?php
2
  class LR_CallPrice_FormController extends Mage_Core_Controller_Front_Action
3
  {
 
 
 
 
4
  public function loadformAction()
5
  {
6
  /*$this->loadLayout();
@@ -9,23 +13,9 @@ class LR_CallPrice_FormController extends Mage_Core_Controller_Front_Action
9
  $request_form = $this->getLayout()->createBlock('lr_callprice/form','callforprice.form')->setTemplate('lr/callprice/callforprice_form.phtml')->toHtml();
10
  $this->getResponse()->setBody(Mage::helper('core')->jsonEncode(array('success' => $success,'request_form' => $request_form)));
11
  }
12
- protected function _sendEmailTo()
13
- {
14
- return Mage::getStoreConfig('catalog/call_for_price/send_email_to');
15
- }
16
- protected function _emailSender()
17
- {
18
- return Mage::getStoreConfig('catalog/call_for_price/email_sender');
19
- }
20
- protected function _sendEmailTemplate()
21
- {
22
- return Mage::getStoreConfig('catalog/call_for_price/email_template');
23
- }
24
-
25
-
26
  public function submitAction()
27
  {
28
-
29
  if ($this->getRequest()->getPost())
30
  {
31
  $cp = Mage::getModel('lr_callprice/request');
@@ -44,22 +34,29 @@ class LR_CallPrice_FormController extends Mage_Core_Controller_Front_Action
44
  try
45
  {
46
  $cp->save();
47
-
48
- /* Send email to Admin */
49
- $templateId = $this->_sendEmailTemplate();
50
- $emailTemplate = Mage::getModel('core/email_template')
51
- ->load($templateId);
52
-
53
- //Create an array of variables to assign to template
54
- $data = array();
55
- $data['name'] = $name;
56
- $data['email'] = $email;
57
- $data['telephone'] = $telephone;
58
- $data['details']= $details;
59
- $data['status']= "New";
60
- // $processedTemplate = $emailTemplate->getProcessedTemplate($emailTemplateVariables);
61
- $emailTemplate->send($this->_sendEmailTo(),$this->_emailSender(), $data);
62
-
 
 
 
 
 
 
 
63
  $success =true;
64
  $message = $this->__('Your request is accepted.');
65
  }
1
  <?php
2
  class LR_CallPrice_FormController extends Mage_Core_Controller_Front_Action
3
  {
4
+ const XML_PATH_EMAIL_RECIPIENT = 'catalog/call_for_price/send_email_to';
5
+ const XML_PATH_EMAIL_SENDER = 'catalog/call_for_price/email_sender';
6
+ const XML_PATH_EMAIL_TEMPLATE = 'catalog/call_for_price/email_template';
7
+
8
  public function loadformAction()
9
  {
10
  /*$this->loadLayout();
13
  $request_form = $this->getLayout()->createBlock('lr_callprice/form','callforprice.form')->setTemplate('lr/callprice/callforprice_form.phtml')->toHtml();
14
  $this->getResponse()->setBody(Mage::helper('core')->jsonEncode(array('success' => $success,'request_form' => $request_form)));
15
  }
16
+
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  public function submitAction()
18
  {
 
19
  if ($this->getRequest()->getPost())
20
  {
21
  $cp = Mage::getModel('lr_callprice/request');
34
  try
35
  {
36
  $cp->save();
37
+
38
+ $data = array();
39
+ $data['name'] = $name;
40
+ $data['email'] = $email;
41
+ $data['telephone'] = $telephone;
42
+ $data['details']= $details;
43
+ $data['status']= "New";
44
+
45
+ $postObject = new Varien_Object();
46
+ $postObject->setData($data);
47
+
48
+ $translate = Mage::getSingleton('core/translate');
49
+ $mailTemplate = Mage::getModel('core/email_template');
50
+
51
+ $mailTemplate->setReplyTo($email)->sendTransactional(
52
+ Mage::getStoreConfig(self::XML_PATH_EMAIL_TEMPLATE),
53
+ Mage::getStoreConfig(self::XML_PATH_EMAIL_SENDER),
54
+ Mage::getStoreConfig(self::XML_PATH_EMAIL_RECIPIENT),
55
+ null,
56
+ array('data' => $postObject)
57
+ );
58
+ $translate->setTranslateInline(true);
59
+
60
  $success =true;
61
  $message = $this->__('Your request is accepted.');
62
  }
app/design/adminhtml/default/default/template/lr/callprice/callpricebackend.phtml ADDED
@@ -0,0 +1 @@
 
1
+ Demo Backend Page Content
app/design/frontend/base/default/template/lr/callprice/callforprice_form.phtml CHANGED
@@ -55,7 +55,7 @@ neglected.
55
  </li>
56
  </ul>
57
  <div>
58
- <button type="button" class="button" onclick="if(dataForm.validator && dataForm.validator.validate()){submitcallforpriceform(this.form,'<?php echo $submiturl?>');}"><span><?php echo $this->__('Submit') ?></span></button>
59
  </div>
60
  </div>
61
  <input type="hidden" name="product_id" value="<?php echo $this->getProductId(); ?>"/>
55
  </li>
56
  </ul>
57
  <div>
58
+ <button type="button" class="button" onclick="if(dataForm.validator && dataForm.validator.validate()){submitcallforpriceform(this.form,'<?php echo $submiturl?>');}"><span><span><?php echo $this->__('Submit') ?></span></span></button>
59
  </div>
60
  </div>
61
  <input type="hidden" name="product_id" value="<?php echo $this->getProductId(); ?>"/>
app/design/frontend/base/default/template/lr/callprice/catalog/product/compare/list.phtml ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /* @var $this Mage_Catalog_Block_Product_Compare_List */
27
+ ?>
28
+ <div class="page-title title-buttons">
29
+ <h1><?php echo $this->__('Compare Products') ?></h1>
30
+ <a href="#" onclick="window.print(); return false;" class="link-print"><?php echo $this->__('Print This Page') ?></a>
31
+ </div>
32
+ <?php $_total=$this->getItems()->getSize() ?>
33
+ <?php if($_total): ?>
34
+ <table class="data-table compare-table" id="product_comparison">
35
+ <?php $_i=0 ?>
36
+ <?php foreach($this->getItems() as $_item): ?>
37
+ <?php if($_i++%10==0): ?>
38
+ <col width="1" />
39
+ <?php endif; ?>
40
+ <col width="<?php echo floor(100/$_total); ?>%" />
41
+ <?php endforeach; ?>
42
+ <?php if ($_total>2): ?>
43
+ <thead>
44
+ <tr>
45
+ <?php $_i=0 ?>
46
+ <?php foreach($this->getItems() as $_item): ?>
47
+ <?php if($_i++%10==0): ?>
48
+ <th>&nbsp;</th>
49
+ <?php endif; ?>
50
+ <td class="a-right"><a href="#" class="btn-remove" onclick="removeItem('<?php echo $this->helper('catalog/product_compare')->getRemoveUrl($_item) ?>');" title="<?php echo $this->__('Remove This Item') ?>"><?php echo $this->__('Remove This Item') ?></a></td>
51
+ <?php endforeach; ?>
52
+ </tr>
53
+ </thead>
54
+ <?php endif ?>
55
+ <tbody>
56
+ <tr class="product-shop-row">
57
+ <?php $_i=0 ?>
58
+ <?php foreach($this->getItems() as $_item): ?>
59
+ <?php if($_i++%10==0): ?>
60
+ <th>&nbsp;</th>
61
+ <?php endif; ?>
62
+ <td>
63
+ <a class="product-image" href="#" onclick="setPLocation('<?php echo $this->getProductUrl($_item) ?>', true)" title="<?php echo $this->stripTags($_item->getName(), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(125, 125); ?>" width="125" height="125" alt="<?php echo $this->stripTags($_item->getName(), null, true) ?>" /></a>
64
+ <h2 class="product-name"><a href="#" onclick="setPLocation('<?php echo $this->getProductUrl($_item) ?>', true)" title="<?php echo $this->stripTags($_item->getName(), null, true) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_item, $_item->getName(), 'name') ?></a></h2>
65
+ <?php echo $this->getReviewsSummaryHtml($_item, 'short') ?>
66
+ <?php echo $this->getPriceHtml($_item, true, '-compare-list-top') ?>
67
+ <?php if($_item->isSaleable()): ?>
68
+ <p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
69
+ <?php else: ?>
70
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
71
+ <?php endif; ?>
72
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
73
+ <ul class="add-to-links">
74
+ <li><a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-wishlist" onclick="setPLocation(this.href, true)"><?php echo $this->__('Add to Wishlist') ?></a></li>
75
+ </ul>
76
+ <?php endif; ?>
77
+ </td>
78
+ <?php endforeach; ?>
79
+ </tr>
80
+ </tbody>
81
+ <tbody>
82
+ <?php foreach ($this->getAttributes() as $_attribute): ?>
83
+ <tr>
84
+ <?php $_i=0 ?>
85
+ <?php foreach($this->getItems() as $_item): ?>
86
+ <?php if($_i++%10==0): ?>
87
+ <th><span class="nobr"><?php echo $_attribute->getStoreLabel() ?></span></th>
88
+ <?php endif; ?>
89
+ <td>
90
+ <?php switch ($_attribute->getAttributeCode()) {
91
+ case "price": ?>
92
+ <?php echo $this->getPriceHtml($_item, true, '-compare-list-' . $_attribute->getCode()) ?>
93
+ <?php break;
94
+ case "small_image": ?>
95
+ <img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(125, 125); ?>" width="125" height="125" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" title="<?php echo $this->htmlEscape($_item->getName()) ?>" />
96
+ <?php break;
97
+ case "date":
98
+ echo substr($this->getProductAttributeValue($_item, $_attribute),0,10);
99
+ break;
100
+ default: ?>
101
+ <div class="std">
102
+ <?php echo $this->helper('catalog/output')->productAttribute($_item, $this->getProductAttributeValue($_item, $_attribute), $_attribute->getAttributeCode()) ?>
103
+ </div>
104
+ <?php break;
105
+ } ?>
106
+ </td>
107
+ <?php endforeach; ?>
108
+ </tr>
109
+ <?php endforeach; ?>
110
+ </tbody>
111
+ <tbody>
112
+ <tr class="add-to-row">
113
+ <?php $_i=0 ?>
114
+ <?php foreach($this->getItems() as $_item): ?>
115
+ <?php if($_i++%10==0): ?>
116
+ <th>&nbsp;</th>
117
+ <?php endif; ?>
118
+ <td>
119
+ <?php echo $this->getPriceHtml($_item, true, '-compare-list-bottom') ?>
120
+ <?php if($_item->isSaleable()): ?>
121
+ <p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
122
+ <?php else: ?>
123
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
124
+ <?php endif; ?>
125
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
126
+ <ul class="add-to-links">
127
+ <li><a href="<?php echo $this->getAddToWishlistUrl($_item);?>" class="link-wishlist" onclick="setPLocation(this.href, true)"><?php echo $this->__('Add to Wishlist') ?></a></li>
128
+ </ul>
129
+ <?php endif; ?>
130
+ </td>
131
+ <?php endforeach; ?>
132
+ </tr>
133
+ </tbody>
134
+ </table>
135
+ <div class="buttons-set">
136
+ <button type="button" title="<?php echo $this->__('Close Window') ?>" class="button" onclick="window.close();"><span><span><?php echo $this->__('Close Window') ?></span></span></button>
137
+ <span class="please-wait" id="compare-list-please-wait" style="display:none;">
138
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Please wait...') ?>" title="<?php echo $this->__('Please wait...') ?>" class="v-middle" /> <?php echo $this->__('Please wait...') ?>
139
+ </span>
140
+ </div>
141
+ <script type="text/javascript">
142
+ decorateTable('product_comparison');
143
+
144
+ /**
145
+ * Send remove item request, after that reload windows
146
+ */
147
+ function removeItem(url)
148
+ {
149
+ new Ajax.Request(url, {
150
+ parameters: {isAjax: 1, method: 'POST'},
151
+ onLoading: function(){$('compare-list-please-wait').show();},
152
+ onSuccess: function(transport) {
153
+ $('compare-list-please-wait').hide();
154
+ window.location.reload();
155
+ window.opener.location.reload();
156
+ }
157
+ });
158
+ }
159
+ </script>
160
+ <?php else: ?>
161
+ <script type="text/javascript">window.close();</script>
162
+ <?php endif; ?>
app/etc/modules/LR_CallPrice.xml CHANGED
@@ -4,7 +4,7 @@
4
  <LR_CallPrice>
5
  <active>true</active>
6
  <codePool>local</codePool>
7
- <version>0.1.1</version>
8
  </LR_CallPrice>
9
  </modules>
10
  </config>
4
  <LR_CallPrice>
5
  <active>true</active>
6
  <codePool>local</codePool>
7
+ <version>0.1.2</version>
8
  </LR_CallPrice>
9
  </modules>
10
  </config>
app/locale/en_GB/LR_CallPrice.csv DELETED
@@ -1,23 +0,0 @@
1
- "Call For Price","Call For Price"
2
- "Product Name","Product Name"
3
- "Your request is accepted.","Your request is accepted."
4
- "Your Request is Not Sent.","Your Request is Not Sent."
5
- "Name","Name"
6
- "Email","Email"
7
- "Telephone","Telephone"
8
- "Request Details","Request Details"
9
- "Request Manager","Request Manager"
10
- "Delete Item","Delete Item"
11
- "New","New"
12
- "Complete","Complete"
13
- "Change status","Change status"
14
- "Status","Status"
15
- "ID","ID"
16
- "Customer Name","Customer Name"
17
- "Customer Email","Customer Email"
18
- "Customer Telephone","Customer Telephone"
19
- "Product Id","Product Id"
20
- "Action","Action"
21
- "View","View"
22
- "Request Information","Request Information"
23
- "Call For Price Request Information","Call For Price Request Information"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
package.xml CHANGED
@@ -1,18 +1,13 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>lr_callprice</name>
4
- <version>0.1.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>This extension hides the price and the add to cart button for specific products and replaces it with a Call For Price Button. This feature is applied to Product Details page , Product List page (Categroy page),Search result page.</summary>
10
- <description>1. This extension hides the price and the add to cart button for specific products and replaces it with a &#xD;
11
- Call For Price Button. This feature is applied to Product Details page , Product List page (Categroy page),&#xD;
12
- Search result page. The above functionality can be set both at Product Level and Category Level. In the case&#xD;
13
- of categories, all the products in that category will show the Call For Price Button.The above functionality &#xD;
14
- may also be set to target specific Customer Groups.Also we can enable call for price feature for specific time&#xD;
15
- priod set in admin under module's configuration.&#xD;
16
  &#xD;
17
  2. The extension uses Jquery/Fancy Box.&#xD;
18
  &#xD;
@@ -22,7 +17,7 @@
22
  Also one custom email template is added named : Call For Price which will be used for sending email to admin.&#xD;
23
  &#xD;
24
  5. The extension creates 1 database table&#xD;
25
- - lr_callprice_request &#xD;
26
  &#xD;
27
  6. This does not override any Core classes.&#xD;
28
  &#xD;
@@ -62,7 +57,7 @@ Frontend&#xD;
62
  Backend&#xD;
63
  -----------------------------------------------------------------------------------------------------------&#xD;
64
  &#xD;
65
- 1. All Call For Price Request can be viewed in the backend by visiting CallPrice -&gt; Manage Request Menu&#xD;
66
  &#xD;
67
  2. A Request view is available by clicking on a particular Request. Admin can change status of that request either Complete.&#xD;
68
  &#xD;
@@ -72,7 +67,7 @@ System Configurations&#xD;
72
  &#xD;
73
  1. Set Call for Price Module configuration.&#xD;
74
  &#xD;
75
- System -&gt; Configuration -&gt; Catalog -&gt; Catalog -&gt; Call for Price&#xD;
76
  &#xD;
77
  We have following Fields.&#xD;
78
  - Call For Price Button Text : This is the text to be displayed in the Call For Price button&#xD;
@@ -83,18 +78,12 @@ System Configurations&#xD;
83
  - Show on Specific Date Range : If set to yes, the Call For Price Buttons will only be available in the front-end during a &#xD;
84
  particular date range. If set to No, the functionality will always be available.&#xD;
85
  - From Date : From Date&#xD;
86
- - To Date : To Date&#xD;
87
- </description>
88
- <notes>This extension hides the price and the add to cart button for specific products and replaces it with a &#xD;
89
- Call For Price Button. This feature is applied to Product Details page , Product List page (Categroy page),&#xD;
90
- Search result page. The above functionality can be set both at Product Level and Category Level. In the case&#xD;
91
- of categories, all the products in that category will show the Call For Price Button.The above functionality &#xD;
92
- may also be set to target specific Customer Groups.Also we can enable call for price feature for specific time&#xD;
93
- priod set in admin under module's configuration.</notes>
94
  <authors><author><name>Mitesh Prajapati</name><user>Mitesh</user><email>sales@logicrays.com</email></author></authors>
95
- <date>2014-04-14</date>
96
- <time>10:30:06</time>
97
- <contents><target name="magelocal"><dir name="LR"><dir name="CallPrice"><dir name="Block"><dir name="Adminhtml"><dir name="Request"><dir name="Edit"><file name="Form.php" hash="ca80be2858019a611a1381d3816ed6c2"/><dir name="Tab"><file name="Form.php" hash="567302731fd079696b37f6b7c167beca"/></dir><file name="Tabs.php" hash="b0579c8c81083948cfbecf63afa9455a"/></dir><file name="Edit.php" hash="6c48a184991cc43106ca0edecec5a235"/><file name="Grid.php" hash="924aff6a7f2944788d37404f2fd309e9"/></dir><file name="Request.php" hash="461952cac3ab74e08b90fa08c845f745"/><dir name="System"><dir name="Config"><file name="Date.php" hash="4d354f46dffb766e83469d0135418893"/></dir></dir></dir><file name="Form.php" hash="1b6f7e179db700b5cb9da47c1caadc32"/></dir><dir name="Helper"><file name="Data.php" hash="28d17ac030b4a92fe7ad4cc18507d4b1"/></dir><dir name="Model"><file name="Request.php" hash="254a51ae63b09f3f61a2539bca18ca3b"/><dir name="Resource"><dir name="Request"><file name="Collection.php" hash="58ee4a7c9304974ba2bcbbde98f26dab"/></dir><file name="Request.php" hash="a482ac4af4fee1d140cc9786e6a971f0"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="CallPricebackendController.php" hash="a60d1324b62058e47663cad47b3ac08a"/><file name="RequestController.php" hash="260d44142f9a4398573b9f006318e686"/></dir><file name="FormController.php" hash="22051ae31dafc8296bed882bedc71b5f"/></dir><dir name="data"><dir name="lr_callprice_setup"><file name="data-install-0.1.0.php" hash="1406b66a5d915b55bd193c3954655077"/><file name="data-upgrade-0.1.0-0.2.0.php" hash="05d312bb2ca503ad26cc3071b3690f37"/><file name="data-upgrade-0.2.0-0.3.0.php" hash="786f5c280bc73001adb4d069f9588930"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="c6b450426da599ecad781c397d1a3f08"/><file name="config.xml" hash="845055b50bb226a31fc2de42d4ee0c2f"/><file name="system.xml" hash="20db39141d163ef775b1110a1df0c710"/></dir><dir name="sql"><dir name="lr_callprice_setup"><file name="install-0.1.0.php" hash="829f90276d1521ae6c3e3e5027ce5cf6"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="lr_callprice.xml" hash="1f52df397d1c8a099b3d0767ab475b45"/></dir><dir name="template"><dir name="lr"><dir name="callprice"><file name="callforprice.phtml" hash="b8c90c0cdac8aa88ad395c3fa3c7e84d"/><file name="callforprice_form.phtml" hash="9c78a95d392743586ef253470eca9955"/><dir name="catalog"><dir name="product"><file name="list.phtml" hash="99cb216a38a2c56cbdb8a68dd6846bb6"/><dir name="view"><dir name="type"><file name="default.phtml" hash="51f450b4fd067e1e08d746c02085c177"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="lr_callprice.xml" hash="17d955767f903389cdfa1a8a1c31bbb5"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="LR_CallPrice.xml" hash="54bef897c9bd60dea63d48aec3f133e8"/></dir></target><target name="magelocale"><dir name="en_GB"><file name="LR_CallPrice.csv" hash="b08e805951e0a40cc171180b4e03d1eb"/></dir><dir name="en_US"><file name="LR_CallPrice.csv" hash="49144994748e14c53ecc74ad41c5a217"/><dir name="template"><dir name="email"><file name="call_for_price.html" hash="ccd00c420102967a5834716cf15d2191"/></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="lr_callprice"><file name="jquery-1.9.0.min.js" hash="0652da382b6fceb033dfe2b6c06d4d11"/><file name="jquery.fancybox-buttons.js" hash="912548989b8ee7efed9f384365cd8da1"/><file name="jquery.fancybox-media.js" hash="0bb202c2ad55a0d8162dfc732712c3ef"/><file name="jquery.fancybox-thumbs.js" hash="cf1fc1df534eede4cb460c5cbd71aba6"/><file name="jquery.fancybox.js" hash="8b3add6895ee7b462525e143fc1e29b0"/><file name="jquery.fancybox.pack.js" hash="306eae36a9954e4b28a85432bf88bb7b"/><file name="jquery.mousewheel-3.0.6.pack.js" hash="fde6509fae2cafdb6d97e4a9a60cce66"/><file name="jquery.noconflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="lr_callprice"><file name="callprice.css" hash="b464caa44e3d8c4b5af67adf711b98d6"/><file name="jquery.fancybox-buttons.css" hash="741e2da2561d3b82fb87be3b6a5520ec"/><file name="jquery.fancybox-thumbs.css" hash="84a2c1e5c79aeaf87c0ba0732bc861b3"/><file name="jquery.fancybox.css" hash="8ba5ca1cb14564b434f0382731584b90"/></dir></dir><dir name="images"><dir name="lr_callprice"><file name="blank.gif" hash="325472601571f31e1bf00674c368d335"/><file name="fancybox_buttons.png" hash="b448080f8615e664b7788c7003803b59"/><file name="fancybox_loading.gif" hash="c6f1ad4957e50b83bb27691df8bc3f41"/><file name="fancybox_overlay.png" hash="77aeaa52715b898b73c74d68c630330e"/><file name="fancybox_sprite.png" hash="783d4031fe50c3d83c960911e1fbc705"/></dir></dir><dir name="js"><dir name="lr_callprice"><file name="callprice.js" hash="dea088181b7273eb376f4e6a39324bb1"/></dir></dir></dir></dir></dir></target></contents>
98
  <compatible/>
99
- <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
100
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>lr_callprice</name>
4
+ <version>0.1.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>This extension hides the price and the add to cart button for specific products and replaces it with a Call For Price Button. This feature is applied to Product Details page , Product List page (Categroy page),Search result page.</summary>
10
+ <description>1. This extension hides the price and the add to cart button for specific products and replaces it with a Call For Price Button. This feature is applied to Product Details page , Product List page (Categroy page), Search result page. The above functionality can be set both at Product Level and Category Level. In the case of categories, all the products in that category will show the Call For Price Button.The above functionality may also be set to target specific Customer Groups.Also we can enable call for price feature for specific time period set in admin under module's configuration.&#xD;
 
 
 
 
 
11
  &#xD;
12
  2. The extension uses Jquery/Fancy Box.&#xD;
13
  &#xD;
17
  Also one custom email template is added named : Call For Price which will be used for sending email to admin.&#xD;
18
  &#xD;
19
  5. The extension creates 1 database table&#xD;
20
+ - wsc_callprice_request &#xD;
21
  &#xD;
22
  6. This does not override any Core classes.&#xD;
23
  &#xD;
57
  Backend&#xD;
58
  -----------------------------------------------------------------------------------------------------------&#xD;
59
  &#xD;
60
+ 1. All Call For Price Request can be viewed in the backend by visiting CallPrice -&amp;gt; Manage Request Menu&#xD;
61
  &#xD;
62
  2. A Request view is available by clicking on a particular Request. Admin can change status of that request either Complete.&#xD;
63
  &#xD;
67
  &#xD;
68
  1. Set Call for Price Module configuration.&#xD;
69
  &#xD;
70
+ System =&gt;Configuration =&gt; Catalog =&gt; Catalog =&gt; Call for Price&#xD;
71
  &#xD;
72
  We have following Fields.&#xD;
73
  - Call For Price Button Text : This is the text to be displayed in the Call For Price button&#xD;
78
  - Show on Specific Date Range : If set to yes, the Call For Price Buttons will only be available in the front-end during a &#xD;
79
  particular date range. If set to No, the functionality will always be available.&#xD;
80
  - From Date : From Date&#xD;
81
+ - To Date : To Date</description>
82
+ <notes>Hides the price and the add to cart button for specific products and replaces it with a Call For Price Button</notes>
 
 
 
 
 
 
83
  <authors><author><name>Mitesh Prajapati</name><user>Mitesh</user><email>sales@logicrays.com</email></author></authors>
84
+ <date>2014-08-28</date>
85
+ <time>07:18:08</time>
86
+ <contents><target name="magelocal"><dir name="LR"><dir name="CallPrice"><dir name="Block"><dir name="Adminhtml"><dir name="Request"><dir name="Edit"><file name="Form.php" hash="ca80be2858019a611a1381d3816ed6c2"/><dir name="Tab"><file name="Form.php" hash="567302731fd079696b37f6b7c167beca"/></dir><file name="Tabs.php" hash="b0579c8c81083948cfbecf63afa9455a"/></dir><file name="Edit.php" hash="6c48a184991cc43106ca0edecec5a235"/><file name="Grid.php" hash="924aff6a7f2944788d37404f2fd309e9"/></dir><file name="Request.php" hash="461952cac3ab74e08b90fa08c845f745"/><dir name="System"><dir name="Config"><file name="Date.php" hash="4d354f46dffb766e83469d0135418893"/></dir></dir></dir><file name="Form.php" hash="1b6f7e179db700b5cb9da47c1caadc32"/></dir><dir name="Helper"><file name="Data.php" hash="28d17ac030b4a92fe7ad4cc18507d4b1"/></dir><dir name="Model"><file name="Request.php" hash="254a51ae63b09f3f61a2539bca18ca3b"/><dir name="Resource"><dir name="Request"><file name="Collection.php" hash="58ee4a7c9304974ba2bcbbde98f26dab"/></dir><file name="Request.php" hash="a482ac4af4fee1d140cc9786e6a971f0"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="CallPricebackendController.php" hash="a60d1324b62058e47663cad47b3ac08a"/><file name="RequestController.php" hash="260d44142f9a4398573b9f006318e686"/></dir><file name="FormController.php" hash="6cf0a0fe0f0de63fd957b72a86d8de8e"/></dir><dir name="data"><dir name="lr_callprice_setup"><file name="data-install-0.1.0.php" hash="1406b66a5d915b55bd193c3954655077"/><file name="data-upgrade-0.1.0-0.2.0.php" hash="05d312bb2ca503ad26cc3071b3690f37"/><file name="data-upgrade-0.2.0-0.3.0.php" hash="786f5c280bc73001adb4d069f9588930"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="c6b450426da599ecad781c397d1a3f08"/><file name="config.xml" hash="845055b50bb226a31fc2de42d4ee0c2f"/><file name="system.xml" hash="20db39141d163ef775b1110a1df0c710"/></dir><dir name="sql"><dir name="lr_callprice_setup"><file name="install-0.1.0.php" hash="829f90276d1521ae6c3e3e5027ce5cf6"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="LR_CallPrice.xml" hash="12023e03c82588a62540b2b2ec5d9ade"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="lr_callprice.xml" hash="1f52df397d1c8a099b3d0767ab475b45"/></dir><dir name="template"><dir name="lr"><dir name="callprice"><file name="callforprice.phtml" hash="b8c90c0cdac8aa88ad395c3fa3c7e84d"/><file name="callforprice_form.phtml" hash="86fec0e7eab0401f7ef8863e43cbe7af"/><dir name="catalog"><dir name="product"><dir name="compare"><file name="list.phtml" hash="4aac8eb1b1cd3caf55ff8bc3ca27084e"/></dir><file name="list.phtml" hash="99cb216a38a2c56cbdb8a68dd6846bb6"/><dir name="view"><dir name="type"><file name="default.phtml" hash="51f450b4fd067e1e08d746c02085c177"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="lr_callprice.xml" hash="17d955767f903389cdfa1a8a1c31bbb5"/></dir><dir name="template"><dir name="lr"><dir name="callprice"><file name="callpricebackend.phtml" hash="93ad3e798b60ad33539a944088478690"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="LR_CallPrice.csv" hash="49144994748e14c53ecc74ad41c5a217"/><dir name="template"><dir name="email"><file name="call_for_price.html" hash="ccd00c420102967a5834716cf15d2191"/></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="lr_callprice"><file name="jquery-1.9.0.min.js" hash="0652da382b6fceb033dfe2b6c06d4d11"/><file name="jquery.fancybox-buttons.js" hash="912548989b8ee7efed9f384365cd8da1"/><file name="jquery.fancybox-media.js" hash="0bb202c2ad55a0d8162dfc732712c3ef"/><file name="jquery.fancybox-thumbs.js" hash="cf1fc1df534eede4cb460c5cbd71aba6"/><file name="jquery.fancybox.js" hash="8b3add6895ee7b462525e143fc1e29b0"/><file name="jquery.fancybox.pack.js" hash="306eae36a9954e4b28a85432bf88bb7b"/><file name="jquery.mousewheel-3.0.6.pack.js" hash="fde6509fae2cafdb6d97e4a9a60cce66"/><file name="jquery.noconflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="lr_callprice"><file name="callprice.css" hash="b464caa44e3d8c4b5af67adf711b98d6"/><file name="jquery.fancybox-buttons.css" hash="741e2da2561d3b82fb87be3b6a5520ec"/><file name="jquery.fancybox-thumbs.css" hash="84a2c1e5c79aeaf87c0ba0732bc861b3"/><file name="jquery.fancybox.css" hash="8ba5ca1cb14564b434f0382731584b90"/></dir></dir><dir name="images"><dir name="lr_callprice"><file name="blank.gif" hash="325472601571f31e1bf00674c368d335"/><file name="fancybox_buttons.png" hash="b448080f8615e664b7788c7003803b59"/><file name="fancybox_loading.gif" hash="c6f1ad4957e50b83bb27691df8bc3f41"/><file name="fancybox_overlay.png" hash="77aeaa52715b898b73c74d68c630330e"/><file name="fancybox_sprite.png" hash="783d4031fe50c3d83c960911e1fbc705"/></dir></dir><dir name="js"><dir name="lr_callprice"><file name="callprice.js" hash="dea088181b7273eb376f4e6a39324bb1"/></dir></dir></dir></dir></dir></target></contents>
87
  <compatible/>
88
+ <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
89
  </package>