Hello everyone, question for you about a requested feature:
my client is a nutritional supplements store. A few of their products require a consultation before the user can purchase it.
So, I need to make sure that for some products, when the user hits add to cart, before they are allowed to actually add this item, they go to an intermediate page which says "you need to have a consultation, please enter in your consultation password"
This intermediate page can be the product info page, where I could put a consultation blurb and password or it can be its own page.
Now how to intercept the ADD TO CART button??
I looked in the contributions section, but couldn't find anything suitable.
I'm willing to write this myself, but I'm a little confused as to how to do this. Do you have any advice or opinions for me? It looks like the actual "add to cart" logic is in application_top; but I would prefer just to edit product_info and stick all my changes and the password box in there...
Any advise at this stage would be greatfully accepted
CHEERS!!1