Archive for December 2010

If you need to filter your simple products to send to google base by visibility eg. Catalog, not visible individually then the following mod should help you do this.

Locate this file  app\code\core\Mage\GoogleBase\Block\Adminhtml\Items\Product.php

Remember to back this file up before editing incase of any errors

To around line 65 add this
$collection->joinAttribute(‘visibility’, ‘catalog_product/visibility’, ‘entity_id’, null, ‘inner’, $store->getId())

Then around line 108 add these lines

$this->addColumn(‘visibility’,
array(
‘header’=> Mage::helper(‘catalog’)->__(‘Visibility’),
‘width’ => ’70px’,
‘index’ => ‘visibility’,
‘type’  => ‘options’,
‘options’ => Mage::getSingleton(‘catalog/product_visibility’)->getOptionArray(),
));

Then if you check your available products list in Google base section of magento you should be able to submit only products available in the catalog.

For any help or guidance with Magento or Ecommerce Web Design visit www.2jdesign.co.uk

· · ·