How can i change Magento inventory settings to website scope instead of global?

大憨熊 提交于 2019-12-18 16:53:12

问题


We have a multi-store setup with magento operating across multiple domains. Some of these websites are wholesale b2b websites and some are retail b2c websites.

We have a different price per retail and wholesale websites (which was easy to do in magento config) we do this as we force wholesale customers to purchase in multiples by using the magento minimum allowed in cart and must be bought in multiples inventory features. However we cannot seem to switch this off for the retail stores.

We would also like to allow backorders on wholesale website but not on the retail ones and this setting is also set to global and we cannot change it to website.

We have found several extensions that do multi-inventory (built for multiple locations etc) but these do not seem to do these inventory functions or are way too bloated for us. we only use 1 inventory we just need to switch 'allow backorders', 'minimum allowed in cart' and 'must be bought in multiples' to website scope instead of global.

Can someone please help with this. If we need to create and module and you can do it/help to do it we would be happy to pay for your services.

We are using Magento CE 1.7

Thanks


回答1:


There's no simple solution. You can create new attributes instead of default stock attributes and override methods to use them on website level. So you need to develop small extension.



来源:https://stackoverflow.com/questions/12708095/how-can-i-change-magento-inventory-settings-to-website-scope-instead-of-global

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!