There are no pre-requisites in order for you to be able to implement this solution.
Simply copy the pre-coded solution to your active theme’s functions.php or preferably the Code Snippets Plugin.
Need support with the snippet? We’re Here to Help You, Contact Us!
A lot of the time, users will miss the attribute drop down on a variable product page and immediately go for the add to cart button. If this happens, and the user has not yet selected an option from the drop down, a window alert will appear saying “Choose Some Product Options”. This is not particularly user friendly and definitely isn’t tailored towards your product range. Being more specific with messages can benefit the user experience and help them understand what they are doing wrong and what they need to do in order to proceed. Making the ability to add a product to cart should not be difficult! This short guide shows you can change change this alert message to something a little more specific to your product range.
Join forces with UnlimitedWP for an outsourced white label web development service you can truly rely on.