potteryhouse / stock_by_attribute_1.5.3

Stock by Attribute for Zen Cart 1.5.1
GNU General Public License v2.0
1 stars 0 forks source link

Master extra cart actions #17

Closed mc12345678 closed 9 years ago

mc12345678 commented 9 years ago

A few minor changes from previous other edits; however, the main feature of this commit is the addition of the includes/extra_cart_actions/stock_by_attributes.php file that processes the item(s) being added to the cart to determine if it should be allowed or not, regardless of whether the cart is being shown or not after "adding to cart".

File was developed in SBA 1.5.4; however, has not been tested/incorporated into SBA 1.5.3. This resolves some of the issues others have reported about not being able to tell if an item has been added in excess of that available until viewing the shopping cart.