Version Notes
- Stable release
- Added Ability to Set Pin It Media Width
- Added Ability to Add Custom CSS Styling
- Added Ability to Show Product Price in Pin Description
Download this release
Release Info
Developer | Magento Core Team |
Extension | GetSomeMojo_Pinterestmojo |
Version | 1.1.5 |
Comparing to | |
See all releases |
Code changes from version 1.1.4 to 1.1.5
app/code/local/GetSomeMojo/Pinterestmojo/Block/PinterestButton.php
CHANGED
@@ -58,7 +58,7 @@ class GetSomeMojo_Pinterestmojo_Block_PinterestButton extends Mage_Core_Block_Te
|
|
58 |
$this->currentDesc = $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description');
|
59 |
// Add product price to description
|
60 |
if($this->pinPrice==1):
|
61 |
-
$this->pinFinalPrice = Mage::helper('core')->currency($_product->
|
62 |
$this->currentDesc .= " [" . $this->pinFinalPrice . "]";
|
63 |
endif;
|
64 |
// Addresses & Fixes certain web server settings for URL rewrites
|
58 |
$this->currentDesc = $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description');
|
59 |
// Add product price to description
|
60 |
if($this->pinPrice==1):
|
61 |
+
$this->pinFinalPrice = Mage::helper('core')->currency($_product->getPrice(),true,false);
|
62 |
$this->currentDesc .= " [" . $this->pinFinalPrice . "]";
|
63 |
endif;
|
64 |
// Addresses & Fixes certain web server settings for URL rewrites
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>GetSomeMojo_Pinterestmojo</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
|
7 |
<channel>community</channel>
|
@@ -14,8 +14,8 @@
|
|
14 |
- Added Ability to Show Product Price in Pin Description</notes>
|
15 |
<authors><author><name>Mitch Robles, Jr.</name><user>auto-converted</user><email>info@getsomemojo.net</email></author></authors>
|
16 |
<date>2012-03-30</date>
|
17 |
-
<time>
|
18 |
-
<contents><target name="mageetc"><dir name="modules"><file name="GetSomeMojo_Pinterestmojo.xml" hash="754937eada3236e4628ed37fb4d826d9"/></dir></target><target name="magelocal"><dir name="GetSomeMojo"><dir name="Pinterestmojo"><dir name="Block"><file name="PinterestButton.php" hash="
|
19 |
<compatible/>
|
20 |
<dependencies/>
|
21 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>GetSomeMojo_Pinterestmojo</name>
|
4 |
+
<version>1.1.5</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
|
7 |
<channel>community</channel>
|
14 |
- Added Ability to Show Product Price in Pin Description</notes>
|
15 |
<authors><author><name>Mitch Robles, Jr.</name><user>auto-converted</user><email>info@getsomemojo.net</email></author></authors>
|
16 |
<date>2012-03-30</date>
|
17 |
+
<time>08:22:26</time>
|
18 |
+
<contents><target name="mageetc"><dir name="modules"><file name="GetSomeMojo_Pinterestmojo.xml" hash="754937eada3236e4628ed37fb4d826d9"/></dir></target><target name="magelocal"><dir name="GetSomeMojo"><dir name="Pinterestmojo"><dir name="Block"><file name="PinterestButton.php" hash="9eab1c62dd3bcb1058ef35a164439e61"/></dir><dir name="Helper"><file name="Data.php" hash="85a5c493fc9c465fc63ee8a585f4fa58"/></dir><dir name="Model"><dir name="Config"><file name="PinCount.php" hash="ad3eacd95ed078ef0fc554819282802f"/></dir></dir><dir name="etc"><file name="config.xml" hash="d3e9a4d2070ea706fc67313df707ebbb"/><file name="system.xml" hash="abec90239b6b81524d088b3c9fa09ae7"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="getsomemojo"><dir name="pinterestmojo"><file name="pinterest.xml" hash="ab51d23536005c9ab35c77a7a9f106ed"/></dir></dir></dir><dir name="template"><dir name="getsomemojo"><dir name="pinterestmojo"><file name="pinterest_button.phtml" hash="a26e368400396bb0341578cc2567b833"/></dir></dir></dir></dir></dir></dir></target></contents>
|
19 |
<compatible/>
|
20 |
<dependencies/>
|
21 |
</package>
|