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

Append Coupon to Add to Cart Shortcode

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Append Coupon to Add to Cart Shortcode

  • This topic has 4 replies, 2 voices, and was last updated 10 years, 6 months ago by wzp.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • January 8, 2015 at 12:33 pm #12041
    arvz
    Member

    Hey guys, I looked around existing forum posts, and the documentation as well. I didn’t find any info about appending a specific coupon code to an add to cart shortcode? I’m not sure if that is even possible…

    For example, I want this add to cart button to specifically apply a discount coupon:

    [wp_eStore_add_to_cart id=1]

    Can I use something like:

    [wp_eStore_add_to_cart id=1 coupon=xyz]

    Please let me know if that’s possible.

    Thanks,

    Arvin

    January 8, 2015 at 12:51 pm #67870
    wzp
    Moderator

    No such thing. What specific effect are you trying to accomplish?

    January 8, 2015 at 1:44 pm #67871
    arvz
    Member

    Thanks for the quick reply!

    What I want to accomplish though is create 2 separate product listing page.

    > one will be regular priced

    > and the other one will be discounted, say 50% discount

    * Both listing offer the same products / uses the same product IDs, the only difference is the price, say I’m offering 10 products.

    For every new sign ups I want to offer a 24 hour 50% discount. After 24 hours the page will redirect to a page with a regular pricing.

    If we’re going to map the membership levels, it will go like this.

    New sign up = silver member = 24 hour 50% discount

    After 24 hours it will be upgraded to gold member = regular pricing

    If I’m going to use automatic discount coupon, both pages will be discounted I guess.

    Maybe I need to think of a different solution.

    Anyway, thanks for getting back to me! I’m close to launching my marketplace. Thanks to WP Estore :)

    Best Regards,

    Arvin

    January 8, 2015 at 2:04 pm #67872
    arvz
    Member

    Just to let you know, I figured something out..

    What I’m going to do now, is I’ll display the coupon code in the 50% discount page. Though the coupon code can be used to all products, gold members won’t see the code as they are blocked from viewing the discounted page… As a precaution, I’ll just change the coupon code once a week :)

    January 8, 2015 at 5:43 pm #67873
    wzp
    Moderator

    Alternatively, you could “clone” the discounted products, giving them a different price and Product ID. Then, only offer the discounted products on the protected page.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • 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