A handy snippet to let users customize a product directly from the products gallery, and add it to the cart.