- This topic has 23 replies, 9 voices, and was last updated 10 years, 11 months ago by .
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Calling "Add to Cart" externally (adding product via a URL)
Tagged: add to cart, affiliate, coupon, url
How do I use this link with a digital product variation?
I have an option to download a file in MP4 or AVI format set up as a digital product variation. Is it:
[www.my-domain.com/?wp_eStore_buy_now=1&variation4=AVI]
or what should the variation code be?
thanks!!
The link you created is correct.
Thanks! Awesome support.
Having trouble here; is the link not going to work on a page outside of the WordPress install? ie when using a landing page like Unbounce, and linking a button there using this code structure…it seems to send the user to a hanging page “you’ll be redirecting in 5 seconds, if you aren’t press “Buy Now” – which doesn’t work; actually worsens the hanging.
Thanks!
A WordPress plugin will not work outside of WordPress (it won’t work on standalone HTML pages).
Not sure why you are using standalone HTML page when you have WordPress installed on your site. You should use a custom WordPress page template instead. This might help you:
http://www.tipsandtricks-hq.com/how-to-create-a-custom-wordpress-page-template-video-tutorial-3918
Hi, Want to be able to expand on the add to cart with two other functions
so we start with [www.mydomain.com/?wp_eStore_add_to_cart=1]
to this I would like to add ap_id=affiliate
and then apply a discount voucher
Can I do all of this through a single URL
– Add to cart / apply affiliate Id / apply coupon
Please advise
I’ve figured out how to use a URL to apply affiliate ID and add to cart.
See [www.mydomain.com/?ap_id=aff&wp_eStore_add_to_cart=1]
Now just want to know if I can do the same/similar with a coupon ID so the URL will
– Apply Affiliate ID, Add Items to Cart, (and Apply Coupon)
Is this possible? I have wp estore to automatically redirect to checkout when product is added to cart, so this might complicate a little?
Hi, Discount coupons can’t be applied via an URL at the moment.
No Problem, thanks for letting me know.