Version Notes
1.5.3
Download this release
Release Info
Developer | Magento Core Team |
Extension | Magazento_PriceProposal |
Version | 1.5.3 |
Comparing to | |
See all releases |
Code changes from version 1.5.2 to 1.5.3
- app/code/community/Magazento/Priceproposal/Block/Developer.php +6 -2
- app/code/community/Magazento/Priceproposal/Block/Help.php +2 -3
- app/code/community/Magazento/Priceproposal/etc/config.xml +3 -2
- app/code/community/Magazento/Priceproposal/etc/system.xml +9 -0
- app/design/frontend/default/default/layout/magazento_priceproposal.xml +5 -0
- app/design/frontend/default/default/template/magazento/priceproposal/form.phtml +1 -2
- app/design/frontend/default/default/template/magazento/priceproposal/js.phtml +1 -1
- app/design/frontend/default/default/template/magazento/priceproposal/top.phtml +18 -0
- package.xml +5 -5
- skin/frontend/default/default/magazento/priceproposal/style.css +3 -0
app/code/community/Magazento/Priceproposal/Block/Developer.php
CHANGED
@@ -26,6 +26,11 @@ class Magazento_Priceproposal_Block_Developer extends Mage_Adminhtml_Block_Syste
|
|
26 |
height:245px;
|
27 |
width :205px;
|
28 |
}
|
|
|
|
|
|
|
|
|
|
|
29 |
.magazento .info {
|
30 |
border: 1px solid #CCCCCC;
|
31 |
background:#E7EFEF;
|
@@ -50,9 +55,8 @@ class Magazento_Priceproposal_Block_Developer extends Mage_Adminhtml_Block_Syste
|
|
50 |
$content.= '<span class="contact-type">Skype:</span> volgodark <br/>';
|
51 |
$content.= '<span class="contact-type">Phone:</span> +7 909389 2222 <br/>';
|
52 |
$content.= '<span class="contact-type">Magento:</span> <a href="http://www.magentocommerce.com/magento-connect/developer/Magazento" target="_blank">visit</a> <br/>';
|
53 |
-
$content.= '<span class="contact-type">Facebook:</span> <a href="http://www.facebook.com/ivan.proskuryakov" target="_blank">ADD ME AS A FRIEND TO YOUR FB ACCOUNT</a> <br/>';
|
54 |
$content.= '<span class="contact-type">LinkedIn:</span> <a href="http://www.linkedin.com/pub/ivan-proskuryakov/31/200/316" target="_blank"> visit </a> <br/>';
|
55 |
-
|
56 |
$content.= '</div>';
|
57 |
|
58 |
$content.= '</div>';
|
26 |
height:245px;
|
27 |
width :205px;
|
28 |
}
|
29 |
+
.fb-black {
|
30 |
+
color:#000;
|
31 |
+
text-decoration: none;
|
32 |
+
font-weight:bold;
|
33 |
+
}
|
34 |
.magazento .info {
|
35 |
border: 1px solid #CCCCCC;
|
36 |
background:#E7EFEF;
|
55 |
$content.= '<span class="contact-type">Skype:</span> volgodark <br/>';
|
56 |
$content.= '<span class="contact-type">Phone:</span> +7 909389 2222 <br/>';
|
57 |
$content.= '<span class="contact-type">Magento:</span> <a href="http://www.magentocommerce.com/magento-connect/developer/Magazento" target="_blank">visit</a> <br/>';
|
58 |
+
$content.= '<span class="contact-type">Facebook:</span> <a href="http://www.facebook.com/ivan.proskuryakov" class="fb-black" target="_blank">ADD ME AS A FRIEND TO YOUR FB ACCOUNT</a> <br/>';
|
59 |
$content.= '<span class="contact-type">LinkedIn:</span> <a href="http://www.linkedin.com/pub/ivan-proskuryakov/31/200/316" target="_blank"> visit </a> <br/>';
|
|
|
60 |
$content.= '</div>';
|
61 |
|
62 |
$content.= '</div>';
|
app/code/community/Magazento/Priceproposal/Block/Help.php
CHANGED
@@ -41,14 +41,13 @@ class Magazento_Priceproposal_Block_Help extends Mage_Adminhtml_Block_System_Con
|
|
41 |
$content.= '<div class="info">';
|
42 |
$content.= '<h3> Additional Help</h3>';
|
43 |
$content.= 'We recommend to add additional block near your product price - it will increase percent of customers feedbacks.<br/>';
|
44 |
-
$content.= 'In demo I
|
45 |
$content.= '<b> <?php echo $this->getLayout()->createBlock(\'core/template\')->setTemplate(\'magazento/priceproposal/data.phtml\')->toHtml(); ?> </b>';
|
46 |
$content.= '<br/>';
|
47 |
$content.= '<br/>';
|
48 |
$content.= '<span class="contact-type">Also if you have problems with displaying this extension :</span><br/>';
|
49 |
$content.= '60% - is your custom magento template, and you could fix this problem with editing this extension <strong>style.css</strong> at <i>skin/frontend/default/default/magazento/priceproposal</i> <br/>';
|
50 |
-
$content.= '30% - other extension or JQuery conflict - for soldving this problem you have to disable other custom magento extension and look how it works without them or try
|
51 |
-
$content.= '<i>app/design/frontend/default/default/layout/magazento_priceproposal.xml</i><br/>';
|
52 |
$content.= '5% - cache <br/>';
|
53 |
$content.= '4.999% - my bug ( write me in skype: <i><strong>volgodark</i></strong>) <br/> ';
|
54 |
$content.= '0.001% - other stuff <br/> ';
|
41 |
$content.= '<div class="info">';
|
42 |
$content.= '<h3> Additional Help</h3>';
|
43 |
$content.= 'We recommend to add additional block near your product price - it will increase percent of customers feedbacks.<br/>';
|
44 |
+
$content.= 'In demo I added it to this file <i> /app/design/frontend/default/default/template/catalog/product/view.phtml</i><br/>';
|
45 |
$content.= '<b> <?php echo $this->getLayout()->createBlock(\'core/template\')->setTemplate(\'magazento/priceproposal/data.phtml\')->toHtml(); ?> </b>';
|
46 |
$content.= '<br/>';
|
47 |
$content.= '<br/>';
|
48 |
$content.= '<span class="contact-type">Also if you have problems with displaying this extension :</span><br/>';
|
49 |
$content.= '60% - is your custom magento template, and you could fix this problem with editing this extension <strong>style.css</strong> at <i>skin/frontend/default/default/magazento/priceproposal</i> <br/>';
|
50 |
+
$content.= '30% - other extension or JQuery conflict - for soldving this problem you have to disable other custom magento extension and look how it works without them or try don`t include Jquery';
|
|
|
51 |
$content.= '5% - cache <br/>';
|
52 |
$content.= '4.999% - my bug ( write me in skype: <i><strong>volgodark</i></strong>) <br/> ';
|
53 |
$content.= '0.001% - other stuff <br/> ';
|
app/code/community/Magazento/Priceproposal/etc/config.xml
CHANGED
@@ -148,11 +148,12 @@
|
|
148 |
<jq>
|
149 |
<on>1</on>
|
150 |
</jq>
|
151 |
-
<
|
152 |
<link>1</link>
|
153 |
<link_title>Send us Price Feedback</link_title>
|
154 |
-
</
|
155 |
<product_page>
|
|
|
156 |
<header>Price Feedback</header>
|
157 |
<brief>We always try to give best prices for our customes, if you have found better price please send us request.</brief>
|
158 |
<button>Send Feedback</button>
|
148 |
<jq>
|
149 |
<on>1</on>
|
150 |
</jq>
|
151 |
+
<general>
|
152 |
<link>1</link>
|
153 |
<link_title>Send us Price Feedback</link_title>
|
154 |
+
</general>
|
155 |
<product_page>
|
156 |
+
<link>1</link>
|
157 |
<header>Price Feedback</header>
|
158 |
<brief>We always try to give best prices for our customes, if you have found better price please send us request.</brief>
|
159 |
<button>Send Feedback</button>
|
app/code/community/Magazento/Priceproposal/etc/system.xml
CHANGED
@@ -84,6 +84,15 @@
|
|
84 |
<show_in_website>1</show_in_website>
|
85 |
<show_in_store>1</show_in_store>
|
86 |
<fields>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
<header translate="label">
|
88 |
<label>Header</label>
|
89 |
<frontend_type>text</frontend_type>
|
84 |
<show_in_website>1</show_in_website>
|
85 |
<show_in_store>1</show_in_store>
|
86 |
<fields>
|
87 |
+
<link translate="label">
|
88 |
+
<label>Add block at content heading</label>
|
89 |
+
<frontend_type>select</frontend_type>
|
90 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
91 |
+
<sort_order>60</sort_order>
|
92 |
+
<show_in_default>1</show_in_default>
|
93 |
+
<show_in_website>1</show_in_website>
|
94 |
+
<show_in_store>1</show_in_store>
|
95 |
+
</link>
|
96 |
<header translate="label">
|
97 |
<label>Header</label>
|
98 |
<frontend_type>text</frontend_type>
|
app/design/frontend/default/default/layout/magazento_priceproposal.xml
CHANGED
@@ -29,6 +29,11 @@
|
|
29 |
name="toplink.feedback"
|
30 |
template="magazento/priceproposal/js.phtml"
|
31 |
/>
|
|
|
|
|
|
|
|
|
|
|
32 |
</reference>
|
33 |
</catalog_product_view>
|
34 |
|
29 |
name="toplink.feedback"
|
30 |
template="magazento/priceproposal/js.phtml"
|
31 |
/>
|
32 |
+
<block type="core/template"
|
33 |
+
before="-"
|
34 |
+
name="topcontent.feedback"
|
35 |
+
template="magazento/priceproposal/top.phtml"
|
36 |
+
/>
|
37 |
</reference>
|
38 |
</catalog_product_view>
|
39 |
|
app/design/frontend/default/default/template/magazento/priceproposal/form.phtml
CHANGED
@@ -57,8 +57,7 @@
|
|
57 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
58 |
<button type="submit" class="form-button"><span><?php echo $this->__('Submit') ?></span></button>
|
59 |
</div>
|
60 |
-
</form>
|
61 |
-
|
62 |
<script type="text/javascript">
|
63 |
var contactForm = new VarienForm('contactForm', true);
|
64 |
</script>
|
57 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
58 |
<button type="submit" class="form-button"><span><?php echo $this->__('Submit') ?></span></button>
|
59 |
</div>
|
60 |
+
</form>
|
|
|
61 |
<script type="text/javascript">
|
62 |
var contactForm = new VarienForm('contactForm', true);
|
63 |
</script>
|
app/design/frontend/default/default/template/magazento/priceproposal/js.phtml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php $product = Mage::registry('current_product'); ?>
|
2 |
<?php if (Mage::getStoreConfig('priceproposal/jq/on')):?>
|
3 |
-
<script src="<?php echo $this->getSkinUrl('magazento/priceproposal/jquery-1.5.1.min.js') ?>" type="text/javascript"></script>
|
4 |
<? endif; ?>
|
5 |
<script src="<?php echo $this->getSkinUrl('magazento/priceproposal/jquery.colorbox.js') ?>" type="text/javascript"></script>
|
6 |
|
1 |
<?php $product = Mage::registry('current_product'); ?>
|
2 |
<?php if (Mage::getStoreConfig('priceproposal/jq/on')):?>
|
3 |
+
<script src="<?php echo $this->getSkinUrl('magazento/priceproposal/jquery-1.5.1.min.js') ?>" type="text/javascript"></script>
|
4 |
<? endif; ?>
|
5 |
<script src="<?php echo $this->getSkinUrl('magazento/priceproposal/jquery.colorbox.js') ?>" type="text/javascript"></script>
|
6 |
|
app/design/frontend/default/default/template/magazento/priceproposal/top.phtml
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php if (Mage::getStoreConfig('priceproposal/product_page/link')):?>
|
2 |
+
<div class="magazento-feedback" style="padding:5px 0 ;">
|
3 |
+
<fieldset class="group-select">
|
4 |
+
<h4 class="legend"><?php echo Mage::getStoreConfig('priceproposal/product_page/header') ?></h4>
|
5 |
+
<div class="proposal">
|
6 |
+
<?php echo Mage::getStoreConfig('priceproposal/product_page/brief') ?>
|
7 |
+
</div>
|
8 |
+
<button
|
9 |
+
name="complain"
|
10 |
+
class='form-button btn-cart cboxElement'
|
11 |
+
title="<?php echo Mage::getStoreConfig('priceproposal/modal_window/title') ?>"
|
12 |
+
onclick="javascript:openForm();"
|
13 |
+
type="button">
|
14 |
+
<span><span><?php echo Mage::getStoreConfig('priceproposal/product_page/button') ?></span></span>
|
15 |
+
</button>
|
16 |
+
</fieldset>
|
17 |
+
</div>
|
18 |
+
<? endif; ?>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Magazento_PriceProposal</name>
|
4 |
-
<version>1.5.
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
@@ -10,11 +10,11 @@
|
|
10 |
<description>PriceProposal is module that add new functionality to your customers. Customers can create proposals in just seconds - it's a new type of product price feedback. Now customers can help shopowners, custemrs send a price request to magento administrator. And shopowners can effectively track customer quotations and manage product prices in backend.
|
11 |
|
12 |
This extension fully automated and integrated PriceProposal functionality in Magento CMS. Conveniently manage all your price requests and proposals in one place. It's really simple and easy.</description>
|
13 |
-
<notes>1.5.
|
14 |
<authors><author><name>volgodark</name><user>auto-converted</user><email>volgodark@gmail.com</email></author></authors>
|
15 |
-
<date>2011-05-
|
16 |
-
<time>
|
17 |
-
<contents><target name="magelocale"><dir name="en_US"><file name="Magazento_Priceproposal.csv" hash="535253a549bbfa60c8a0b2619cdae7bd"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="magazento_priceproposal.xml" hash="
|
18 |
<compatible/>
|
19 |
<dependencies/>
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Magazento_PriceProposal</name>
|
4 |
+
<version>1.5.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
10 |
<description>PriceProposal is module that add new functionality to your customers. Customers can create proposals in just seconds - it's a new type of product price feedback. Now customers can help shopowners, custemrs send a price request to magento administrator. And shopowners can effectively track customer quotations and manage product prices in backend.
|
11 |
|
12 |
This extension fully automated and integrated PriceProposal functionality in Magento CMS. Conveniently manage all your price requests and proposals in one place. It's really simple and easy.</description>
|
13 |
+
<notes>1.5.3</notes>
|
14 |
<authors><author><name>volgodark</name><user>auto-converted</user><email>volgodark@gmail.com</email></author></authors>
|
15 |
+
<date>2011-05-22</date>
|
16 |
+
<time>08:34:12</time>
|
17 |
+
<contents><target name="magelocale"><dir name="en_US"><file name="Magazento_Priceproposal.csv" hash="535253a549bbfa60c8a0b2619cdae7bd"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="magazento_priceproposal.xml" hash="81cef9a1e4db6848b2b5883fe33a5471"/></dir><dir name="template"><dir name="magazento"><dir name="priceproposal"><file name="data.phtml" hash="a98227d8f545dac46ad6f2e5914cf4aa"/><file name="data___.phtml" hash="133459a665a100719eb9289bb834f179"/><file name="form.phtml" hash="d52e46705f0d2f810e3a6460d2418fc1"/><file name="js.phtml" hash="443191ff2e93509a9f3e9e729f65ca9e"/><file name="result.phtml" hash="b9b7546b22757083ed9f523bbdc371f8"/><file name="top.phtml" hash="305c5f3c09ce47830129542037e1df16"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="magazento"><dir name="priceproposal"><dir name="images"><dir name="ie6"><file name="borderBottomCenter.png" hash="1936585831e8bcf4eb5ef1081c8e2574"/><file name="borderBottomLeft.png" hash="7ceeb01563f030dc47837fd8bad29488"/><file name="borderBottomRight.png" hash="297fb77440870d91f519bcecdb312725"/><file name="borderMiddleLeft.png" hash="64df0244eeaade27764d2cf33606527b"/><file name="borderMiddleRight.png" hash="9fa458eaaa35b80b2452f35a1d6b4d0c"/><file name="borderTopCenter.png" hash="01ecb01841270f3a765aadf4900929f3"/><file name="borderTopLeft.png" hash="bf4949b95b09d255edd9bcb8358a3557"/><file name="borderTopRight.png" hash="51315fa19507a33d5f1b5411598593e7"/></dir><file name="border.png" hash="7ca8a1d2eb0763b35c266cd54bee2fa5"/><file name="controls.png" hash="e687384db0b8582a2dd48c00c653dfd1"/><file name="loading.gif" hash="e6611f867d63754b7a2a974fb0a0e7dc"/><file name="loading_background.png" hash="acf427e932fb9413700a4b8b58b41eec"/><file name="overlay.png" hash="790376e15a036959e358a19d4a7ea437"/></dir><file name="1305925633_yes.png" hash="856ebe3ac5c08de00ef87565d974e525"/><file name="1305925690_arrow_right.png" hash="002bfcb8802bad625251838db8f21175"/><file name="colorbox.css" hash="b209b53af1453331956c83736449f784"/><file name="help.png" hash="6f67e23511b2126b55b2edfc656661b1"/><file name="help_desk.png" hash="5172000a8bdbce72c49429743d522d38"/><file name="jquery-1.5.1.min.js" hash="b04a3bccd23ddeb7982143707a63ccf9"/><file name="jquery.colorbox.js" hash="bd557c58f56081e1e3593057446a65dd"/><file name="money.png" hash="8f8d78bc745afb6e826b21bce0053a76"/><file name="promo.jpg" hash="88520d456df68c98130433b5184b8e7f"/><file name="style.css" hash="e89b4453f6095de4c962a4161a09377b"/><file name="style_1.css" hash="11e482029e09313238296ff849e8e785"/><file name="usd_dollar_money_cash (copy).png" hash="c61bf0ffe4a6680810a9059159f6b98a"/><file name="usd_dollar_money_cash.png" hash="c12f81f133f73d024330b3142aba3620"/></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Magazento"><dir name="Priceproposal"><dir name="Block"><dir name="Admin"><dir name="Item"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="c211eaafb80df9d5ca735e98b939182c"/><file name="Other.php" hash="e1deda10926fe36a71e40dc1c70dd38b"/></dir><file name="Form.php" hash="7dcb54b10c3fd9c7d3f85f2ab4d6a376"/><file name="Tabs.php" hash="48be5692736fd0907e7253d708ca211f"/></dir><dir name="Grid"><dir name="Renderer"><file name="Action.php" hash="13eae0734c626a6c916f930174e1a234"/></dir></dir><file name="Edit.php" hash="8f304f5224adf095073249aa98f017ce"/><file name="Grid.php" hash="dbaca2a4060ef22849d237ee4b217754"/></dir><file name="Item.php" hash="8087de5b9cf9db8f25e4278479c884e4"/></dir><file name="Developer.php" hash="eea9d0bd93b5901529bcb4f0d1750e04"/><file name="Help.php" hash="dd8a89dc98ce2db3ba0b0afa1f0498b6"/><file name="Links.php" hash="4a698d24170412305373e9fe3c508abf"/></dir><dir name="controllers"><dir name="Admin"><file name="ItemController.php" hash="12207096b0e7ae1962686daeac61a03f"/></dir><file name="IndexController.php" hash="21f1ffe15c95d68fc9da6c17e3efd9c1"/></dir><dir name="etc"><file name="config.xml" hash="f14cf21beb38fcfb0730f8b37630a5cd"/><file name="system.xml" hash="39f2d173f0aa895e0a2f8208d5898a73"/></dir><dir name="Helper"><file name="Data.php" hash="470d048bf36a03cb83aa35954cae13db"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Item"><file name="Collection.php" hash="aaede73d0cc77604f2eeedb49d363931"/></dir><file name="Item.php" hash="016e533f765e7fe5dfcd53a02b523568"/></dir><dir name="Wysiwyg"><file name="Config.php" hash="896efaa4437ebaf19d9446ecc438c068"/></dir><file name="Data.php" hash="d4b31d6f247565d9ddc12d21ca318562"/><file name="Item.php" hash="a84e6dcb7fb0451125bdfdbdea377243"/></dir><dir name="sql"><dir name="priceproposal_setup"><file name="mysql4-install-1.0.0.php" hash="c84d5c89c71f5d18c69806a2f0baa1d7"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magazento_Priceproposal.xml" hash="1f47e087bc064bf1d2f7d07d5e0594e4"/></dir></target></contents>
|
18 |
<compatible/>
|
19 |
<dependencies/>
|
20 |
</package>
|
skin/frontend/default/default/magazento/priceproposal/style.css
CHANGED
@@ -2,6 +2,9 @@
|
|
2 |
height: 300px;
|
3 |
width: 600px;
|
4 |
}
|
|
|
|
|
|
|
5 |
|
6 |
.magazento-feedback .buttons-set {
|
7 |
border-top: 1px solid #E4E4E4;
|
2 |
height: 300px;
|
3 |
width: 600px;
|
4 |
}
|
5 |
+
.magazento-feedback .validation-advice, .magazento-feedback .required {
|
6 |
+
color: #EB340A;
|
7 |
+
}
|
8 |
|
9 |
.magazento-feedback .buttons-set {
|
10 |
border-top: 1px solid #E4E4E4;
|