Mashon_Sync - Version 1.3.4

Version Notes

developed on magento 1.5.1.0;

- fixed bug so that updating a product does not check for duplicate sku

Download this release

Release Info

Developer brandonWargo
Extension Mashon_Sync
Version 1.3.4
Comparing to
See all releases


Code changes from version 1.3.3 to 1.3.4

app/code/community/Mashon/Sync/Helper/Data.php CHANGED
@@ -75,11 +75,11 @@ class Mashon_Sync_Helper_Data extends Mage_Core_Helper_Abstract
75
  $jsonResponse = $this->_getDabbleJson($dabbleId,$designedProduct);
76
 
77
  if($jsonResponse){
78
- $checkProduct = null;
79
- $checkProduct = Mage::getModel('catalog/product')->getIdBySku($jsonResponse->{'clientSku'});
80
- if($checkProduct){
81
- return array("_id" => $jsonResponse->{'_id'},"success" => false,"message" => "Duplicate Sku. Please change your client sku and re-sync.","shopProductId" => "");
82
- }
83
  $response = $this->_updateShopProduct($jsonResponse,$designedProduct,$magentoid);
84
 
85
  if($response){
75
  $jsonResponse = $this->_getDabbleJson($dabbleId,$designedProduct);
76
 
77
  if($jsonResponse){
78
+ //$checkProduct = null;
79
+ //$checkProduct = Mage::getModel('catalog/product')->getIdBySku($jsonResponse->{'clientSku'});
80
+ //if($checkProduct){
81
+ // return array("_id" => $jsonResponse->{'_id'},"success" => false,"message" => "Duplicate Sku. Please change your client sku and re-sync.","shopProductId" => "");
82
+ //}
83
  $response = $this->_updateShopProduct($jsonResponse,$designedProduct,$magentoid);
84
 
85
  if($response){
app/code/community/Mashon/Sync/etc/config.xml CHANGED
@@ -11,7 +11,7 @@
11
  <config>
12
  <modules>
13
  <Mashon_Sync>
14
- <version>1.3.3</version>
15
  </Mashon_Sync>
16
  </modules>
17
  <global>
11
  <config>
12
  <modules>
13
  <Mashon_Sync>
14
+ <version>1.3.4</version>
15
  </Mashon_Sync>
16
  </modules>
17
  <global>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mashon_Sync</name>
4
- <version>1.3.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -10,12 +10,11 @@
10
  <description>Mashon_Sync allows the Magento shop owner to easily integrate Dabble into their Magento version 1.5.1.0 shop. This extension allows you to sync your Dabble Templates and Designed Products into Magento.</description>
11
  <notes>developed on magento 1.5.1.0;&#xD;
12
  &#xD;
13
- - changed SKU setting for Templates so that it now uses client SKU rather than internal SKU when creating a product&#xD;
14
- - now products with only one Size or Color option will not import these options</notes>
15
  <authors><author><name>brandonWargo</name><user>brandonWargo</user><email>brandon.wargo@mashon.com</email></author></authors>
16
- <date>2012-02-28</date>
17
- <time>00:30:44</time>
18
- <contents><target name="magecommunity"><dir name="Mashon"><dir name="Sync"><dir name="Block"><file name="Sync.php" hash="d880873f5863ac7d2e627edad0289266"/></dir><dir name="Helper"><file name="Data.php" hash="4aba45ffcb9eca559eac0d3890bdbf47"/></dir><dir name="controllers"><file name="CartController.php" hash="56a3e95f9fe636a1c77567effa2dae0f"/><file name="OrderController.php" hash="5a834a5d4980b05f8684e7d10739e20a"/><file name="ProductController.php" hash="1558404804f2174b04d7163059522bf0"/></dir><dir name="etc"><file name="config.xml" hash="da7efac7cfccb4de678f00cf767d1b82"/></dir><dir name="sql"><dir name="mashon_setup"><file name="mysql4-install-1.0.php" hash="68360fce812822c6b9b802c629288c46"/><file name="mysql4-upgrade-1.0-1.1.php" hash="46e3030b6acf2a66aaa843924a8af710"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mashon_All.xml" hash="2929381275448f2ea1409a08703b6349"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="dabble"><dir name="template"><dir name="catalog"><dir name="product"><file name="view.phtml" hash="1883d9ac26da40bfbba351448d0997cc"/></dir></dir><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="7cb8b98411059ecd0651cc116fa973e3"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
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>Mashon_Sync</name>
4
+ <version>1.3.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
10
  <description>Mashon_Sync allows the Magento shop owner to easily integrate Dabble into their Magento version 1.5.1.0 shop. This extension allows you to sync your Dabble Templates and Designed Products into Magento.</description>
11
  <notes>developed on magento 1.5.1.0;&#xD;
12
  &#xD;
13
+ - fixed bug so that updating a product does not check for duplicate sku</notes>
 
14
  <authors><author><name>brandonWargo</name><user>brandonWargo</user><email>brandon.wargo@mashon.com</email></author></authors>
15
+ <date>2012-03-20</date>
16
+ <time>01:35:17</time>
17
+ <contents><target name="magecommunity"><dir name="Mashon"><dir name="Sync"><dir name="Block"><file name="Sync.php" hash="d880873f5863ac7d2e627edad0289266"/></dir><dir name="Helper"><file name="Data.php" hash="4c49a5384f558bf9b8b39d60a7ef4586"/></dir><dir name="controllers"><file name="CartController.php" hash="56a3e95f9fe636a1c77567effa2dae0f"/><file name="OrderController.php" hash="5a834a5d4980b05f8684e7d10739e20a"/><file name="ProductController.php" hash="1558404804f2174b04d7163059522bf0"/></dir><dir name="etc"><file name="config.xml" hash="2f671f2a521dbf4df204de784c490a4b"/></dir><dir name="sql"><dir name="mashon_setup"><file name="mysql4-install-1.0.php" hash="68360fce812822c6b9b802c629288c46"/><file name="mysql4-upgrade-1.0-1.1.php" hash="46e3030b6acf2a66aaa843924a8af710"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mashon_All.xml" hash="2929381275448f2ea1409a08703b6349"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="dabble"><dir name="template"><dir name="catalog"><dir name="product"><file name="view.phtml" hash="1883d9ac26da40bfbba351448d0997cc"/></dir></dir><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="7cb8b98411059ecd0651cc116fa973e3"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
20
  </package>