Skip to content

Commit f368099

Browse files
committed
v3.0.3
Fix brand attribute resolution.
1 parent ea69c79 commit f368099

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

app/code/community/PriceWaiter/NYPWidget/Model/Embed.php

+1-7
Original file line numberDiff line numberDiff line change
@@ -354,14 +354,8 @@ public function isConversionToolsEnabled()
354354
*/
355355
public function getProductBrand(Mage_Catalog_Model_Product $product)
356356
{
357-
// prefer brand, but fallback to manufacturer attribute
358-
$brand = $product->getData('brand');
359-
360-
if ($brand) {
361-
return $brand;
362-
}
363-
364357
$attributesToTry = array(
358+
'brand',
365359
'manufacturer',
366360
'c2c_brand',
367361
);

app/code/community/PriceWaiter/NYPWidget/etc/config.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<modules>
55
<PriceWaiter_NYPWidget>
6-
<version>3.0.2</version>
6+
<version>3.0.3</version>
77
</PriceWaiter_NYPWidget>
88
</modules>
99

package.template.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<?xml version="1.0"?>
22
<package>
33
<name>nypwidget</name>
4-
<version>3.0.2</version>
4+
<version>3.0.3</version>
55
<stability>stable</stability>
66
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache License, Version 2.0</license>
77
<channel>community</channel>
88
<extends/>
99
<summary>PriceWaiter lets buyers make offers on your products that you can easily accept, counter offer or reject.</summary>
1010
<description>Sell more, immediately, with PriceWaiter. Convert comparison shoppers you might have lost, increase sales and conversions, and stop "minimum advertised price" from preventing sales before they even start.&#xD;&#xD; 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>
11-
<notes>Support for writing orders for international locations that do not have a region.</notes>
11+
<notes>Fix brand attribute resolution.</notes>
1212
<authors>
1313
<author>
1414
<name>PriceWaiter</name>

0 commit comments

Comments
 (0)