I have just noticed a problem with my stock control. I have a product that customers can see which has 'Stock Monitoring' switched off and I have invisible products for the different sizes with 'Stock Monitoring' switched on. I have implemented some code from the Advanced user guide, which deletes the sizes from the drop down menu when that particular size reaches zero stock. I also use 'One stop automation' from mole-end. Everything worked fine, but yesterday a customer purchased a product for £51.00. This is because the 'Add to cart' button is still visable when there is no sizes in the drop down menu.
Is there some code I can add to make 'Add to cart' button invisable and to show an 'Out Of Stock' message, when the drop down menu is not populated?
Thanks
Shacks
Is there some code I can add to make 'Add to cart' button invisable and to show an 'Out Of Stock' message, when the drop down menu is not populated?
Thanks
Shacks
Comment