Coding a validation script for store

i am pretty new using wordpress and was asked to validate the amount of items in the cart for an ecommerce site that lets you “make a pack” in which you have several steps, step 1 is a page in which you select the box, this doenst need validation but the next 4 steps do, each step is a new page and each has a different amount of the item that you need to select, what i need is to either disable the hyperlink that says “Next step” until you select the correct amount of items for each step or just display a message when you click with the incorrect amount

Now my question is not code itself but where to put it in wordpress, i checked everything in the wordpress admin part of the site and on the hosting site but cant find where i am supposed to code the validation for each page

Read more here:: Coding a validation script for store

Leave a Reply

Your email address will not be published. Required fields are marked *