Hi!
I am setting up a reward program where people can click into our shopping cart and get a free product shipped. I set it up in the following way:
-
a batch of gift cards is generated, and is limited to a single SKU that we are giving away
-
our reward program sends traffic to the URL which automatically adds the giveaway SKU to the cart, like this:
http://store.mywebsite.com/?method=cart.addToCart&productSKU=MYSKU&Quantity=1 -
Now, I would also like to pass the gift card code in the same URL, to make it pre-filled for the end user.
Have anyone tried that before? Is it supported? If not via URL, then maybe via JavaScript API?
Many thanks in advance!