Skip to content

Commit

Permalink
2.0.2 files added
Browse files Browse the repository at this point in the history
  • Loading branch information
Syam Mohan committed Oct 7, 2014
1 parent cae2238 commit 58ae380
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/code/community/Medma/MarketPlace/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<config>
<modules>
<Medma_MarketPlace>
<version>2.0.1</version>
<version>2.0.2</version>
</Medma_MarketPlace>
</modules>
<global>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

/**
* Medma Marketplace
*
* NOTICE OF LICENSE
*
* This source file is subject to the Magento Team
* that is bundled with this package of Medma Infomatix Pvt. Ltd.
* =================================================================
* MAGENTO EDITION USAGE NOTICE
* =================================================================
* This package designed for Magento COMMUNITY edition
* Contact us Support does not guarantee correct work of this package
* on any other Magento edition except Magento COMMUNITY edition.
* =================================================================
*
* @category Medma
* @package Medma_MarketPlace
**/

$storeId = Mage::app()->getStore()->getStoreId();

$productIds = Mage::getModel('catalog/product')
->getCollection()->getAllIds();

$attributesData = array('vendor' => null);

Mage::getSingleton('catalog/product_action')
->updateAttributes($productIds, $attributesData, $storeId);
?>
Loading

0 comments on commit 58ae380

Please sign in to comment.