Enable numeric skus, and sku/ids intersection#11
Open
danielozano wants to merge 6 commits intoopenlabs:developfrom
Open
Enable numeric skus, and sku/ids intersection#11danielozano wants to merge 6 commits intoopenlabs:developfrom
danielozano wants to merge 6 commits intoopenlabs:developfrom
Conversation
When the SKU is numeric, Magento treats it as an integer (ID), so I have overriden the helper, to remove the regex that causes this behavior. Maybe it will have performance troubles (because of deeper search), but is needed to work with the ERP.
The extension comes with a model: Openlabs_OpenERPConnector_Model_Oerpstock_item_api ready to override Mage_CatalogInventory_Model_Stock_Item_Api. This override fixes the sku/id mess, but is not enabled in the config.xml so I did.
Añadido soporte para modman. Añadida capacidad de evitar sincronización de stock para ciertas categorías. Añadida capacidad de evitar la sincronización de ciertos atributos de producto.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We needed numeric skus, Magento is not ready for that so I overrided that.
If we have a product with id: 123, and another product with sku: 123, openERP push information from product 1 to product 2.