Closed lzqwebsoft closed 9 years ago
Has another error occurred, When I create new product, and entry qty for different warehouse, then chick save button, like this: which meaning the product_id is invalid. I try to logout the value: $product->getId(), which output null. This error has occurred is because of your listening the catalog_product_save_before event. In there you cannot get the new product id before saving. So I change the config.xml for listening custom event : adminhtml_product_save_after: And change core controller:Mage_Adminhtml_Catalog_ProductController: Last updated the method handleMultipleQuantitiesPost() in Webgriffe_Multiwarehouse_Model_Observer:
Hope you can understand,My English is poor.
My Magento version is 1.9.0.1.
Hi lzqwebsoft, thank you for spotting out some issues. We will address them and give you a response as soon as possible.
Hi, I've fixed and pushed the issues as you indicated, thank you!
When I choose to create default and simple product.then click next button an error has occurred, like this: That said you can't check the $this->getProduct()->getStockItem() be null: File Is: community\Webgriffe\Multiwarehouse\Block\Adminhtml\Qty.php So I Changed:
Then anything be Ok:
Thank you, This multi-warehouse plugin is great!