deivisonarthur
11/12/2014 - 3:58 AM

Como remover atributos das categorias do magento (atributo fdp criado por theme comprada) ERRO: Modelo base "neoshopsettings/blockposition"

Como remover atributos das categorias do magento (atributo fdp criado por theme comprada) ERRO: Modelo base "neoshopsettings/blockposition" não encontrado para o atributo "category_block_position" - da template neoshop do themeforest

<?php
 
include_once 'app/Mage.php';
 
//Mage::app('default');
Mage::app();


$installer = Mage::getResourceModel('catalog/setup','catalog_setup');
 
$installer->startSetup();



$installer->removeAttribute('catalog_category', 'category_label');
$installer->removeAttribute('catalog_category', 'category_block_position');
$installer->removeAttribute('catalog_category', 'custom_block_position');
$installer->removeAttribute('catalog_category', 'category_icon');


$installer->removeAttribute('catalog_product', 'customtabtitle');
$installer->removeAttribute('catalog_product', 'customtab');
$installer->removeAttribute('catalog_product', 'display_countdown');




  
$installer->endSetup();