Version Notes
New Features:
- Added new "Custom CSS" field in the admin to allow you to make CSS changes to the PriceWaiter button more easily.
- Newly received orders now use the status "Processing - PriceWaiter" to more closely mirror Magento's Order Statuses.
Download this release
Release Info
Developer | PriceWaiter |
Extension | nypwidget |
Version | 1.2.5 |
Comparing to | |
See all releases |
Code changes from version 1.2.4 to 1.2.5
- app/code/community/PriceWaiter/NYPWidget/etc/config.xml +2 -2
- app/code/community/PriceWaiter/NYPWidget/etc/system.xml +12 -0
- app/code/community/PriceWaiter/NYPWidget/sql/nypwidget_setup/mysql4-install-1.0.0.php +13 -12
- app/code/community/PriceWaiter/NYPWidget/sql/nypwidget_setup/mysql4-upgrade-1.2.4-1.2.5.php +35 -0
- app/design/frontend/base/default/template/pricewaiter/widget.phtml +2 -1
- package.xml +7 -6
app/code/community/PriceWaiter/NYPWidget/etc/config.xml
CHANGED
@@ -18,7 +18,7 @@
|
|
18 |
|
19 |
<modules>
|
20 |
<PriceWaiter_NYPWidget>
|
21 |
-
<version>1.2.
|
22 |
</PriceWaiter_NYPWidget>
|
23 |
</modules>
|
24 |
|
@@ -154,7 +154,7 @@
|
|
154 |
<nypwidget>
|
155 |
<active>1</active>
|
156 |
<model>nypwidget/paymentMethod</model>
|
157 |
-
<order_status>
|
158 |
<title>PriceWaiter Payment</title>
|
159 |
<payment_action>authorize</payment_action>
|
160 |
<allowspecific>0</allowspecific>
|
18 |
|
19 |
<modules>
|
20 |
<PriceWaiter_NYPWidget>
|
21 |
+
<version>1.2.5</version>
|
22 |
</PriceWaiter_NYPWidget>
|
23 |
</modules>
|
24 |
|
154 |
<nypwidget>
|
155 |
<active>1</active>
|
156 |
<model>nypwidget/paymentMethod</model>
|
157 |
+
<order_status>pricewaiter_processing</order_status>
|
158 |
<title>PriceWaiter Payment</title>
|
159 |
<payment_action>authorize</payment_action>
|
160 |
<allowspecific>0</allowspecific>
|
app/code/community/PriceWaiter/NYPWidget/etc/system.xml
CHANGED
@@ -155,6 +155,18 @@
|
|
155 |
<show_in_website>1</show_in_website>
|
156 |
<show_in_store>1</show_in_store>
|
157 |
</display_hover_color>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
</fields>
|
159 |
</appearance>
|
160 |
<customer_interaction>
|
155 |
<show_in_website>1</show_in_website>
|
156 |
<show_in_store>1</show_in_store>
|
157 |
</display_hover_color>
|
158 |
+
<display_custom_css translate="label comment">
|
159 |
+
<label>Custom CSS</label>
|
160 |
+
<comment>
|
161 |
+
<![CDATA[Add custom CSS that will be added to the container that holds
|
162 |
+
the PriceWaiter button. This field is not validated.]]>
|
163 |
+
</comment>
|
164 |
+
<frontend_type>text</frontend_type>
|
165 |
+
<sort_order>50</sort_order>
|
166 |
+
<show_in_default>1</show_in_default>
|
167 |
+
<show_in_website>1</show_in_website>
|
168 |
+
<show_in_store>1</show_in_store>
|
169 |
+
</display_custom_css>
|
170 |
</fields>
|
171 |
</appearance>
|
172 |
<customer_interaction>
|
app/code/community/PriceWaiter/NYPWidget/sql/nypwidget_setup/mysql4-install-1.0.0.php
CHANGED
@@ -35,20 +35,21 @@ CREATE TABLE {$this->getTable('nypwidget_category')} (
|
|
35 |
);
|
36 |
");
|
37 |
|
|
|
38 |
// Create a new "Pending - PriceWaiter" status for orders
|
39 |
// that have been pulled from PriceWaiter back into Magento
|
40 |
-
$installer->run("
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
");
|
52 |
|
53 |
// The default value above only applies to new products.
|
54 |
// Build a collection of products, and set 'nypwidget_enabled' to the default value
|
35 |
);
|
36 |
");
|
37 |
|
38 |
+
// NOTE: This is commented out since version 1.2.5
|
39 |
// Create a new "Pending - PriceWaiter" status for orders
|
40 |
// that have been pulled from PriceWaiter back into Magento
|
41 |
+
// $installer->run("
|
42 |
+
// INSERT INTO `{$this->getTable('sales/order_status')}` (
|
43 |
+
// `status`, `label`
|
44 |
+
// ) VALUES (
|
45 |
+
// 'pricewaiter_pending', 'Pending - PriceWaiter'
|
46 |
+
// );
|
47 |
+
// INSERT INTO `{$this->getTable('sales/order_status_state')}` (
|
48 |
+
// `status`, `state`, `is_default`
|
49 |
+
// ) VALUES (
|
50 |
+
// 'pricewaiter_pending', 'pending', '0'
|
51 |
+
// );
|
52 |
+
// ");
|
53 |
|
54 |
// The default value above only applies to new products.
|
55 |
// Build a collection of products, and set 'nypwidget_enabled' to the default value
|
app/code/community/PriceWaiter/NYPWidget/sql/nypwidget_setup/mysql4-upgrade-1.2.4-1.2.5.php
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* Copyright 2013 Price Waiter, LLC
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6 |
+
* you may not use this file except in compliance with the License.
|
7 |
+
* You may obtain a copy of the License at
|
8 |
+
*
|
9 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10 |
+
*
|
11 |
+
* Unless required by applicable law or agreed to in writing, software
|
12 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
13 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14 |
+
* See the License for the specific language governing permissions and
|
15 |
+
* limitations under the License.
|
16 |
+
*
|
17 |
+
*/
|
18 |
+
|
19 |
+
$this->startSetup();
|
20 |
+
|
21 |
+
// Create a new "Processing - PriceWaiter" status for orders
|
22 |
+
// that have been pulled from PriceWaiter back into Magento.
|
23 |
+
// NOTE: This replaces "Pending - PriceWaiter"
|
24 |
+
$this->run("
|
25 |
+
INSERT INTO `{$this->getTable('sales/order_status')}` (
|
26 |
+
`status`, `label`
|
27 |
+
) VALUES (
|
28 |
+
'pricewaiter_processing', 'Processing - PriceWaiter'
|
29 |
+
);
|
30 |
+
INSERT INTO `{$this->getTable('sales/order_status_state')}` (
|
31 |
+
`status`, `state`, `is_default`
|
32 |
+
) VALUES (
|
33 |
+
'pricewaiter_processing', 'processing', '0'
|
34 |
+
);
|
35 |
+
");
|
app/design/frontend/base/default/template/pricewaiter/widget.phtml
CHANGED
@@ -19,6 +19,7 @@
|
|
19 |
<?php $_product = Mage::registry('current_product'); ?>
|
20 |
<?php if($_product->isSaleable()): ?>
|
21 |
<?php
|
|
|
22 |
$helper = $this->_getHelper();
|
23 |
if ($helper->isEnabled()):
|
24 |
?>
|
@@ -29,7 +30,7 @@ if ($helper->isEnabled()):
|
|
29 |
var PriceWaiterWidgetUrl = "<?php echo $helper->getWidgetUrl(); ?>";
|
30 |
//]]>
|
31 |
</script>
|
32 |
-
<div class="name-your-price-widget" style='display: block; clear: both; padding-top: 10px;'>
|
33 |
<span id="pricewaiter"></span>
|
34 |
</div>
|
35 |
<?php endif; ?>
|
19 |
<?php $_product = Mage::registry('current_product'); ?>
|
20 |
<?php if($_product->isSaleable()): ?>
|
21 |
<?php
|
22 |
+
$customCss = Mage::getStoreConfig('pricewaiter/appearance/display_custom_css');
|
23 |
$helper = $this->_getHelper();
|
24 |
if ($helper->isEnabled()):
|
25 |
?>
|
30 |
var PriceWaiterWidgetUrl = "<?php echo $helper->getWidgetUrl(); ?>";
|
31 |
//]]>
|
32 |
</script>
|
33 |
+
<div class="name-your-price-widget" style='display: block; clear: both; padding-top: 10px; <?php echo $customCss; ?>'>
|
34 |
<span id="pricewaiter"></span>
|
35 |
</div>
|
36 |
<?php endif; ?>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>nypwidget</name>
|
4 |
-
<version>1.2.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache License, Version 2.0</license>
|
7 |
<channel>community</channel>
|
@@ -9,13 +9,14 @@
|
|
9 |
<summary>PriceWaiter® let's buyers make offers on your products that you can easily accept, counter offer or reject.</summary>
|
10 |
<description>Sell more, immediately, with the PriceWaiter® widget. Convert comparison shoppers you might have lost, increase sales and conversions, and stop "minimum advertised price" from preventing sales before they even start.
|
11 |
PriceWaiter® lets customers make offers on products you sell-- offers you can accept, reject or counter. The widget embeds a simple Name Your Price button on any product page or category that you choose. Simply install the extension and you'll have full control over PriceWaiter® in your Magento admin control panel.</description>
|
12 |
-
<notes>
|
13 |
-
-
|
|
|
14 |
</notes>
|
15 |
<authors><author><name>PriceWaiter</name><user>pricewaiter</user><email>bobby.b@pricewaiter.com</email></author></authors>
|
16 |
-
<date>
|
17 |
-
<time>
|
18 |
-
<contents><target name="magecommunity"><dir name="PriceWaiter"><dir name="NYPWidget"><dir name="Block"><dir name="Adminhtml"><file name="Widget.php" hash="cffdba25dabdb8f9b6a2eac21c0e82e0"/></dir><file name="Category.php" hash="ba5bcfb87399356266eb2874bf691d6e"/><file name="Widget.php" hash="25489ee6ae666d91db98b70dd6adbf40"/></dir><dir name="Helper"><file name="Data.php" hash="e2d7bf749fa77e436b4166411c807487"/></dir><dir name="Model"><file name="Callback.php" hash="8f9b7fcc444a2b8edb13f76cfce2b670"/><dir name="Carrier"><file name="ShippingMethod.php" hash="1df7b75009a6e6e8e41b554fecb813db"/></dir><file name="Category.php" hash="55588e458cacb778b92fdacd8edeb22a"/><dir name="Display"><file name="Phrase.php" hash="ad605b93302ec648c5a7d3e3401f47b5"/><file name="Size.php" hash="42c2917e730811b78fd12e7591cb9159"/></dir><dir name="Mysql4"><dir name="Category"><file name="Collection.php" hash="adbbb19ccafb1498bb0d4c5d20abddd1"/></dir><file name="Category.php" hash="ba6b693541711d91edc5b7edae799a97"/><dir name="Order"><file name="Collection.php" hash="de7e92559722c9735b32a6d30862087e"/></dir><file name="Order.php" hash="237302190fa65833b5ff187dd0bbe71a"/></dir><file name="Observer.php" hash="a5b643d09e366068028dc1df1abee154"/><file name="Order.php" hash="c44f2d228a38e991843cee197abd397c"/><file name="PaymentMethod.php" hash="0106a5c193079d4cf07005fc9d22dd29"/><dir name="Resource"><dir name="Eav"><dir name="Mysql4"><file name="Setup.php" hash="da87eaa37fc5a09a5d5c38f9bbecabb1"/></dir></dir></dir></dir><dir name="controllers"><file name="CallbackController.php" hash="8b95003b06ebc0e1a05430655f2caacd"/></dir><dir name="etc"><file name="adminhtml.xml" hash="022f1761ba091c7e1f3e4901d40d5ce0"/><file name="config.xml" hash="
|
19 |
<compatible/>
|
20 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
21 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>nypwidget</name>
|
4 |
+
<version>1.2.5</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache License, Version 2.0</license>
|
7 |
<channel>community</channel>
|
9 |
<summary>PriceWaiter® let's buyers make offers on your products that you can easily accept, counter offer or reject.</summary>
|
10 |
<description>Sell more, immediately, with the PriceWaiter® widget. Convert comparison shoppers you might have lost, increase sales and conversions, and stop "minimum advertised price" from preventing sales before they even start.
|
11 |
PriceWaiter® lets customers make offers on products you sell-- offers you can accept, reject or counter. The widget embeds a simple Name Your Price button on any product page or category that you choose. Simply install the extension and you'll have full control over PriceWaiter® in your Magento admin control panel.</description>
|
12 |
+
<notes>New Features:
|
13 |
+
- Added new "Custom CSS" field in the admin to allow you to make CSS changes to the PriceWaiter button more easily.
|
14 |
+
- Newly received orders now use the status "Processing - PriceWaiter" to more closely mirror Magento's Order Statuses.
|
15 |
</notes>
|
16 |
<authors><author><name>PriceWaiter</name><user>pricewaiter</user><email>bobby.b@pricewaiter.com</email></author></authors>
|
17 |
+
<date>2014-01-12</date>
|
18 |
+
<time>01:54:37</time>
|
19 |
+
<contents><target name="magecommunity"><dir name="PriceWaiter"><dir name="NYPWidget"><dir name="Block"><dir name="Adminhtml"><file name="Widget.php" hash="cffdba25dabdb8f9b6a2eac21c0e82e0"/></dir><file name="Category.php" hash="ba5bcfb87399356266eb2874bf691d6e"/><file name="Widget.php" hash="25489ee6ae666d91db98b70dd6adbf40"/></dir><dir name="Helper"><file name="Data.php" hash="e2d7bf749fa77e436b4166411c807487"/><file name=".Data.php.un~" hash="ebf997909064b973c4bb0720e63a48c0"/></dir><dir name="Model"><file name="Callback.php" hash="8f9b7fcc444a2b8edb13f76cfce2b670"/><dir name="Carrier"><file name="ShippingMethod.php" hash="1df7b75009a6e6e8e41b554fecb813db"/></dir><file name="Category.php" hash="55588e458cacb778b92fdacd8edeb22a"/><dir name="Display"><file name="Phrase.php" hash="ad605b93302ec648c5a7d3e3401f47b5"/><file name="Size.php" hash="42c2917e730811b78fd12e7591cb9159"/></dir><dir name="Mysql4"><dir name="Category"><file name="Collection.php" hash="adbbb19ccafb1498bb0d4c5d20abddd1"/></dir><file name="Category.php" hash="ba6b693541711d91edc5b7edae799a97"/><dir name="Order"><file name="Collection.php" hash="de7e92559722c9735b32a6d30862087e"/></dir><file name="Order.php" hash="237302190fa65833b5ff187dd0bbe71a"/></dir><file name="Observer.php" hash="a5b643d09e366068028dc1df1abee154"/><file name="Order.php" hash="c44f2d228a38e991843cee197abd397c"/><file name="PaymentMethod.php" hash="0106a5c193079d4cf07005fc9d22dd29"/><dir name="Resource"><dir name="Eav"><dir name="Mysql4"><file name="Setup.php" hash="da87eaa37fc5a09a5d5c38f9bbecabb1"/></dir></dir></dir></dir><dir name="controllers"><file name="CallbackController.php" hash="8b95003b06ebc0e1a05430655f2caacd"/></dir><dir name="etc"><file name="adminhtml.xml" hash="022f1761ba091c7e1f3e4901d40d5ce0"/><file name="config.xml" hash="5b75615e909d9f10b6c63af5c6488b21"/><file name="system.xml" hash="8b65aaf26f9bb75eee863e169b25a7ae"/><file name=".config.xml.un~" hash="dbeb241a6a168c330afedc248d5a8350"/></dir><dir name="sql"><dir name="nypwidget_setup"><file name="mysql4-install-1.0.0.php" hash="b30a0b38090a9c7aafb1a419b21755fe"/><file name="mysql4-upgrade-1.1.2-1.1.3.php" hash="8d4bd167694c277a0e8ab8034d87cb1b"/><file name="mysql4-upgrade-1.1.7-1.1.8.php" hash="2a8de13744724f647e23e612ecf1d196"/><file name="mysql4-upgrade-1.2.4-1.2.5.php" hash="4b0ef14d3e455afea1d966f8f1641d6b"/><file name=".mysql4-install-1.0.0.php.un~" hash="4ac3da846a54fea6461349a73b2a8a0b"/><file name=".mysql4-upgrade-1.2.4-1.2.5.php.un~" hash="38d59b3e5dd699ac95c81d747a1f5dcc"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="pricewaiter.xml" hash="cc51462b56118a611be1a329b308d528"/></dir><dir name="template"><dir name="pricewaiter"><file name="admin_widget.phtml" hash="daae86cfa34fbe5e786715c0c579e398"/><file name="categorytab.phtml" hash="43f8af9feca6775e4a1e8a149a86268e"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="pricewaiter.xml" hash="0da284d426574c7ae1f154b096f8b413"/></dir><dir name="template"><dir name="pricewaiter"><file name="widget.phtml" hash="d4e9f431922f843d5911a8b9ec2b814e"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="PriceWaiter_NYPWidget.xml" hash="d3b86fa976b99e64df65f9e98d689257"/></dir></target><target name="mageweb"><dir name="js"><dir name="jscolor-pw"><file name="arrow.gif" hash="5034704a76cd55c1cbcbc58ea6bf523f"/><file name="cross.gif" hash="ba9a274b9323753cd95bc3b1eb2f4e5f"/><file name="hs.png" hash="fefa1a03d92ebad25c88dca94a0b63db"/><file name="hv.png" hash="990d71cada17da100653636cf8490884"/><file name="jscolor.js" hash="668050b57cb3ad59d0a56a16fddf1a91"/></dir><dir name="pricewaiter"><file name="product-pages.js" hash="13abcb256a75027c883c247af09392a3"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><file name="pricewaiter_logo.png" hash="becb9713a561131ff69eabb7503d3e74"/><file name="pricewaiter_tab.png" hash="1bab71be6b1a93aee2ae7aeae3807484"/></dir><file name="pricewaiter.css" hash="6a58cdaa35d8f61cbb305a6a1a206816"/></dir></dir></dir></target></contents>
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
22 |
</package>
|