Hi i am a new Zencart user and have just intalled the Stock by attributes. Everything seem to be working correctly except that i can checkout with no stock. Does anyone know the cause and correction for this? I would be very greatful for any help.
Even though i have the Configuration>Stock>"Allow Check Out" to FALSE, i still appear to be able to check out on attributes that have no stock? Even though the warning that the out of stock warning appears ok, you can still proceed to the checkout.
I think this because i have to total stock updating (automatically) in the Catelog>Categories / Products sections. i.e if i add 10 units for size small, the total stock in Catelog>Categories / Products sections changes to 10.
Could this be something to do with running the stock attribute SQL? in the Tools>run SQL patches. When i try to run this i get the following:
" 1062 Duplicate entry 'STOCK_SHOW_LOW_IN_CART' for key 2
in:
[INSERT INTO zen_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Show available stock level in cart when less than order', 'STOCK_SHOW_LOW_IN_CART', 'false', 'When customer places more items in cart than are available, show the available amount on the shopping cart page:', '9', '6', NULL, now(), NULL, "zen_cfg_select_option(array('true', 'false')," );]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields. "