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

Tracing ref_text from eStore_product_management.php

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Tracing ref_text from eStore_product_management.php

  • This topic has 2 replies, 2 voices, and was last updated 13 years, 5 months ago by reelstuff.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • November 25, 2011 at 4:54 pm #4861
    reelstuff
    Member

    I am tracing a product setting, through the script and need to see how this is handled, looking back starting at eStore_product_management.php

    line 725

    <input name=”ref_text” type=”text” id=”ref_text” value=”<?php echo $editingproduct->ref_text; ?>” size=”20″ />

    We have ref_text which is the membership level ID, (from the docs)

    is this the same as $subsc_ref; in the eStore_handle_subsc_ipn.php

    line 254

    $membership_level = $subsc_ref;

    What I need to do is to find out where this is handled in the script, from the point of sale to the point where the user management functions take place.

    For example, if you sell a product using the Estore plugin, and then you assign a membership level to that product, using the ref_text field in the form.

    How is that handled, in the back end, when a user is setup in the system to access that membership level, and how can I trace that through the entire script back to its

    form reference point.

    I could go through the code line by line, but I am hoping someone here has already done this and can perhaps same me some time here, thanks.

    Tim

    November 25, 2011 at 10:08 pm #38906
    admin
    Keymaster

    Your figured it out correctly. Basically search for the following line in the “eStore_handle_subsc_ipn.php” file and you will see two occurrences:

    $membership_level = $subsc_ref;

    November 26, 2011 at 9:38 pm #38907
    reelstuff
    Member

    Ok thank you I will see if I can find the rest of it, I am looking for how the system assigns that value to the db, so I can see how to make an adjustment I am thinking about.

  • 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