2
votes

We need to change backorders per website Say Product X with quantity 0 can be purchased into WebsiteA but not WebsiteB Magento allow this attribute to be changed only globally.

My idea was to create another attribute and modify getBackorders function into app/code/core/Mage/CatalogInventory/Model/Stock/Item.php to watch this new attribute instead of "backorders"

This modification only affects my product into admin when saving

Any idea how to solve?

1
Did you have any luck with this?Jonathan Clark

1 Answers

1
votes

I think you are on the right track with your idea. Create a new attribute that is set on a per website / store view level and then extend the stock item function to look at this value instead.