I currently have set up a query string that automatically adds a set amount of products to the users cart when they click a specific button. I already have everything set with with the FormKey() and this is working as expected.



I can also in an entirely different URL apply a specific promo code to the shopping cart



However, I am unable to do both at the same time. I would like to build one URL that adds specific products to the users cart and then applies the promotional code. I would expect this URL to work....

Does not work


But it does not. Is there any way to accomplish what I am looking for?


1 Answer 1


I know this is an old question, but for anyone who might come across this later, my free and open source discount code url module might help in this situation: https://github.com/crankycyclops/DiscountCodeUrl

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.