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
- This topic has 23 replies, 9 voices, and was last updated 11 years, 11 months ago by
rainbowmuisc.
-
AuthorPosts
-
April 6, 2012 at 4:11 am #31751
Artisantopia
MemberHow 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!!
April 6, 2012 at 5:56 am #31752admin
KeymasterThe link you created is correct.
April 6, 2012 at 7:37 am #31753Artisantopia
MemberThanks! Awesome support.
May 6, 2012 at 8:13 pm #31754MFC
MemberHaving 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!
May 7, 2012 at 3:27 am #31755admin
KeymasterA 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
December 12, 2013 at 11:46 pm #31756rainbowmuisc
MemberHi, 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
December 13, 2013 at 9:03 pm #31757rainbowmuisc
MemberI’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?
December 13, 2013 at 11:24 pm #31758admin
KeymasterHi, Discount coupons can’t be applied via an URL at the moment.
December 14, 2013 at 12:26 am #31759rainbowmuisc
MemberNo Problem, thanks for letting me know.
-
AuthorPosts
- You must be logged in to reply to this topic.