Advice on how best to integrate a JavaScript spot the ball style competition with eCart
When the user gets to the page (see link below) they will have already selected which product they are playing for, in this case a car. Each car will have a ticket price which entitles the user to one co-ordinates selection. When that selection is made, the details of the co-ordinates should be added to cart along with the ticket price.
It would need to check that the particular co-ordinates were not already in the cart.
What is the best way to approach this as it occurs to me that selecting the co-ordinates should be the 'add to cart' function? I'm not sure how to convert the selection on my sample page to work in this way.
Would appreciate any advice you could offer.
Thank you.
NJ