title: Magento - Update Prices Script - Multiple Stores
body: <p>I am trying to update some (but not all ) prices from one store to another. For example one line of shirts should be 1.2 times the price in the second store</p>
  
  <p>I would like to update some groups of items only, based on entity label but am struggling to pull all the data from magento (asside what i can get out in the code below). The bits I am missing are price and entity label. I know what tables they live in but not sure the correct magento syntax to access them eg Mage::getModel('catalog/product') and I am trying to achieve this using Magento friendly code and not queries  </p>
  
  <p>Using enterprise 1.11, not looking at buying a plugin at this stage, any advice greatly appreciated</p>
  
  <pre><code>$mageFilename = 'app/Mage.php';
  require_once $mageFilename;
  Mage::app()-&gt;setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); #important
  $product_id = '8782';
  $collection = Mage::getModel('catalog/product')
           -&gt;load($product_id);
          echo "Collection: " . $collection-&gt;getName();
          echo "&lt;br&gt;";
          echo "Attribute Set: " . $collection-&gt;getAttributeSetId() . " SKU: " . $collection-&gt;getSku();
          echo "&lt;br&gt;"; 
          echo "Entity ID: " . $collection-&gt;getEntity_id() . " Product Type (Attribute Label): " . $collection-&gt;getProducttype();
  </code></pre>