I need my shopping cart page to return an error pop up box, once the checkout button is pressed (only when it is pressed), if the total # of bottles in the cart is less than 12. I need this pop up box to appear continuously until the shopping cart has at least 12 bottles. I've attached what the pop up box should look like in the images. The look & feel is the same as the standard pop up box available in squarespace.
You will see that we are looking to collect email addresses from the consumers who get the pop up box (mostly these are the people who can't fulfill the minimum order quantity but we know are interested in the product...so we want to keep the lead).
To clarify, I am not looking to modify the checkout page, which i understand cannot be edited.
Jenny M.100% (1)
Create an account now and send a proposal now to get this project.Sign up
Clarification Board Ask a Question
It is impossible to customise the checkout page in this way as Squarespace blocks any code injection to protect customers card details. Is there an alternative place in the flow we could look at implementing this functionality?Jenny M.29 Nov 2018
Sorry, I actually meant to say the shopping cart (the page before you press the checkout button).
A couple of additional comments:
1) The popup only triggers when customers press the checkout button and shopping cart <=12 bottles (of any product).
2) the popup will continue to popup if the min order quantity is not met and will effectively block access to the checkout page.
3) it would be good if your code can be flexible enough to capture new products (we will likely expand the # of offerings in the near future)
4) it'd also be good to be able to easily adjust the minimum order quantity in the future (i.e. let's say we eventually are able to do min quantity of 6 vs. 12)