企业版不好升级,想改回社区版,有办法改吗?

5.53K 浏览M2交流区

企业版不好升级,想改回社区版,有办法改吗?

求教大神支招,不然要全站重做了。

0

数据库执行
DELETE FROM setup_module WHERE module IN (
'Magento_AdvancedSearch', 'Magento_Amqp', 'Magento_BundleStaging', 'Magento_CatalogEvent', 'Magento_CatalogImportExportStaging', 'Magento_CatalogInventoryStaging', 'Magento_CatalogPermissions', 'Magento_CatalogRuleStaging', 'Magento_CatalogStaging', 'Magento_CatalogUrlRewriteStaging', 'Magento_CheckoutStaging', 'Magento_CmsStaging', 'Magento_ConfigurableProductStaging', 'Magento_CustomerBalance', 'Magento_CustomerFinance', 'Magento_Cybersource', 'Magento_DownloadableStaging', 'Magento_Elasticsearch', 'Magento_Enterprise', 'Magento_Eway', 'Magento_GiftCardAccount', 'Magento_GiftCardImportExport', 'Magento_GiftCardStaging', 'Magento_GiftMessageStaging', 'Magento_GiftRegistry', 'Magento_GiftWrapping', 'Magento_GiftWrappingStaging', 'Magento_GoogleOptimizerStaging', 'Magento_GroupedProductStaging', 'Magento_Invitation', 'Magento_LayeredNavigationStaging', 'Magento_MessageQueue', 'Magento_MsrpStaging', 'Magento_MultipleWishlist', 'Magento_MysqlMq', 'Magento_PaymentStaging', 'Magento_PersistentHistory', 'Magento_PricePermissions', 'Magento_ProductVideoStaging', 'Magento_PromotionPermissions', 'Magento_Reminder', 'Magento_ResourceConnections', 'Magento_ReviewStaging', 'Magento_Reward', 'Magento_RmaStaging', 'Magento_SalesArchive', 'Magento_SalesRuleStaging', 'Magento_ScalableCheckout', 'Magento_ScalableInventory', 'Magento_ScalableOms', 'Magento_ScheduledImportExport', 'Magento_SearchStaging', 'Magento_Solr', 'Magento_Staging', 'Magento_Support', 'Magento_VersionsCms', 'Magento_WebsiteRestriction', 'Magento_WeeeStaging', 'Magento_Worldpay', 'Magento_Banner', 'Magento_BannerCustomerSegment', 'Magento_CustomAttributeManagement', 'Magento_CustomerBalance', 'Magento_CustomerCustomAttributes', 'Magento_CustomerSegment', 'Magento_GiftCard', 'Magento_GoogleTagManager', 'Magento_Logging', 'Magento_Rma', 'Magento_TargetRule', 'Magento_VisualMerchandiser'
);

UPDATE eav_attribute SET backend_model = 'MagentoCatalogModelProductAttributeBackendPrice' WHERE attribute_code = 'giftcard_amounts' LIMIT 1;
UPDATE eav_attribute SET backend_model = NULL WHERE attribute_code IN ('related_tgtr_position_limit','related_tgtr_position_behavior','upsell_tgtr_position_limit','upsell_tgtr_position_behavior');
UPDATE eav_attribute SET source_model = NULL WHERE attribute_code = 'is_returnable' AND entity_type_id = 4 LIMIT 1;
UPDATE eav_attribute SET source_model = NULL WHERE attribute_code = 'allow_open_amount' AND entity_type_id = 4 LIMIT 1;
UPDATE eav_attribute SET source_model = NULL WHERE attribute_code = 'giftcard_type' AND entity_type_id = 4 LIMIT 1;

0
您正在查看4个回答中的1个,单击此处查看所有回答。