Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Calling "Add to Cart" externally (adding product via a URL)

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

  • This topic has 23 replies, 9 voices, and was last updated 11 years, 5 months ago by rainbowmuisc.
Viewing 9 posts - 16 through 24 (of 24 total)
← 1 2
  • Author
    Posts
  • April 6, 2012 at 4:11 am #31751
    Artisantopia
    Member

    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!!

    April 6, 2012 at 5:56 am #31752
    admin
    Keymaster

    The link you created is correct.

    April 6, 2012 at 7:37 am #31753
    Artisantopia
    Member

    Thanks! Awesome support.

    May 6, 2012 at 8:13 pm #31754
    MFC
    Member

    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!

    May 7, 2012 at 3:27 am #31755
    admin
    Keymaster

    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

    December 12, 2013 at 11:46 pm #31756
    rainbowmuisc
    Member

    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

    December 13, 2013 at 9:03 pm #31757
    rainbowmuisc
    Member

    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?

    December 13, 2013 at 11:24 pm #31758
    admin
    Keymaster

    Hi, Discount coupons can’t be applied via an URL at the moment.

    December 14, 2013 at 12:26 am #31759
    rainbowmuisc
    Member

    No Problem, thanks for letting me know.

  • Author
    Posts
Viewing 9 posts - 16 through 24 (of 24 total)
← 1 2
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ