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

eStore – Creating products and discounts from external source

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eStore – Creating products and discounts from external source

  • This topic has 2 replies, 2 voices, and was last updated 10 years, 2 months ago by glondono.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • July 2, 2015 at 2:45 pm #12829
    glondono
    Member

    I have an internal system with classes (behave as products) and discounts that apply to each class. Also, each class have a donate button that needs to be tracked per class.

    Is clear that eStore do not provide an extenal API for this kind of integration but I’m looking two possible scenarios:

    1. Create a custom WP plugin that will query the external source and add the add to cart button for each class.

    2. Create a WP page that when call will query the external source and insert discounts and classes into the eStore own products and discount tables.

    Scenario 1 will be easy to build but discount and donation will require extending the plugin code itself to handle this specific situation.

    Scenario 2 will be a cleaner implementation (no code change) but I’m not sure if there is the functions needed in PHP to add products and discounts.

    I appreciate the help on this matter.

    Regards

    July 3, 2015 at 2:42 am #70674
    admin
    Keymaster

    Couldn’t you create an eStore product for each of your external products? Then you would just sell the eStore product (which corresponds to a class) from your site. This way you won’t need to have a complex system that needs to query the external system all the time.

    July 6, 2015 at 2:43 am #70675
    glondono
    Member

    Classes get created all the time and does also have limited duration, so we also need to remove classes that are already done. Definitely a manual process for this integration is out of the picture, we are talking about 100-200 classes in a year.

    Thanks for you help

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